[linux-lvm] vgs result code error
Masanari Iida
standby24x7 at gmail.com
Tue Jul 21 11:49:39 UTC 2009
> Is it because of the multi-level device name, and the parser getting confused?
Maybe, multi-level device file name canfuse vgs.
See my test.
# ls -l /dev/cciss/c0d3p3
brw-r----- 1 root disk 104, 51 Jul 22 05:21 c0d3p3
# mknod /dev/c0d3p3 b 104 51
# ls -l /dev/c0d3p3
brw-r--r-- 1 root root 104, 51 Jul 22 05:43 /dev/c0d3p3
# vgs /dev/c0d3p3
Volume group "c0d3p3" not found
# echo $?
5
Regards,
Masanari Iida
More information about the linux-lvm
mailing list