Koozali.org: home of the SME Server

SME 5.6 , softw raid lvl1 + ext3 ?

Martens Christophe

SME 5.6 , softw raid lvl1 + ext3 ?
« on: May 04, 2003, 11:17:50 PM »
This the current SME 5.6 offer Ext3 with software raid level 1 on install?
If not, is there a way to get Ext3 on it lateron?


Thx,
Christophe

Paul

Re: SME 5.6 , softw raid lvl1 + ext3 ?
« Reply #1 on: May 05, 2003, 05:43:47 AM »
Martens Christophe wrote:
>
> This the current SME 5.6 offer Ext3 with software raid level
> 1 on install?

Yes and yes.

christophe martens

Re: SME 5.6 , softw raid lvl1 + ext3 ?
« Reply #2 on: May 06, 2003, 08:51:25 PM »
Paul,

Do you have some experience with it?

Looking at the content of the Iso makes me hesitate about the possibility.

Install.cfg (for normal install, no raid)
#Disk partitioning information
part  swap --size 256
part /boot --fstype ext3 --size 100
part / --fstype ext3 --size 200 --grow

mirror.cfg (raid)
#Disk partitioning information
part raid.00 --size 100 --ondisk 0
part raid.01 --size 100 --ondisk 1
part raid.10 --size 500 --grow --ondisk 0
part raid.11 --size 500 --grow --ondisk 1
part raid.20 --size 256 --ondisk 0
part raid.21 --size 256 --ondisk 1
raid /boot raid.00 raid.01 --level 1 --device md0
raid /     raid.10 raid.11 --level 1 --device md1
raid swap  raid.20 raid.21 --level 1 --device md2


I need to add myself the --fstype ext3 to the mirror.cfg?

Thanks in advance

Paul

Re: SME 5.6 , softw raid lvl1 + ext3 ?
« Reply #3 on: May 06, 2003, 10:14:17 PM »
Christophe,

I have installes v5.6 several time using the mirror raid1 option during install.  It will automatically partition, format and build the raid for you.  The disks MUST be exactly the same or it will not work.  The partitions on the drives are actually "Linux raid autodetect" partitions.  Raid tools builds the raid device and uses ext3.

fdisk shows the following (just 1 drive).

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *            1         13      104391   fd  Linux raid autodetect
/dev/hda2              14      4972  39833167+  fd  Linux raid autodetect
/dev/hda3          4973      5005      265072+  fd  Linux raid autodetect

As you can see the partitions here have to be "raid" type partitions.  After the raid is built, the raid devices (after the partitions are combined) are ext3.

# df -T
Filesystem    Type   1k-blocks      Used Available Use% Mounted on
/dev/md1      ext3    39207872   4280984  32935236  12% /
/dev/md0      ext3         98971         8763       85098  10% /boot
/dev/md3     tmpfs        95628               0      95628   0% /dev/shm

hda1+hdc1=md0
hda2+hdc2=md1
hda3+hdc3=md2

Do not add ext3 to mirror.cfg, it won't work.  Raid tools will take care of it for you.

Good Luck, Paul

Christophe Martens

Re: SME 5.6 , softw raid lvl1 + ext3 ?
« Reply #4 on: May 06, 2003, 10:21:08 PM »
Thanks for the great info Paul !

I didn't find it anyway and hesitated upgrading but you convinced me to upgrade :-)


Christophe