lolaferrari
asked on
Fsck on software raid
I have sun netra t1 with software raid 0+1 and I need to run fsck in single user mode. is it best to split the mirror before running this since the machine cannot boot off the two disks after reboot.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Yes exactly you can split up the mirror to run the fsck to be redundant... If you loss data you can bring back from another copy .
breaking a stripe will make the fsck impossible so this only applies to the mirrors
in my book, running fsck on the array is not unreasonable, will save lots of time, and actually be less risky because you won't have to wonder what will happen when you plug the second array member, who will become master and the likes. anyway if the fsck breaks the system, it is unlikely you will spend less time to recover than reinstall.
it is unlikely that an fsck will destroy any recoverable data. you definitively should check that you have not lost an important file or directory before bringing the system multiuser, though. if you do not have backups of your data, maybe a dd would be wise
but then depending on what the failure was caused by, the filesystem type...
in my book, running fsck on the array is not unreasonable, will save lots of time, and actually be less risky because you won't have to wonder what will happen when you plug the second array member, who will become master and the likes. anyway if the fsck breaks the system, it is unlikely you will spend less time to recover than reinstall.
it is unlikely that an fsck will destroy any recoverable data. you definitively should check that you have not lost an important file or directory before bringing the system multiuser, though. if you do not have backups of your data, maybe a dd would be wise
but then depending on what the failure was caused by, the filesystem type...