lvcreate reports an error in $? when snapshot fails, but just retrying won't work since you'll need to remove the bad LV first because it is actually created.
However, you can check it out in your scripts by looking at lvdisplay flags for that LV (e.g. see the attachment included).
@Joe Kislo:
lvcreate reports an error in $? when snapshot fails, but just retrying won't work since you'll need to remove the bad LV first because it is actually created.
However, you can check it out in your scripts by looking at lvdisplay flags for that LV (e.g. see the attachment included).
HTH