Hi,
I am having a lot of trouble getting autoyast to install a raid
configuration. I have tried several methods from the "documentation"
and mailing-lists but I still get errors regarding the size of '/' and
'/var' (basically, the raid arrays are not being set up properly).
This is SLES 8 on an Opteron system. I have even tried installing
manually then using yast2 to create a clone.xml. Using the clone.xml
untouched on the same system results in a "Preparting the RAID system
failed" error.
Here is the partitioning and raid portion of my control file:
<partitioning config:type="list">
<drive>
<device>/dev/hda</device>
<partitions config:type="list">
<partition>
<format config:type="boolean">true</format>
<mount>/boot</mount>
Hi, This is issue is fixed in the y2update image (and now a tar also), which can be found at www.suse.de/~nashif/autoinstall/y2update. All these changes will be available as official fixed in the next Service Pack. If any issues remain, let me know. Anas Nate Faerber wrote:
Hi,
I am having a lot of trouble getting autoyast to install a raid configuration. I have tried several methods from the "documentation" and mailing-lists but I still get errors regarding the size of '/' and '/var' (basically, the raid arrays are not being set up properly).
This is SLES 8 on an Opteron system. I have even tried installing manually then using yast2 to create a clone.xml. Using the clone.xml untouched on the same system results in a "Preparting the RAID system failed" error.
Here is the partitioning and raid portion of my control file:
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/boot</mount>
131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/hdb</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/bootmirror</mount>131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list">/dev/md1 left-asymmetric true 1 64 <mount>swap</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem>/dev/md2 left-asymmetric true 1 64 <mount>/</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>/dev/md3 left-asymmetric true 1 64 <mount>/var</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem></raid> /dev/md4 left-asymmetric true 1 64 <mount>/home</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>thanks -nate
Anas, Thanks. I guess I am having problems installing this update. I am using an NFS directory to do my install over the network. I have tried untarring the y2update.tar.bz2 in the nfs directory, and I have tried updating the boot/root file using the update script. Is there an argument I need to give to the installer so it will look for the update? I am starting the nfs install with this line in my PXE config: LABEL raidinstall KERNEL linux-sles8 APPEND initrd=initrd-sles8 ramdisk_size=65536 insmod=bcm5700 netdevice=eth1 install=nfs://192.168.50.1/nfs-install/sles8/ autoyast=nfs://192.168.50.1/custom/raidinstall.xml The y2update.tar.bz2 file was extracted to the sles8/ directory, but I got the same errors while trying to do my raid install. Is my autoyast file correct? What am I missing? -nate On Sat, 2003-05-31 at 09:18, Anas Nashif wrote:
Hi, This is issue is fixed in the y2update image (and now a tar also), which can be found at www.suse.de/~nashif/autoinstall/y2update.
All these changes will be available as official fixed in the next Service Pack.
If any issues remain, let me know. Anas
Nate Faerber wrote:
Hi,
I am having a lot of trouble getting autoyast to install a raid configuration. I have tried several methods from the "documentation" and mailing-lists but I still get errors regarding the size of '/' and '/var' (basically, the raid arrays are not being set up properly).
This is SLES 8 on an Opteron system. I have even tried installing manually then using yast2 to create a clone.xml. Using the clone.xml untouched on the same system results in a "Preparting the RAID system failed" error.
Here is the partitioning and raid portion of my control file:
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/boot</mount>
131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/hdb</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/bootmirror</mount>131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list">/dev/md1 left-asymmetric true 1 64 <mount>swap</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem>/dev/md2 left-asymmetric true 1 64 <mount>/</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>/dev/md3 left-asymmetric true 1 64 <mount>/var</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem></raid> /dev/md4 left-asymmetric true 1 64 <mount>/home</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>thanks -nate
Hi, You are installing x86_64, right? Then that path in the tar is wrong cause it was made ofr i386. Go into the created directory and change the directory name to something like linux/UnitedLinux/<arch>-ul1/y2update where <arch> is x86_64 Also make sure the directory is readable by the NFS client. Anas Nate Faerber wrote:
Anas,
Thanks. I guess I am having problems installing this update. I am using an NFS directory to do my install over the network. I have tried untarring the y2update.tar.bz2 in the nfs directory, and I have tried updating the boot/root file using the update script. Is there an argument I need to give to the installer so it will look for the update?
I am starting the nfs install with this line in my PXE config: LABEL raidinstall KERNEL linux-sles8 APPEND initrd=initrd-sles8 ramdisk_size=65536 insmod=bcm5700 netdevice=eth1 install=nfs://192.168.50.1/nfs-install/sles8/ autoyast=nfs://192.168.50.1/custom/raidinstall.xml
The y2update.tar.bz2 file was extracted to the sles8/ directory, but I got the same errors while trying to do my raid install.
Is my autoyast file correct? What am I missing?
-nate
On Sat, 2003-05-31 at 09:18, Anas Nashif wrote:
Hi, This is issue is fixed in the y2update image (and now a tar also), which can be found at www.suse.de/~nashif/autoinstall/y2update.
All these changes will be available as official fixed in the next Service Pack.
If any issues remain, let me know. Anas
Nate Faerber wrote:
Hi,
I am having a lot of trouble getting autoyast to install a raid configuration. I have tried several methods from the "documentation" and mailing-lists but I still get errors regarding the size of '/' and '/var' (basically, the raid arrays are not being set up properly).
This is SLES 8 on an Opteron system. I have even tried installing manually then using yast2 to create a clone.xml. Using the clone.xml untouched on the same system results in a "Preparting the RAID system failed" error.
Here is the partitioning and raid portion of my control file:
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/boot</mount>
131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/hdb</device> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/bootmirror</mount>131 1 <size>80mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 2 /dev/md1 <size>2040mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 3 /dev/md2 <size>6000mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 5 /dev/md3 <size>1020mb</size> </partition> <partition> <format config:type="boolean">false</format> <mount />253 6 /dev/md4 <size>10gb</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list">/dev/md1 left-asymmetric true 1 64 <mount>swap</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem>/dev/md2 left-asymmetric true 1 64 <mount>/</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>/dev/md3 left-asymmetric true 1 64 <mount>/var</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem></raid> /dev/md4 left-asymmetric true 1 64 <mount>/home</mount> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem>thanks -nate
participants (2)
-
Anas Nashif
-
Nate Faerber