Bug 882524 - No no-LVM-partition impossible in LVM-mode.
Summary: No no-LVM-partition impossible in LVM-mode.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-01 16:48 UTC by Tapani Björg
Modified: 2012-12-15 19:04 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-15 12:16:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot showing that preexisting logical volume cannot be changed to standard partition (56.51 KB, image/png)
2012-12-03 19:58 UTC, Steve Tyler
no flags Details
It works now. (153.13 KB, image/png)
2012-12-15 12:19 UTC, Tapani Björg
no flags Details
screenshot showing Device Type menu in Manual Partitioning with F18-Beta Live CD (74.21 KB, image/png)
2012-12-15 18:12 UTC, Steve Tyler
no flags Details

Description Tapani Björg 2012-12-01 16:48:40 UTC
Description of problem:
If you try to create an non-LVM-partition and a LVM-pool with the new anaconda, you would not be successfully at all. It don't works in LVM-mode or "standard partition"-mode.  

Version-Release number of selected component (if applicable):
Anaconda 18.29.2, Fedora18 Beta

How reproducible:
Try to create a LVM-pool and a on-LVM-partition with the installer...
  
Actual results:
- In "standard partition"-mode you can't create an LVM-partiton
- In "LVM-Mode" is the option missing to create a on-LVM-partition

Expected results:
Selectable "Devise Type" in the "manual partitioning" dialogue. 


Additional info:
May remove the selection of the "partition scheme configuration" completely. Let the user do it's choice for each partition separately.

Comment 1 Chris Lumens 2012-12-01 21:23:46 UTC
When you select a mount point, you will see the details for it displayed on the right hand side of the manual partitioning screen.  Under the expander for the details, you will then see a "Partition Type" combo box (I think this is the wording - might be slightly different).  In that combo box, you can then decide to make something that was originally LVM be a regular partition, or RAID.  And you can do the opposite operation.

Have you tried using these widgets?  If it is not working for you, please attach /tmp/storage.log and /tmp/anaconda.log to this bug report so we can see what's going on.

Comment 2 Tapani Björg 2012-12-02 12:02:47 UTC
The box you call "combo box" stayed all the time grey. It's useless like this.

Yes It tried it all, but I did reboot more then once new while trying around with anaconda. 

Finally select the "standard partition"-mode. And did only create / on a normal partition. Then I installed F18 without LVM. After the installation I did the LVM setup without anaconda. 

But, if you like I can reproduce the problem again?

Comment 3 Steve Tyler 2012-12-03 06:13:39 UTC
Starting with an empty disk image in a VM, I was able to create the following and complete a minimal install to it:

$ cat lsblk-1.txt 
NAME                   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                      8:0    0   12G  0 disk 
├─sda1                   8:1    0  500M  0 part /boot
├─sda2                   8:2    0  3.4G  0 part 
│ ├─fedora-swap (dm-0) 253:0    0  500M  0 lvm  [SWAP]
│ └─fedora-root (dm-1) 253:1    0    3G  0 lvm  /
├─sda3                   8:3    0 1000M  0 part /home
├─sda4                   8:4    0    1K  0 part 
└─sda5                   8:5    0 1000M  0 part /spare1
sr0                     11:0    1  4.2G  0 rom  

Procedure:
Use auto-create to create "/boot", "/", "swap".
Remove "/" and "swap".
Add new partitions and logical volumes.
NB: I was careful to click Apply Changes after each change.

I did not change the "Partition scheme configuration" from the default LVM and used the "Customize..." combo box in Manual Installation to select the Device Type.

Tested with:
$ qemu-img create f18-test-2.img 12G
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/Final/Fedora-18-Beta-x86_64-DVD.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 4 David Lehman 2012-12-03 17:53:38 UTC
(In reply to comment #3)
> NB: I was careful to click Apply Changes after each change.

This is not necessary. Changes are saved automatically when selecting a different device, creating or removing a device, or leaving the custom partitioning screen via the "Finish Partitioning" button.

Comment 5 Steve Tyler 2012-12-03 19:58:20 UTC
Created attachment 656960 [details]
screenshot showing that preexisting logical volume cannot be changed to standard partition

Tapani: Were you attempting to reuse an existing logical volume?

Although the the GUI does not make it entirely clear, the ext4 file system in this screenshot is on a logical volume. Even though it is marked for reformatting, the logical volume cannot be changed to a standard partition.

NB: The partitions and logical volumes were auto-created on a 12 GB disk image. The GUI does not allow the Boot partition to be displayed simultaneously with the other devices, but there is one listed under the Fedora Linux 18 expander.

Comment 6 Tapani Björg 2012-12-03 20:34:12 UTC
(In reply to comment #5)
> Created attachment 656960 [details]
> screenshot showing that preexisting logical volume cannot be changed to
> standard partition
> 
> Tapani: Were you attempting to reuse an existing logical volume?
> 
> Although the the GUI does not make it entirely clear, the ext4 file system
> in this screenshot is on a logical volume. Even though it is marked for
> reformatting, the logical volume cannot be changed to a standard partition.
> 
> NB: The partitions and  were auto-created on a 12 GB disk
> image. The GUI does not allow the Boot partition to be displayed
> simultaneously with the other devices, but there is one listed under the
> Fedora Linux 18 expander.

No, I did not reuse an existing partition.
No, it was no logical volume.

Comment 7 Steve Tyler 2012-12-03 20:55:52 UTC
OK. I am not sure how to reproduce this then ...

Comment 8 Tapani Björg 2012-12-03 21:06:51 UTC
(In reply to comment #7)
> OK. I am not sure how to reproduce this then ...

OK, I gonna to reproduce it next weekend.

Comment 9 Tapani Björg 2012-12-15 12:16:11 UTC
I can create a standard partition now. It works now. I've got no idea, why it did not work last time.

Comment 10 Tapani Björg 2012-12-15 12:19:00 UTC
Created attachment 663977 [details]
It works now.

No idea, why it didn't works last time.

Comment 11 Steve Tyler 2012-12-15 18:12:03 UTC
Created attachment 664087 [details]
screenshot showing Device Type menu in Manual Partitioning with F18-Beta Live CD

Thanks for retesting. Your screenshot shows some differences in the GUI elements:
The expander is a down-arrow instead of a "-" sign.
The menu is displayed below the Device Type box instead of on top of it.
How are you running the installer?

Tested with:
$ qemu-kvm -m 2048 -hda f18-test-1.img -cdrom ~/xfr/fedora/F18/F18-Beta/Final/Fedora-18-Beta-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 12 Tapani Björg 2012-12-15 19:04:00 UTC
Comment on attachment 663977 [details]
It works now.

Fedora 18 Beta, KDE-Live-CD


Note You need to log in before you can comment on or make changes to this bug.