Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: TeNeCo on March 21, 2007, 09:33:18 PM

Title: How can I check out the allocation of the two HDs?
Post by: TeNeCo on March 21, 2007, 09:33:18 PM
Could you please explain how SME hast allocated the HDs during installation?

I have two hds of around 20 GB in the PC but the available space is not the expected 40GB but 20. Has SME arranged the disks in a kind of RAID1?

The following results i have:
Code: [Select]

[root@sme ~]# fdisk -l /dev/hda

Disk /dev/hda: 20.5 GB, 20520493056 bytes
240 heads, 63 sectors/track, 2650 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          14      105808+  fd  Linux raid autodetect
/dev/hda2              15        2650    19928160   fd  Linux raid autodetect
[root@sme ~]# fdisk -l /dev/hdc
[root@sme ~]# fdisk -l /dev/hdb

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdb2              14        2434    19446682+  fd  Linux raid autodetect
[root@sme ~]#

Is that really a RAID so that the system can stand the failing of one of the disks?
Title: Re: How can I check out the allocation of the two HDs?
Post by: raem on March 21, 2007, 10:35:18 PM
TeNeCo

Log in as admin and look in the console menu re disk management

Alternatively use this command
cat /proc/mdstat


Personalities : [raid1]
md1 : active raid1 hda1[0] hdc1[1]
      104320 blocks [2/2] [UU]

md2 : active raid1 hda2[0] hdc2[1]
      80308864 blocks [2/2] [UU]

unused devices: <none>


You have both your drives on the same controller channel.
It's better if you connect one to Channel1 (Primary master) & the other to Channel2 (Secondary master) in case the drive controller fails in one channel only.
eg hda & hdc
Title: Re: How can I check out the allocation of the two HDs?
Post by: CharlieBrady on March 21, 2007, 11:23:27 PM
Quote from: "TeNeCo"
Could you please explain how SME hast allocated the HDs during installation?

I have two hds of around 20 GB in the PC but the available space is not the expected 40GB but 20. Has SME arranged the disks in a kind of RAID1?


Yes. Please thoroughly read the manual:

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter5
Title: How can I check out the allocation of the two HDs?
Post by: TeNeCo on March 27, 2007, 07:52:26 PM
When and how is a failing of one of the disks reported?

Stefan
Title: How can I check out the allocation of the two HDs?
Post by: TrevorB on March 28, 2007, 10:10:39 AM
Quote from: "TeNeCo"
When and how is a failing of one of the disks reported?
e-mail to admin@<your domain>

It will also show up on the disk management screen of the console.

Trevor B