More helpful error messages

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

 



Hi List,

Just to provide some friendly critique for LVM, I wanted to tell you
that I just spent a couple of hours trying to find out why I got the
message "create ioctl failed: No such device or address" when activating
a volume group after the first reboot after I had created a couple of
new LVs in another VG.

After browsing through the kernel sources, it seems the VG that I had
modified got activated first by vgchange, and the new LVs came to occupy
the persistent minors that I had allocated in the failing VG, which was
the cause for its failure to activate.

I was able to reallocate those LVs without too much trouble, so the
problem was solved, but it would certainly have helped if the error
message was more helpful. After having read the source, I do understand
that it seems hard to propagate the exact cause from the kernel to
userspace, but it should be reasonable to print something to the dmesg,
at least.

In all else, thanks for makgin LVM!

Fredrik Tolf


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
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