Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: pblanco on October 25, 2007, 06:09:15 AM
-
Hi there, I am new on SME Server, so I apologize if this question is dumb but here it comes:
I installed SME Server 7.2 with 2 hard disk of 200 GB, as I read on the documentation it automatically creates a RAID 1 / mirror disk.
when I log on the console and I check disk redundancy I get this:
Current RAID Status:
Personalities : [raid1]
md2 : active raid1 hda2[0] hdb2[1]
199037248 blocks [2/2][UU]
md1 : active raid1 hda1[0] hdab1[1]
104320 blocks [2/2] [UU]
unused devices: <none>
All RAID devices are in clean state
So it seems to me there are 2 hard disks detected and used, but if I go to the shell and I type [root@...]# df -ahi , I get this
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/main-root
24M 114K 24M 1% /
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
usbfs 0 0 0 - /proc/bus/usb
/dev/md1 26K 40 26K 1% /boot
none 127K 1 127K 1% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
My question is where are the hard disks, how can I access the mirror disk to be sure all the information is beeing mirrored.
I 'll apreciate your help.
Thanks a lot.
-
pblanco
when I log on the console and I check disk redundancy I get this:
Current RAID Status:
Personalities : [raid1]
md2 : active raid1 hda2[0] hdb2[1]
199037248 blocks [2/2][UU]
md1 : active raid1 hda1[0] hdab1[1]
104320 blocks [2/2] [UU]
unused devices: <none>
All RAID devices are in clean state
My question is where are the hard disks, how can I access the mirror disk to be sure all the information is beeing mirrored.
You already answered your own question.
hda and hdb are your drives, in this case both on the same channel.
It is preferable to put them on seperate channels ie Primary Master & Secondary Master (hda & hdc).
[2/2] [UU] tells you your devices are mirroring correctly.
Also try
man mdadm
-
Try using just df -ah. "df -ahi" gives a listing of the inodes which probably wont make much sense to you.
/dev/md1 is your boot partition (usually about 100MB) and the rest is /dev/md2 (which is made up of hda2 and hdb2) which is your root partition where all the data is stored.
# cat /proc/mdstat (or console -> check disk redundancy) will tell you if there are any problems with the mirrored drives.
Lloyd