Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: pippin on January 02, 2007, 11:36:08 PM
-
How can i see if i
have 2 disk in RAID?
here is output of fdisk -l
[root@sme ~]# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 24321 195254010 fd Linux raid autodetect
Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 199.9 GB, 199939981312 bytes
2 heads, 4 sectors/track, 48813472 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
[root@sme ~]#
-
How can i see if i
have 2 disk in RAID?
Type at command line...
cat /proc/mdstat
Which would show something like...
Personalities : [raid1]
md1 : active raid1 sda1[0] sdb1[1]
104320 blocks [2/2] [UU]
md2 : active raid1 sda2[0] sdb2[1]
1991936 blocks [2/2] [UU]
unused devices: <none>
-
The same information is available via the Manage Raid Devices item on the admin console.
For more detail you can use
mdadm --detail /dev/md1
mdadm --detail /dev/md2
-
Well it was a jumper on one of the disk that cause the trouble :D