"NeilBrown" <neilb@xxxxxxx> writes: > On Thu, May 21, 2009 1:07 pm, Tim Connors wrote: >> Is it possible to force both lvm and md to give up on the device so I can >> readd them without rebooting (since they're not going to be anymore >> corrupt yet than you'd expect from an unclean shutdown, because there's >> been no IO to them yet, so I should just be able to readd them, mount and >> resync)? > > For the md side, you can just assemble the drives into an array with > a different name. > e.g. > mdadm -A /dev/md1 /dev/sda1 /dev/sd.... > > using whatever new names were given to the devices when you plugged them > back in. > Maybe you can do a similar thing with the LVM side, but I know nothing > about that. > > NeilBrown On the device mapper side (the thing below lvm) you can use dmsetup to suspend, alter and resume the device mapper table of your devices. That should make the actual filesysems happy again. Not sure what LVM tools will make of that though. MfG Goswin -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel