On 08/21/2013 04:10 PM, Neil Bothwick wrote: > On Wed, 21 Aug 2013 10:40:32 -0400, Tanstaafl wrote: > >>>> update LVM2 >>>> kernel remains the same >>>> reboot >>>> initramfs finds all PVS and activates VG >>>> main system init >>>> /etc/init.d/lvm2 start >>>> error can't read from USB PVS >>>> login to system with missing PVS >>>> /etc/init.d/lvm2 restart >>>> all PVS listed >>>> reboot several times to verify it wasn't just a stuck service, >>>> exactly the same >>>> now ok but restarting a boot service manually required (!) >>> I updated the initramfs and rebooted and all problems went away > This sounds like a bug in LVM. If it was down to a version clash, why did > a restart find the PVs? well you can probably understand my confusion replugging usb devices and trying to pvscan // vgchange -ay --partial etc the errors i was getting are below. i genuinely thought with the missing device it was a hardware failure of the usb disk, and a restart of lvm was a last gasp chance; when it worked i realised the initram might need updating.
Aug 17 17:56:30 [kernel] Buffer I/O error on device dm-26, logical block 5242864 - Last output repeated twice - Aug 17 17:56:30 [kernel] Buffer I/O error on device dm-26, logical block 5242878 - Last output repeated twice - Aug 17 17:56:30 [kernel] Buffer I/O error on device dm-26, logical block 0 - Last output repeated twice - Aug 17 17:56:30 [kernel] Buffer I/O error on device dm-26, logical block 1 Aug 17 17:56:30 [kernel] Buffer I/O error on device dm-26, logical block 5242879 - Last output repeated 2 times - > >> And this is *precisely* what scares me about this. >> >> This simply should not be, period. Support for separate /usr without >> initramfs simply SHOULD NOT be dropped unless/until things like this >> (updating lvm) can *never* cause a system to fail to boot like this. > This is irrelevant to separate /usr. an initramfs is required if / is on > a VM, whether or not /usr is on the same LV. > > Perhaps though it highlights a need for a utility to identify if items on an initramfs have been updated ? in this case the problem was definitely between the keyboard and the chair, but it is easily overlooked (yeah just trying to make myself feel better) either way i'm already using initramfs anyway -- i pesonally roll out lvm on root on everything i can because of it's flexibility: so the whole argument of whether or not split /usr is not my argument. i'm just bringing things to light to make the overall process easier for everyone by highlighting potential issues folks may have.