* [linux-lvm] lvcreate exit code 5?
@ 2006-02-27 18:05 Bill Ranck
0 siblings, 0 replies; only message in thread
From: Bill Ranck @ 2006-02-27 18:05 UTC (permalink / raw)
To: LVM discussion list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-27 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-27 18:05 [linux-lvm] lvcreate exit code 5? Bill Ranck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).