junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

Failed `zumastor define volume` leaves a mess if it fails #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. zumastor define volume foo /dev/sda /dev/sdb -k 100G
2. Observe failure, telling you to try harder next time
3. Try harder. Notice the volume is already defined.

What is the expected output? What do you see instead?
Expect second try to work. The second try really looks like:
zumastor define volume foo /dev/sda /dev/sdb -k 100M
$? = 1 [volume already 'defined']
zumastor forget volume foo
$? = 0
zumastor define volume foo /dev/sda /dev/sdb -k 100M
$? = 0

Original issue reported on code.google.com by williama...@gmail.com on 12 Jun 2008 at 4:22