Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

*URGENT* Help needed zfs(ddrescue)

Featured Replies

Hi, I have a ZFS stripe setup. I know, right—stupid! I completely forgot that I striped it, and earlier I encountered an issue.

57dgydnpjlff1.png

Unfortunately, I admit I made a mistake. It contains the only copy of some important memories from my child , birth, birthdays, and significant life milestones. I know, again, I’m stupid. I forgot I striped it because I’ve been busy with life.

ewociff4klff1.png

As a father and a fellow data enthusiast, I’m pleading for any hope or guidance on how to remedy this situation. I feel like I’ve lost a part of myself and my son. Any assistance would be deeply appreciated. If repair is possible, I am more than willing to pay.

7rgkbz7jklff1.png

I’m desperate—VERY desperate. Even if there’s a risk, I would cherish any data I can recover. I hope you can help, as I’m feeling lost, broken, and truly down right now.

Tried ChatGPT and tried all his version of -F(Force Command) nothing seems to work :(

Edited by adamgwaps

Solved by JorgeB

  • Community Expert
  • Solution

Try cloning the disk with ddrescue, then try importing the pool with the spare; disconnect the bad disk first, if it still doesn't import, post the output from zpool import

  • 2 months later...
  • Author
On 7/28/2025 at 7:54 PM, JorgeB said:

Try cloning the disk with ddrescue, then try importing the pool with the spare; disconnect the bad disk first, if it still doesn't import, post the output from zpool import

Hi my replacement drive just arrived, again i am sorry i am not that techie and i am already afraid i might damage some important data what is the best command i can run using this ddrescue? any help will be appreciated Thanks!

  • Community Expert

See the link above, if you don't know the device identifiers to use post the diagnostics and let us know which disks are the bad one and new one.

  • 3 weeks later...
  • Author
On 10/19/2025 at 5:13 PM, JorgeB said:

See the link above, if you don't know the device identifiers to use post the diagnostics and let us know which disks are the bad one and new one.


Hi @JorgeB sorry for the late reply i just placed the replacement drive and just started the ddrescue using the command ddrescue -f /dev/sdd /dev/sds /boot/ddrescue.log im now halfway and i just remembered the destination drive is a brand new disk and remains unformatted, will ddrescue take care of it? or should i restart?, My existing file system is ZFS will i be able to just import it after? or do i need to format it first before running ddrescue? Thanks!

Edited by adamgwaps

  • Community Expert

You don't need to format, the clone will include the original filesystem.

6 minutes ago, adamgwaps said:

My existing file system is ZFS will i be able to just import it after?

It may depend on what ddrescue can salvage from the bad disk. Once the clone is done, disconnect the old disk, leave only the clone and the other pool member connected, and post the output from zpool import

  • Author
29 minutes ago, JorgeB said:

You don't need to format, the clone will include the original filesystem.

It may depend on what ddrescue can salvage from the bad disk. Once the clone is done, disconnect the old disk, leave only the clone and the other pool member connected, and post the output from zpool import

Ah now i can wait in peace. Sure, i will get back to you when i have the results this is a 20tb and i guess it will take some time and thanks for the fast reply appreciate it!

Edited by adamgwaps

  • Community Expert

Sounds good, also grab a screenshot from ddrescue when it finishes and post that to show how much it recovered.

  • Author
19 hours ago, JorgeB said:

Sounds good, also grab a screenshot from ddrescue when it finishes and post that to show how much it recovered.


Hi @JorgeB Did it fail or is this normal? omg what happened?

iKVM_capture.jpg

  • Community Expert

Looks like the disk drop offline, reboot/power cycle the server and try again. Check the sdX names, since they can change, then use the same log file (/boot/ddrescue.log) and it will resume.

  • Author
16 minutes ago, JorgeB said:

Looks like the disk drop offline, reboot/power cycle the server and try again. Check the sdX names, since they can change, then use the same log file (/boot/ddrescue.log) and it will resume.

Got it i read online that i should use -D if i encounter this error should i or should i proceed with your recommended command? Thanks again for the fast reply @JorgeB

  • Community Expert

I would try again using the same command.

  • Author
1 hour ago, JorgeB said:

I would try again using the same command.

Hi again @JorgeB i did and it resume to this is this correct? or should i start over? is this is normal?

iKVM_capture (1).jpg

Edited by adamgwaps

  • Community Expert
17 minutes ago, adamgwaps said:

i did and it resume to this is this correct?

2 hours ago, JorgeB said:

then use the same log file (/boot/ddrescue.log) and it will resume.

  • Author
2 minutes ago, JorgeB said:
  20 minutes ago, adamgwaps said:

i did and it resume to this is this correct?

  2 hours ago, JorgeB said:

then use the same log file (/boot/ddrescue.log) and it will resume.

@JorgeB I meant i think while running ddrescue the disk identifier changed and it my have copied from another drive thus tainting the data and now that i reboot and it returned it may resume but the data cloned may be from another drive when the id changed and it resumed now to the correct drive thus the rescue data may not be reliable anymore(sorry if i cant explain it clearly)

  • Community Expert
58 minutes ago, adamgwaps said:

I meant i think while running ddrescue the disk identifier changed

I did say

3 hours ago, JorgeB said:

Check the sdX names, since they can change

If the names changed, it's best to start over.

  • Author
1 minute ago, JorgeB said:

I did say

If the names changed, it's best to start over.

@JorgeB asside from changing the ddrescue log file location is there anything else i should do?, do i need to format the destination drive or can i just start over just change the log file directory?

  • Community Expert

If you change the log file name, it will start over; no need to do anything else.

  • Author
Just now, JorgeB said:

If you change the log file name, it will start over; no need to do anything else.

@JorgeB Perfect! I will redo it now then again i will update this thread if anything happens and again thanks for the fast reply!

  • Author

Hi @JorgeB it did it again i think the drive is the culprit it seems it reset by itself i think it is safe to resume now.(Just an Update)

iKVM_capture (2).jpg

iKVM_capture (3).jpg

Edited by adamgwaps

  • Community Expert

Yep, just try resuming.

  • Author

Hi @JorgeB it restarted again and changed drive letter and again i resumed. (Just another Update)

iKVM_capture (4).jpg

I'm keeping my fingers crossed for you @adamgwaps .

How big is your disk, 20 TB?

  • Author
4 hours ago, googleg said:

I'm keeping my fingers crossed for you @adamgwaps .

How big is your disk, 20 TB?

Yup here is the smart of the failed drive.

HDD SMART.jpg

  • Author

Just another update

iKVM_capture (5).jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.