Mailinglist Archive: opensuse-autoinstall (67 mails)

< Previous Next >
[opensuse-autoinstall] Configuring multiple volume groups
  • From: Oliver Schweikert <osw@xxxxxxx>
  • Date: Tue, 24 Apr 2007 18:33:42 +0200
  • Message-id: <462E3166.5040108@xxxxxxx>
Hi list,

I have problems to create a working autoyast profile with 2 physical
volumes and 2 volume groups. I am using SLES 10 and profile works for
one VG. After adding another PV and a VG, yast complains, that it could
not create "a logical volume of requested size" an no note has been
logged to y2log. Size of disks is large enought available, of course.

Here is the partitioning part of my profile:

  <partitioning config:type="list">
    <drive>
      <device>/dev/cciss/c0d0</device>
      <initialize config:type="boolean">true</initialize>
      <partitions config:type="list">
        <partition>
          <filesystem config:type="symbol">ext2</filesystem>
          <format config:type="boolean">true</format>
          <mount>/boot</mount>
          <partition_id config:type="integer">131</partition_id>
          <partition_type>primary</partition_type>
          <size>auto</size>
        </partition>
        <partition>
          <filesystem config:type="symbol">swap</filesystem>
          <format config:type="boolean">true</format>
          <mount>swap</mount>
          <partition_id config:type="integer">130</partition_id>
          <partition_type>primary</partition_type>
          <size>auto</size>
        </partition>
        <partition>
          <filesystem config:type="symbol">ext3</filesystem>
          <format config:type="boolean">true</format>
          <mount>/</mount>
          <partition_id config:type="integer">131</partition_id>
          <partition_type>primary</partition_type>
          <size>1GB</size>
        </partition>
        <partition>
          <lvm_group>system</lvm_group>
          <mount></mount>
          <partition_id config:type="integer">142</partition_id>
          <partition_type>primary</partition_type>
          <size>max</size>
        </partition>
      </partitions>
      <use>all</use>
    </drive>

    <drive>
      <device>/dev/system</device>
      <is_lvm_vg config:type="boolean">true</is_lvm_vg>
      <partitions config:type="list">
        <partition>
          <filesystem config:type="symbol">ext3</filesystem>
          <format config:type="boolean">true</format>
          <lv_name>usr</lv_name>
          <mount>/usr</mount>
          <size>2GB</size>
        </partition>
        <partition>
          <filesystem config:type="symbol">ext3</filesystem>
          <format config:type="boolean">true</format>
          <lv_name>var</lv_name>
          <mount>/var</mount>
          <size>2GB</size>      <partition>
          <filesystem config:type="symbol">ext2</filesystem>
          <format config:type="boolean">true</format>
          <lv_name>tmp</lv_name>
          <mount>/tmp</mount>
          <size>1GB</size>
        </partition>
        <partition>
          <filesystem config:type="symbol">ext3</filesystem>
          <format config:type="boolean">true</format>
          <lv_name>srv</lv_name>
          <mount>/srv</mount>
          <size>5GB</size>
        </partition>
      </partitions>
      <pesize>4M</pesize>
      <use>all</use>
    </drive>
   <drive>
      <device>/dev/cciss/c0d1</device>
      <initialize config:type="boolean">true</initialize>
      <partitions config:type="list">
        <partition>
          <lvm_group>database</lvm_group>
          <mount></mount>
          <partition_id config:type="integer">142</partition_id>
          <partition_type>primary</partition_type>
          <size>max</size>
        </partition>
      </partitions>
      <use>all</use>
    </drive>

    <drive>
      <device>/dev/database</device>
      <is_lvm_vg config:type="boolean">true</is_lvm_vg>
      <partitions config:type="list">
        <partition>
          <filesystem config:type="symbol">reiserfs</filesystem>
          <format config:type="boolean">true</format>
          <lv_name>oracle</lv_name>
          <mount>/var/opt/oracle</mount>
          <size>20GB</size>
        </partition>
      </partitions>
      <pesize>4M</pesize>
      <use>all</use>
    </drive>
  </partitioning>


I also tried to use 2 seperate partitioning elements, but the later one
overrides all.

Also surprising was, that when using an empty partions list for the
second volume group, a `pvscan' during installation shows, that both PVs
are assigned to the same VG 'system'.

Has anybody an idea?

Regards
Oliver

-- 
Oliver Schweikert
Software Development

Horiba Europe Automation Division GmbH
Zabergäustr. 3
73765 Neuhausen
Tel:  +49 - (0)7158-933-413
Fax: +49 - (0)7158-933-613





--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups