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

[linux-lvm] More helpful error messages



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



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