lvm2: state is not persisted to disk if a snapshot becomes invalid immediately before reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello List,

I use a old version LVM2 2.02.98 on kernel 3.0.101, I encountered such a problem.
The detailed steps are as below,
I am doing an update with the following strategy for updates

make LVM Snapshot of root ("/")  file system partition

Run zypper updates ->

Run a script to check certain stuff is OK ->

On failure of that script (if any of the check fail, e.g one rpm update failed), merge LVM -> 

Reboot (because you have to for an LVM merge if it's the root volume)

And then, sometimes as the system comes back up, Reiserfs sometimes goes read-only / corrupt.

which shows in the dmesg as

[   29.794593] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
[   30.412919] MCE: In-kernel MCE decoding enabled.
[   35.729081] eth0: no IPv6 routers present
[   35.805434] REISERFS error (device dm-1): PAP-5660 reiserfs_do_truncate: wrong result -1 of search for [99955 99957 0xfffffffffffffff DIRECT]
[   35.805445] REISERFS (device dm-1): Remounting filesystem read-only
[397338.410475] show_signal_msg: 21 callbacks suppressed
[397338.410484] esmd[1687]: segfault at 46 ip 00000000f7582f15 sp 00000000ff9b7c70 error 4 in libc-2.11.3.so[f7543000+16c000]


Did you meet this problem? this problem was fixed in the latest version?

Thanks a lot.
Gang



_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux