Red Hat Bugzilla – Bug 186412
Anaconda crashes on zero size LVM members
Last modified: 2007-11-30 17:11:28 EST
Description of problem:
If you specify an LVM size of less than one extent (dumb, I know, but us users _are_ dumb),
anaconda quietly truncates this to zero size, accepts the partitioning, but then crashes (not
surprisingly) when it tries to creat the partitioning.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Select manual partitioning (or review automatic partitioning)
2. Use LVM
3. Create a member of size less than 1 extent
4. Complete installation
Anaconda crashes when it tries to create the logical volume
Anaconda warns of zero size LVM members (or better yet, rounds up for sizes less than 1 extent)
Heh, cute. I'm somewhat surprised this hasn't been hit before as I'm sure it's
been around since the LVM code was added long ago.
We'll make sure to fix this for FC6, probably just by giving you a "you can't
create a LV < extent size" dialog
I think this is one of the ways in which the bazaar social model fails in user support. Probably loads of
people have hit the problem, but been too embarrassed to report it - somehow, reporting your own dumb
mistake doesn't quite rate with fixing a bug deep in the kernel. Maybe, we need to find a way to celebrate
us dummies, mcuh as the 'xxx for dummies' series does.
Implemented Jeremy's suggestion that you not be allowed to create a logical
volume smaller than the extent size in Rawhide.