I installed Suse 9.2 pro on dual P4 system. My problem is LVM. The has two SCSI-Disk with 280GB, I made swap and system on the first disk and made a partition of type 0x8E Linux LVM as /dev/sda3 (250GB). I made a group, joined the partition, mounted the LVM group to a directory and it works fine. On the second disk I have only one partition of the LVM type /dev/sdb1 (280GB) and joined it to the LVM group. It shows now 250GB used and 280GB free. When I set the size of the group to max (530GB) I get this error: lvextend -l 135348 /dev/hmiLVM/hmilvm logical volumes cannot contain more than 65534 extents. Extending logical volume hmilvm to 528.70 GB Why can LVM contain only 65534 extents? Its sounds like 16bit adressing. Do I anything wrong? I did all with yast2. The software installer of yast2 says that only LVM2 is installed. Thanx, N. Eschricht
On Mon, Mar 07, 2005 at 03:06:47PM +0100, Nico Eschricht wrote:
I installed Suse 9.2 pro on dual P4 system. My problem is LVM. The has two SCSI-Disk with 280GB, I made swap and system on the first disk and made a partition of type 0x8E Linux LVM as /dev/sda3 (250GB). I made a group, joined the partition, mounted the LVM group to a directory and it works fine. On the second disk I have only one partition of the LVM type /dev/sdb1 (280GB) and joined it to the LVM group. It shows now 250GB used and 280GB free. When I set the size of the group to max (530GB) I get this error:
lvextend -l 135348 /dev/hmiLVM/hmilvm logical volumes cannot contain more than 65534 extents. Extending logical volume hmilvm to 528.70 GB
Why can LVM contain only 65534 extents? Its sounds like 16bit adressing. Do I anything wrong? I did all with yast2. The software installer of yast2 says that only LVM2 is installed.
Did you create the volume group with lvm1? Only lvm1-style volume groups have this limit. If you create your volume group with lvm2 this should not happen. Maybe YaST does force lvm1-style volume groups, I don't know. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
Robert Schiele wrote:
On Mon, Mar 07, 2005 at 03:06:47PM +0100, Nico Eschricht wrote:
I installed Suse 9.2 pro on dual P4 system. My problem is LVM. The has two SCSI-Disk with 280GB, I made swap and system on the first disk and made a partition of type 0x8E Linux LVM as /dev/sda3 (250GB). I made a group, joined the partition, mounted the LVM group to a directory and it works fine. On the second disk I have only one partition of the LVM type /dev/sdb1 (280GB) and joined it to the LVM group. It shows now 250GB used and 280GB free. When I set the size of the group to max (530GB) I get this error:
lvextend -l 135348 /dev/hmiLVM/hmilvm logical volumes cannot contain more than 65534 extents. Extending logical volume hmilvm to 528.70 GB
Why can LVM contain only 65534 extents? Its sounds like 16bit adressing. Do I anything wrong? I did all with yast2. The software installer of yast2 says that only LVM2 is installed.
Did you create the volume group with lvm1? Only lvm1-style volume groups have this limit. If you create your volume group with lvm2 this should not happen. Maybe YaST does force lvm1-style volume groups, I don't know.
Robert
I think it solves the problem. I think I configured the first disk under the old system and it was lvm1 then because I did a new volume group wich only contains the second disk (280GB) and it works. I am now copying the data from /dev/sda3 to the new volume group and will do the partition of /dev/sda3 completely new. So joining this to the new volume group should give me the whole capacity. Thanx, N. Eschricht -- Dipl.-Ing. (BA) Nico Eschricht ---------------------------------- Hahn-Meitner-Institut Berlin GmbH Abteilung DN - Zentrale DV-Systeme Glienicker Strasse 100 14109 Berlin ---------------------------------- phone: +49-030-8062-2518 email: eschricht@hmi.de ----------------------------------
participants (2)
-
Nico Eschricht
-
Robert Schiele