PDA

View Full Version : Anaconda fails to deal with logical volumes



[Xap]Bob
19th August 2006, 06:47 PM
It might do fine when setting them up, but I've been tryiong to install (for a while) onto a set of disks which have previously been used in a logival volume.

Anaconda was failing as follows:

Traceback (most recent call last):
File "/usr/lib/anaconda/gui.py", line 1253, in handleRenderCallback
self.currentWindow.renderCallback()
File "/usr/lib/anaconda/iw/progress_gui.py", line 245, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 951, in nextClicked
self.dispatch.gotoNext()
File "/usr/lib/anaconda/dispatch.py", line 146, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/dispatch.py", line 217, in moveStep
rc = apply(func, self.bindArgs(args))
File "/usr/lib/anaconda/packages.py", line 151, in turnOnFilesystems
partitions.doMetaDeletes(diskset)
File "/usr/lib/anaconda/partitions.py", line 1283, in doMetaDeletes
lvm.lvremove(name, vg)
File "/usr/lib/anaconda/lvm.py", line 145, in lvremove
raise SystemError, "lvremove failed"
SystemError: lvremove failed

Local variables in innermost frame:
lvname: LogVol00
vgname: VolGroup00
args: ['lvm', 'lvremove', '-f', '/dev/VolGroup00/LogVol00']
dev: /dev/VolGroup00/LogVol00
rc: 1280



I got around it by skipping over to another termianl and fdisking the partition tables off the disks before anaconda looked to see if it could anythign there...

Might be a previously corrupted lvm, but I don't care - anaconda really ought to be able to splat a hard disk...

Bob

[Xap]Bob
19th August 2006, 07:32 PM
Managed to create lvm's now (I've installed with native partitions and then reinstalled with lvm to see what's going on and get a system I'm happy with (RAIDwise)).

Really no idea what's up with it, but hey.

Then on to put more LVM in with my data array.