[Bug 642296] New: lvremove fails sometimes
https://bugzilla.novell.com/show_bug.cgi?id=642296 https://bugzilla.novell.com/show_bug.cgi?id=642296#c0 Summary: lvremove fails sometimes Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aschnell@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- Sometimes lvremove fails with the error message that the logical volume is open. But the logical volume is not open before the call to lvremove (checked with dmsetup info). Maybe lvcreate triggers udev events that open the device. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c1
--- Comment #1 from Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c2
Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c3
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c4
--- Comment #4 from Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c5
--- Comment #5 from Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c6
cong meng
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c7
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c8
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c9
Tamás Németh
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c10
--- Comment #10 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c11
cong meng
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c12
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
cong meng
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c14
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c16
Ruediger Meier
Lagrange:~ # lvremove /dev/system/test2 Can't remove open logical volume "test2" Lagrange:~ #
[..] The problem seems to be a race, it does not happen always but in a quite
Some time ago I had the feeling that it depends on how you specify the LogicalVolumePath arg. AFAIR I never got this race again when I was really using the LogicalVolumePath system/test2 instead of path to device /dev/system/test2 Maybe there is some kind of lookup "get lvm path from the given device" which causes the device still being used when trying to remove it. But as I said this is just a feeling, don't know if this makes sense at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c17
--- Comment #17 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c18
Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c19
Stefan Schäfer
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c20
Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c21
--- Comment #21 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c22
dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c23
--- Comment #23 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c24
Bhasker Sadasivan
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c25
--- Comment #25 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c26
--- Comment #26 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c27
--- Comment #27 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c28
--- Comment #28 from Bhasker Sadasivan
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c29
--- Comment #29 from dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c30
--- Comment #30 from Bhasker Sadasivan
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c31
--- Comment #31 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c32
--- Comment #32 from dong mao zhang
Here is another script which has worked well for me on SLES11SP2.The combination of sleeps etc is based on trial and error, not science! I think this script could fix the lvremove problem.
@Bhaske,
Thanks for the update. But we are seeing addition issues, where in lot of stale entries are left behind. Our product just does this create lun, discover it
Is that another bug? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=642296
https://bugzilla.novell.com/show_bug.cgi?id=642296#c33
--- Comment #33 from Ruediger Meier
participants (1)
-
bugzilla_noreply@novell.com