Bug 606307

Summary: can't create LVM partition
Product: [Fedora] Fedora Reporter: Marcela Mašláňová <mmaslano>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-08 22:38:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcela Mašláňová 2010-06-21 11:54:03 UTC
Description of problem:
I have three ntfs partition on my ATA disc. The 4th partition is clean without file system. I created /boot partition with default size. After that I tried the rest use as LVM. Physical volume was created fine, but volume group wasn't created at all, because there "wasn't enough space". This wasn't true. I tried different size, maximum size, but everytime it was the same message.

I suppose one of possible scenario happened:
* I didn't create swap before
* 4 primary partitions were already created
(* anaconda can't handle LVM well)

The first two should have different error message. 

The rest of installation went fine, after I omit LVM and create "normal" ext3 file system partition.

Version-Release number of selected component (if applicable):
anaconda-13.42-1.fc13

How reproducible:
On flash disc create boot minimal installation by standard procedure documented
on fedoraproject documentation.

Steps to Reproduce:
1. Have three partitions on your disc (on my laptop ntfs, but not needed)
2. Create /boot
3. Try to create LVM - Physical volume and then Logical volume
  
Actual results:
"Not enough space" when you try create LVM.

Expected results:
Be able create LVM partition on disc with few other partitions.

Additional info:

Comment 1 Chris Lumens 2010-06-21 13:40:31 UTC
Please attach /tmp/storage.log to this bug report.

Comment 2 Marcela Mašláňová 2010-06-21 13:55:40 UTC
(In reply to comment #1)
> Please attach /tmp/storage.log to this bug report.    

Where do I get this? The installation wasn't successful, so no storage was created. After lot of other attempts was installed system without LVM. I found a lot of files from anaconda in /var/log. Nothing else.

Comment 3 Chris Lumens 2010-06-21 20:39:10 UTC
Attempt the install, when you hit the "Not enough space" dialog, switch to tty2, and grab /tmp/storage.log.

Comment 4 Marcela Mašláňová 2010-07-08 10:33:17 UTC
Now I have on netbook one ext3 partition, boot on ext3 and 3 ntfs partitions. If I run anaconda the same anaconda from the same usb key again, then the previous behaviour can't be reproduced. LVM is created. Could it be possible that it doesn't like ntfs on disc or existing ext2,3,4 is requirement for LVM partition?

Comment 5 David Lehman 2010-07-08 22:38:00 UTC
(In reply to comment #4)
> Now I have on netbook one ext3 partition, boot on ext3 and 3 ntfs partitions.
> If I run anaconda the same anaconda from the same usb key again, then the
> previous behaviour can't be reproduced. LVM is created. Could it be possible
> that it doesn't like ntfs on disc or existing ext2,3,4 is requirement for LVM
> partition?    

It's very unlikely the failure had anything to do with ntfs and there is no interdependency between ext[234] and LVM physical volume partitions.

If you encounter this failure again, please collect the log as described in comment 3 and reopen this bug report. Thanks.