Drive failure
One of the drives in my volume group is developing bad sectors on it. When I mount the logical volume spanning that drive my entire machine locks up. Should I be able to dd (without reading the bad sectors) the failing drive (assuming it spins up and reads all the good sectors) to the replacement drive, then run fsck on the unmounted volume and then mount the volume with minimal data loss?
The other option I can think of is remove that drive from the volume and then remount it, but that would mean a loss of everything that is one the failing drive, plus I am not sure how reiserfs works with large chunks of its file system removed like that.
thanks
bjz
Quoted 6 lines · B. J. Zolp
One of the drives in my volume group is developing bad sectors on it. When I mount the logical volume spanning that drive my entire machine locks up. Should I be able to dd (without reading the bad sectors) the failing drive (assuming it spins up and reads all the good sectors) to the replacement drive, then run fsck on the unmounted volume and then mount the volume with minimal data loss?
I guess, this should work ... but make sure, that you do the copy operation on another system, otherwise the LVM stuff could/will be irritated by two diffent disks with the same signature (after copying over)
Quoted 4 lines
The other option I can think of is remove that drive from the volume and then remount it, but that would mean a loss of everything that is one the failing drive, plus I am not sure how reiserfs works with large chunks of its file system removed like that.
I wouldn't do that, neither with reiserfs nor with any other unix filesystem ... only as last escape if you disk is completely unreadable ...
anyway, if possible make a copy of ALL disks involved before you do any fscking so you can go back and try any other approach ...
best,
Herbert
Quoted 9 lines
thanks
bjz
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 8 lines · Herbert Poetzl
Quoted 6 lines · B. J. Zolp
One of the drives in my volume group is developing bad sectors on it. When I mount the logical volume spanning that drive my entire machine locks up. Should I be able to dd (without reading the bad sectors) the failing drive (assuming it spins up and reads all the good sectors) to the replacement drive, then run fsck on the unmounted volume and then mount the volume with minimal data loss?
Quoted 5 lines
I guess, this should work ... but make sure, that you do the copy operation on another system, otherwise the LVM stuff could/will be irritated by two diffent disks with the same signature (after copying over)
What if the LVM is down? Then when the copy is complete I replace the bad drive with the replacement and bring the LVM back up. That seems like it should work.
Quoted 31 lines
Quoted 4 lines
The other option I can think of is remove that drive from the volume and then remount it, but that would mean a loss of everything that is one the failing drive, plus I am not sure how reiserfs works with large chunks of its file system removed like that.
I wouldn't do that, neither with reiserfs nor with any other unix filesystem ... only as last escape if you disk is completely unreadable ...
anyway, if possible make a copy of ALL disks involved before you do any fscking so you can go back and try any other approach ...
best,
HerbertQuoted 9 lines
thanks
bjz
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 15 lines · B. J. Zolp
Quoted 8 lines · Herbert Poetzl
Quoted 6 lines · B. J. Zolp
One of the drives in my volume group is developing bad sectors on it. When I mount the logical volume spanning that drive my entire machine locks up. Should I be able to dd (without reading the bad sectors) the failing drive (assuming it spins up and reads all the good sectors) to the replacement drive, then run fsck on the unmounted volume and then mount the volume with minimal data loss?
Quoted 5 lines
I guess, this should work ... but make sure, that you do the copy operation on another system, otherwise the LVM stuff could/will be irritated by two diffent disks with the same signature (after copying over)
Quoted 3 lines
What if the LVM is down? Then when the copy is complete I replace the bad drive with the replacement and bring the LVM back up. That seems like it should work.
just make sure that the kernel or any start script scans for vgs or recreates lvmtab or makes any updates and/or changes to the pvs ...
given that, it should work ...
Quoted 38 lines
Quoted 26 lines
Quoted 4 lines
The other option I can think of is remove that drive from the volume and then remount it, but that would mean a loss of everything that is one the failing drive, plus I am not sure how reiserfs works with large chunks of its file system removed like that.
I wouldn't do that, neither with reiserfs nor with any other unix filesystem ... only as last escape if you disk is completely unreadable ...
anyway, if possible make a copy of ALL disks involved before you do any fscking so you can go back and try any other approach ...
best,
HerbertQuoted 9 lines
thanks
bjz
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/