lvcreate exit code 5?

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

 



Hello folks,
   I have a script which issues an lvcreate to create a snapshot.  The
command returns with an exit code 5.  The snapshot works, and seems to
be fine otherwise, but what is the exitcode trying to tell me?  I found
documentation saying, "error getting status of logical volume" is the
cause, but what does the really mean in this context?
Here is the actual command being issued by the script:

/usr/sbin/lvcreate -L 5G --snapshot -n /dev/USRAPPS/snap03
 /dev/USRAPPS/db03

   Any suggestions?  I don't like to ignore non-zero exit codes.
Yes, the source volume is mounted and active.  

-- 
Bill Ranck
Blacksburg, Va.
540-231-3951

_______________________________________________
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