Hello, i tryed to autoinstall two physical volumes, one on /dev/sda4 and one on /dev/sdb, with the same volume_group system. But it won't work. Following my partition section. The error message where "vgcreate -A n -s 4096k system /dev/system vgcreate -- ERROR can't create a new physical volumes on /dev/sda4". Listing: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse> <partitions config:type="list"> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">swap </filesystem> <filesystem_id config:type="integer">130</filesystem_id> <format config:type="boolean">true </format> <mount/> <size>256M</size> <type>Linux swap</type> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">ext2</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <format config:type="boolean">true</format> <mount>/boot</mount> <size>15M</size> <type>Linux native</type> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">reiserfs</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <format config:type="boolean">true</format> <mount>/</mount> <size>5GB</size> <type>Linux native</type> </partition> <partition> <size>max</size> <filesystem-id config:type="integer">142</filesystem-id> <lvm_group>system </lvm_group> </partition> </partitions> </drive> <drive> <device>/dev/sdb</device> <reuse>all</reuse> <partitions config:type="list"> <partition> <size>max</size> <lvm_group>system </lvm_group> <filesystem-id config:type="integer">142</filesystem-id> </partition> </partitions> </drive> </partitioning> <lvm config:type="list"> <lvm_group> <lvm_name>system </lvm_name> <pesize>4M</pesize> <logical_volumes config:type="list"> <lv> <lv_name>backuplv</lv_name> <lv_size>max </lv_size> <lv_fs>reiser</lv_fs> <lv_mount>/backup</lv_mount> </lv> </logical_volumes> </lvm_group> </lvm> Any help would be greatly appreciated. Georg Wallner
On Tue, 2 Jul 2002, Georg Wallner wrote:
i tryed to autoinstall two physical volumes, one on /dev/sda4 and one on /dev/sdb, with the same volume_group system. But it won't work. Following my partition section. The error message where "vgcreate -A n -s 4096k system /dev/system vgcreate -- ERROR can't create a new physical volumes on /dev/sda4".
This does not work with the current autoyast system - I hope Anas is working on this issue... Yours, Volkmar -- Volkmar Glauche Department of Neurology E-Mail glauche@uke.uni-hamburg.de UKE Hamburg WWW http://glauche.home.pages.de/ Martinistr. 52 Phone 49(0)40-42803-5781 20246 Hamburg Fax 49(0)40-42803-9955
* Georg Wallner <ead-georg@familiewallner.de> [Jul 02. 2002 08:34]:
Hello,
i tryed to autoinstall two physical volumes, one on /dev/sda4 and one on /dev/sdb, with the same volume_group system. But it won't work. Following my partition section. The error message where "vgcreate -A n -s 4096k system /dev/system vgcreate -- ERROR can't create a new physical volumes on /dev/sda4".
This problem, is 'partly' solved in the updated package. The only problem currently available is when you try to configure LVM using autoinstall on an already configured disk, i.e. you installed LVM and now you are trying to install again. Then yast might complain that the VG is already there. I have dome several tests and with a blank harddsik (or a harddisk without previous LVM configuration) it works fine.
Listing: <partition> <size>max</size> <filesystem-id config:type="integer">142</filesystem-id> ^^^^^^^^^^^^^^ should be filesystem_id, and normally not needed if lvm_group is defined.
<lvm_group>system</lvm_group> </partition> </partitions>
Anas -- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
Helo,
Am Freitag, 5. Juli 2002 04:50 schrieb Anas Nashif:
This problem, is 'partly' solved in the updated package. I use the package rpm -qa | grep -i auto Yast2-trans-autoinst-2.5.14-6 Yast2-module-autoinst-2.5.26-0 Are there newer ones?
The only problem currently available is when you try to configure LVM using autoinstall on an already configured disk, i.e. you installed LVM and now you are trying to install again. Then yast might complain that the VG is already there. I have dome several tests and with a blank harddsik (or a harddisk without previous LVM configuration) it works fine. After I fail wiht autoinstallation, i do following: dd if=/dev/zero of=/dev/sda bs=1k count=100 dd if=/dev/zero of=/dev/sdb bs=1k count=100 With this, the partition table should be erased, and a new LVM should be possible.
My already listing: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">swap </filesystem> <filesystem_id config:type="integer">130</filesystem_id> <partition_type>primary</partition_type> <format config:type="boolean">true </format> <mount/> <size>256M</size> <type>Linux swap</type> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">ext2</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <partiton_type>primary</partiton_type> <format config:type="boolean">true</format> <mount>/boot</mount> <size>15M</size> <type>Linux native</type> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key/> <filesystem config:type="symbol">reiser</filesystem> <filesystem_id config:type="integer">131</filesystem_id> <partition_type>primary</partition_type> <format config:type="boolean">true</format> <mount>/</mount> <size>max</size> <type>Linux native</type> </partition> </partitions> <reuse>all</reuse> </drive> <drive> <device>/dev/sdb</device> <reuse>all</reuse> <partitions config:type="list"> <partition> <filesystem_type>LV</filesystem_type> <size>max</size> <type>lvm</type> <lvm_group>system</lvm_group> </partition> </partitions> </drive> </partitioning> <lvm config:type="list"> <lvm_group> <pesize>4M</pesize> <lvm_name>system</lvm_name> <logical_volumes config:type="list"> <lv> <lv_format content:type="boolean">true</lv_format> <lv_fs>reiser</lv_fs> <lv_mount>/backup</lv_mount> <lv_name>backuplv</lv_name> <lv_size>5GB</lv_size> </lv> </logical_volumes> </lvm_group> </lvm> Ther error message are: LVM-Fehler: vgcreate -A n -s 4096k system /dev/sdb1 vgcreate -- ERROR "pv_read():read" reading physical volumes Would be nice if you could help me Georg Wallner
participants (3)
-
Anas Nashif
-
Georg Wallner
-
Volkmar Glauche