Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: kyle coburn on October 22, 2002, 08:56:48 AM

Title: is my software RAID ok?
Post by: kyle coburn on October 22, 2002, 08:56:48 AM
after installing raidmonitor a few weeks ago, i decided to do a check just to make sure it is working.
[root@KC-Web root]# /usr/local/bin/raidmonitor -v
and nothing happens...
so i did
[root@KC-Web root]# /usr/local/bin/raidmonitor -i
and then again i do
[root@KC-Web root]# /usr/local/bin/raidmonitor -v
still nothing i just get a new prompt


when i view mdstat i get this:
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 sdb1[0] sda1[1] 263040 blocks [2/2] [UU]
md0 : active raid1 sdb6[1] sdb5[0] 11136 blocks [2/2] [UU]
md1 : active raid1 sdb7[1] sda5[0] 909184 blocks [2/2] [UU]
unused devices:

the reason i am checking is becuse in phpsysinfo i get this for my filesystem config:
                                      Free            USED           Size
/       ext2 /dev/md1  67% 246.24 MB   583.27 MB   873.90 MB
/boot ext2 /dev/md0  55% 4.15 MB      5.83 MB      10.53 MB
Totals :                    67% 250.39 MB  589.10 MB    884.42 MB

i have 2 identical SEAGATE ST32550N 2.1gb drives installed with software raid from the first day, why does it show that i only have 884mb total, i should have 2.1gb total. RIGHT??


Thanks for your time
- kyle coburn
Title: Re: is my software RAID ok?
Post by: Lloyd Keen on October 22, 2002, 09:58:51 AM
Maybe http://e-smith.org/faq.php3#7q15
Title: Re: is my software RAID ok?
Post by: Nathan Fowler on October 22, 2002, 10:54:56 PM
What does this say:

fdisk -l /dev/sda
fdisk -l /dev/sdb

Are you taking full advantage of your available space?  IE, are the partitions using 100%

My only other guess would be the BIOS has incorrectly identified these drives, or your SCSI card is having issues supporting drives over 1024MB.

Is this an older system?
Title: Re: is my software RAID ok?
Post by: kyle coburn on October 23, 2002, 01:07:55 AM
here is the output from these compands, thanks for your help:

[root@KC-Web root]# fdisk -l /dev/sda

Disk /dev/sda: 64 heads, 32 sectors, 2033 cylinders
Units = cylinders of 2048 * 512 bytes

Device Boot      Start       End    Blocks   Id  System
/dev/sda1   *         1       257    263152   fd  Linux raid autodetect
/dev/sda2           258      2033   1818624    5  Extended
/dev/sda5           258      1146    910320   fd  Linux raid autodetect

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

[root@KC-Web root]# fdisk -l /dev/sdb

Disk /dev/sdb: 64 heads, 32 sectors, 2048 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1       257    263152   fd  Linux raid autodetect
/dev/sdb2           258      2048   1833984    5  Extended
/dev/sdb5           258       268     11248   fd  Linux raid autodetect
/dev/sdb6           269       279     11248   fd  Linux raid autodetect
/dev/sdb7           280      1167    909296   fd  Linux raid autodetect
Title: Re: is my software RAID ok?
Post by: Nathan Fowler on October 23, 2002, 01:12:16 AM
It seems the partitions are hosed..both disks should have the same partition structure.  I notice /dev/sbd has two additional RAID partitions, that aren't being used.  When you installed E-Smith, did anything go arwy?  Were your disks clean?  Did you create any additional partitions?
Title: Re: is my software RAID ok?
Post by: kyle coburn on October 26, 2002, 10:05:06 AM
no, nothing went wrong disks were wiped clean and formated. and checked I choose software raid, i guess i will just cope for now untill the next major SME upgrade i will try a fresh install. everything works fine. ill check my bios settings before my next install.  Will making a boot disk work with the next version of the SME server say 6.0? Will it restore my current settings? All i would have to do then is backup my ibay and primary data correct?


thanks for everyones advise
- kyle