Re: vgs result code error

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

 



> 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

_______________________________________________
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