Yast partitioning error -4017

Trying to install OpenSUSE on an HP ML115 with an SmartArray E200 controller. Get to the partitioning screen, select LVM and carry on, when “preparing disks” I get error -4017

“Failure occurred during the following operation:
Creating volume group system from /dev/cciss/c0d0p2”

Google the error and found a similar fault which was fixed back in OpenSUSE 10.2!

Any ideas/work arounds? The only one I have involves partitioning the disk with Ubuntu and then installing OpenSUSE on top of that!

cheers
Paul

We would need to see

fdisk -l

How do I get that? I abort the installer and get to the “Expert Setting” shell none of the usual commands seem to work - not even grep!

Paul

Boot a live cd to the desktop (you mention ubuntu) use that if you have it

Open a terminal and do

sudo fdisk -l

Paste it here in code wrap

Output from fdisk as requested…

root@ubuntu:/home/ubuntu# fdisk -l

Disk /dev/cciss/c0d0: 500.1 GB, 500051402752 bytes
255 heads, 63 sectors/track, 60794 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00093817

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1               1           9       72261   83  Linux
/dev/cciss/c0d0p2              10        1966    15719602+  8e  Linux LVM
root@ubuntu:/home/ubuntu# 

That do? I’ve also got this from vgs

root@ubuntu:/home/ubuntu# vgs
  VG     #PV #LV #SN Attr   VSize  VFree 
  system   1   0   0 wz--n- 14.99G 14.99G
root@ubuntu:/home/ubuntu# 

But lvs lists nothing.

So looks like the partitions were created and the volume group, but not logical volumes

Paul

Paul,

I don’t really understand this form of setup. It would be better to wait for someone that does. I only use regular disk partitioning myself.:slight_smile:

OK - no probs

Do you have a real reason to use LVM? Or is it just because you want to? I suggest you use standard partitioning unless you have a good technical reason to need LVM.

Apart from the remark of gogalthorp (I also see no special reason to use LVM at one single disk), as the VG seems to be there and you seems at least to kknow something about the CLI commands for LVM, can’t you just create the LVs from the CLI. (I found that even on HP-UX I was better at using thee CLI instead of the GUI tool).

Using LVM as want to use snapshots to backup Virtual Machines.

Can’t use LVM commands as although they use on the tty console they don’t execute - only /lbin commands work - what gives here?

Paul

Did you install from a CD or a DVD?

Also I don’t see a swap. I assume that the Linux partition is for boot??

You might try setting up and the partitions with gparted then install to those.

In the default LVM partitioning scheme SWAP gets created as an LVM volume.

Yes I could use gparted, or ubuntu or anything else to create the LVM setup, but it would be nice if this worked as intended. It looks the same as this error

[Bug 231221] New: LVM Volume Creation on NVIDIA RAID failed with error c](http://lists.opensuse.org/opensuse-bugs/2007-01/msg00034.html)

Which is ancient, and was fixed. Should I just report it as a bug?

Paul

From what I’ve read I don’t see the need for LVM on a single disk either. There are many ways to create backup snapshots of VM’s.
Then again, I’m one of those “regular partitioners” as well.

Try it with a separate non LVM swap partition. Also may want to move /boot out of the LVM also.

Right made progress, but not pretty. Boot installer into text mode. Then can switch to a console screen which works (this didn’t work for me with the graphical installer gui). Then create partitioning arrangement I wanted with fdisk/lvm commands. Then return to the installer, map the mount points/format the partitions as required and all is dandy.

Also noted that using the text mode installer seems to be quicker - perhaps because was using keyboard over the mouse?

Thanks for all the hints and tips

Paul