Mailinglist Archive: opensuse-autoinstall (99 mails)

< Previous Next >
[opensuse-autoinstall] Mounting existing LVM partition
  • From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
  • Date: Mon, 14 May 2007 11:12:02 +0200
  • Message-id: <464827E2.5000707@xxxxxxxxxxxxxx>
Hi,

reinstalling a server with SLES 10/SuSE 10.1 I want to keep and just mount
an existing LVM partition. The fstab looks like this

/dev/sda1       /                         ...
/dev/sda2       swap                      ...
/dev/sda5       /tmp                      ...
/dev/sda6       /var                      ...
/dev/exportraid/export  /export           ...    

/dev/sda7 is used for the LVM. I tried this profile:

          ...
          <partition>
            <create config:type="boolean">false</create>
            <filesystem config:type="symbol">ext3</filesystem>
            <format config:type="boolean">true</format>
            <fstopt>defaults,acl</fstopt>
            <mount>/var</mount>
            <partition_nr config:type="integer">6</partition_nr>
          </partition>

          <partition>      
            <create config:type="boolean">false</create>
            <lvm_group>exportraid</lvm_group>
            <partition_nr config:type="integer">7</partition_nr>
          </partition>

        </partitions>
      </drive>

      <drive>
        <device>/dev/exportraid</device>
        <is_lvm_vg config:type="boolean">true</is_lvm_vg>
        <partitions config:type="list">
          <partition>
            <create config:type="boolean">false</create>
            <filesystem config:type="symbol">ext3</filesystem>
            <format config:type="boolean">false</format>
            <fstopt>defaults,acl</fstopt>
            <lv_name>export</lv_name>
            <mount>/export</mount>
          </partition>
        </partitions>
      </drive>

And also without the partition entry for "exportraid" and just with the
"drive" entry for "/dev/exportraid".

But the result is that AY ignores /dev/exportraid/ completely. AY says
it plans to set the mountpoints of /dev/sda1,2,5 and 6 and format some
of them, but says nothing about /dev/exportraid/export.

How can I make AY mount the lv?

cu,
Frank

-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups