Rimozione Raid1 per errore
Inviato: 26/03/2013, 9:13
Ciao a tutti, ho commesso un errore e spero di riuscire a tornare indietro.
Ho un Qnap TS-410 con 2 hdd da 3Tb, purtroppo per una mio errore ho rimosso il Raid1.
quindi mi ritrovo con 2 dischi non montati. (non ho ovviamente reinizializzato quindi i dati sono presenti)
C'e' qualcuno che potrebbe aiutarmi per ripristinare il raid1 mantenendo i dati
ma non sono sicuro, c'e' qualcuno che può gentilmente darmi un consiglio per operare al meglio?
PS: mi sto mangiando le mani!!!
Grazie mille a tutti
sul supporto ho trovato questo: http://qnapsupport.net/?page_id=1336
VII – User Remove the RAID Volume
# more /proc/mdstat
**Check if the RAID is really removed
# mdadm -E /dev/sda3
** Check if the MD superblock is really removed
# mdadm -CfR –assume-clean /dev/md0 -l 5 -n 3 /dev/sda3 /dev/sdb3 /dev/sdc3
**Create the RAID, assume it is 3 HDDs raid-5
# e2fsck -y /dev/md0
**check file system, Assume “yes” to all questions. If 64-bit, e2fsck_64
# mount /dev/md0 /share/MD0_DATA -t ext4
** mount the RAID back
# vi raidtab
** manually create the raid table
# reboot
** Need to add the removed network share(s) back after reboot
Ho un Qnap TS-410 con 2 hdd da 3Tb, purtroppo per una mio errore ho rimosso il Raid1.
quindi mi ritrovo con 2 dischi non montati. (non ho ovviamente reinizializzato quindi i dati sono presenti)
C'e' qualcuno che potrebbe aiutarmi per ripristinare il raid1 mantenendo i dati
ma non sono sicuro, c'e' qualcuno che può gentilmente darmi un consiglio per operare al meglio?
PS: mi sto mangiando le mani!!!
Grazie mille a tutti
sul supporto ho trovato questo: http://qnapsupport.net/?page_id=1336
VII – User Remove the RAID Volume
# more /proc/mdstat
**Check if the RAID is really removed
# mdadm -E /dev/sda3
** Check if the MD superblock is really removed
# mdadm -CfR –assume-clean /dev/md0 -l 5 -n 3 /dev/sda3 /dev/sdb3 /dev/sdc3
**Create the RAID, assume it is 3 HDDs raid-5
# e2fsck -y /dev/md0
**check file system, Assume “yes” to all questions. If 64-bit, e2fsck_64
# mount /dev/md0 /share/MD0_DATA -t ext4
** mount the RAID back
# vi raidtab
** manually create the raid table
# reboot
** Need to add the removed network share(s) back after reboot