Re: RAID5 degraded, removed the wrong hard disk frm the tray

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/06/18 21:55, Piero wrote:
so correct me if I am wrong:

1) I will start with a live distro (ages ago I have used rescatux to rescue a veeeery old Mandriva disk, but maybe a Debian will work the same)
2) apt-get install ddrescue (if not present)
3) ddrescue -v /dev/OLD_HARD_DISK /dev/NEW_HARD_DISK /somewhere/ddrescue.log
4) fsck.FILESYSTEM_TYPE /dev/NEW_HARD_DISK

NO CAN DO.

You need two disks from your raid-5 or you can't assemble it. If you can't assemble it you have no filesytem, sorry :-(

Oh - and even if you succeed in assembling your array, do NOT do a "fsck --fix" or whatever the syntax is. You do NOT want to write to the filesystem until you are confident it is all safely back - a check-only fsck should complete with no errors to speak of.

5) installing the new disk on the NAS and say a prayer

Cheers,
Wol
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux