On 25.10.2013 21:39, Per Jessen wrote:
I keep all logs for 5 years, where&what should I look for? This box was rebooted only about 3 weeks ago.
Well, I would first look for anything LVM (or device mapper) related in /var/log/messages and maybe in /var/log/boot.log. For example, I got this when the test snapshot I made became full: Oct 24 21:29:26 darkside.localnet lvm[1085]: Snapshot sys-home--snap is now 83% full. Oct 24 21:30:26 darkside.localnet lvm[1085]: Snapshot sys-home--snap is now 85% full. Oct 24 21:31:20 darkside.localnet kernel: device-mapper: snapshots: Invalidating snapshot: Unable to allocate exception. and after reboot: Oct 24 21:39:55 darkside.localnet kernel: device-mapper: snapshots: Snapshot is marked invalid. Oct 24 21:39:55 darkside.localnet lvm[1080]: Monitoring snapshot sys-home--snap Oct 24 21:39:55 darkside.localnet boot.lvm[1027]: 5 logical volume(s) in volume group "sys" now active Oct 24 21:39:55 darkside.localnet kernel: Buffer I/O error on device dm-17, logical block 10484720 Oct 24 21:39:55 darkside.localnet kernel: Buffer I/O error on device dm-17, logical block 10484720 Oct 24 21:39:55 darkside.localnet kernel: Buffer I/O error on device dm-17, logical block 10484734 In your case I would probably first check the log entries after the last reboot. If I couldn't find a reasonable explanation why the LV wasn't activated from those (e.g. timeout waiting for a device), I would start looking for entries before the reboot.
Those are sparse LVs, created like this:
lvcreate --virtualsize 1T --size 100M --name sparse vg1
Live and learn. It's been a while since I last read lvcreate man page. -- Martti -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org