Current-Users archive

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

5.99.42/sparc64 - lvm2: error while lvcreate



Hi...

When a logical volume is created using lvm2 from today (there's been a
fix last night) like

$ lvm lvcreate -n bar -L 4M foo

the error following error occurs:

 /dev/mapper/rfoo-bar: chown failed: No such file or directory


After the 'Logical volume created' message, there is only the raw
rfoo-bar in /dev/mapper and the device for-bar has not created.

Imho, the following solves the issue (at least, it did for me ;-) )



regards         
 Martin





Index: dist/libdm/libdm-common.c
===================================================================
RCS file: /cvsroot/src/external/gpl2/lvm2/dist/libdm/libdm-common.c,v
retrieving revision 1.6
diff -r1.6 libdm-common.c
460c460
<       if (chown(path, uid, gid) < 0) {
---
>       if (chown(rpath, uid, gid) < 0) {




Home | Main Index | Thread Index | Old Index