Koozali.org: home of the SME Server

checking HD space and RAID

Dave Reinhardt

checking HD space and RAID
« on: May 05, 2002, 11:06:08 AM »
Is there a howto that tells how to check that the RAID is workin and if it is reporting the size of the drives.
FDISk shows partitions on each HD that do not correspond to the size of the HD's
Also is there a howto set up your computer for SME, like shadowing, pnp, s.m.a.r.t hd etc..

schotty

Re: checking HD space and RAID
« Reply #1 on: May 05, 2002, 07:49:46 PM »
for howto on linux raid look for "linux raid" on yahoo
hint cat mdstat

s.m.a.r.t?? on linux??

Nathan Fowler

Re: checking HD space and RAID
« Reply #2 on: May 07, 2002, 08:42:43 PM »
To verify RAID is working:
cat /proc/mdstat

You should see each drive assigned to an array and the drive/partition number.  If you have two drives you should see [UU] meaning both drives are uniform.  If you see [U_] or [_U] it means that one of the drives has failed (respectively).

To check for free space:
df -h

This will display the array/drive and it's used, free, and % capacity in human readable numbers (-h).

If you have any other questions let me know,
Nathan