PVcreate in extended logical partitions
Clyde E. Kunkel
clydekunkel7734 at cox.net
Fri Dec 9 14:28:20 UTC 2005
Markku Kolkka wrote:
> Darwin H. Webb kirjoitti viestissään (lähetysaika perjantai, 9.
> joulukuuta 2005 04:54):
>> So I would like someone to verify that the anaconda install
>> routine using the disk druid graphic partitioner can create
>> LVM items on the extended logical partitions
>
> Yes, it can do that. This is my partition layout, created in the
> Anaconda installer:
> fdisk -l /dev/sda
>
> Disk /dev/sda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 5222 41945683+ 7 HPFS/NTFS
> /dev/sda2 5223 5235 104422+ 83 Linux
> /dev/sda3 5236 8790 28555537+ 8e Linux LVM
> /dev/sda4 8791 19457 85682677+ 5 Extended
> /dev/sda5 8791 12345 28555506 8e Linux LVM
> /dev/sda6 12346 15901 28563538+ 8e Linux LVM
> /dev/sda7 15902 17118 9775521 83 Linux
>
Agreed. It can do it. However, system-config-lvm fails with:
# system-config-lvm
Traceback (most recent call last):
File "/usr/sbin/system-config-lvm", line 138, in ?
runFullGUI()
File "/usr/sbin/system-config-lvm", line 123, in runFullGUI
blvm = baselvm(glade_xml, app)
File "/usr/sbin/system-config-lvm", line 68, in __init__
self.lvmm = lvm_model()
File "/usr/share/system-config-lvm/lvm_model.py", line 142, in __init__
self.__block_device_model = BlockDeviceModel()
File "/usr/share/system-config-lvm/BlockDeviceModel.py", line 19, in
__init__
bd = BlockDevice(devname)
File "/usr/share/system-config-lvm/BlockDevice.py", line 41, in __init__
self.reload()
File "/usr/share/system-config-lvm/BlockDevice.py", line 62, in reload
self.addNoAlign(part.beg, part.end, part.id, part.bootable, part.num)
File "/usr/share/system-config-lvm/BlockDevice.py", line 200, in
addNoAlign
raise BlockDeviceErr_extended()
BlockDevice.BlockDeviceErr_extended:
<BlockDevice.BlockDeviceErr_extended instance at 0xb7bd81ec>
I am not a programmer, but I read this that the gui is not happy with
extended partitions.
--
Regards,
Old Fart
More information about the test
mailing list