Hello,

I'm running SI 3.5.3 and am having some trouble with the <image>.master and 
autoinstallscript.conf files:

------
Setup:
------

/dev/md0 : /boot RAID1 (sda1 sdb1)
/dev/md1 : swap  RAID0 (sda2 sdb2)
/dev/md2 : /     RAID0 (sda3 sdb3)
/dev/md3 : LVM   RAID0 (sda4 sdb4)

1) The autoinstallscript.conf file has this line:

<part  num="4"  size="*"  p_type="primary"  p_name="-"  flags="raid" />

Which should really read:

<part  num="4"  size="*"  p_type="primary"  p_name="-"  flags="raid,lvm" 
lvm_group="vg" />

For some reason it didn't detect that /dev/md3 should be RAID *and* LVM... I 
added the above line to see where it would take me: (I believe these lines are 
generated based on the partition type flag, obviously I can only set either 
raidautodetect or lvm, not both and that is probably why it incorrectly set 
these flag?).

Anyways, so later on it appears that:

2) <image>.master script

 - mkraid for /dev/md3 never executed
 - mkswap for /dev/md1 never executed
 - LVM tried to create volume group on /dev/sda4, NOT /dev/md3 - apparently it 
was unaware that LVM sits on a raid partition (and not /dev/sda4 - which is 
part of the md3 raid partition). Perhaps my 'flags="raid,lvm"' hack was a bad 
idea?

3) systemconfigurator --runboot fails because it scans /etc/fstab and sees:

/dev/md0        /boot   ext3    noatime 1 1

It doesn't have an appropriate map for md0 and croaks. If I change the 'md0' to 
read 'sda1', it works, and this is a possible solution, but I was wondering 
whether there might be a more elegant solution.

Thanks for any help

 - Stephan
-- 

--------------------------------------------------
No one goes there nowadays, it's too crowded.
  - Yogi Berra

Stephan Esterhuizen
Colorado Center for Astrodynamics Research (CCAR)
University of Colorado, Boulder, CO, USA
303-735-1935 [W]
303-881-0997 [M]

http://www.pythion.com

--------------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to