Koozali.org: home of the SME Server

Sata Drive Support

Offline Bud

  • *
  • 487
  • +0/-0
Sata Drive Support
« on: August 29, 2010, 03:00:14 PM »
hope you guys can help

I have built a NEW SME 7.51 server with 4 x 1T WD Sata Drives

Sata 0 and Sata 1 is used for Email, User Files, Database Access etc. with Raid

Sata 2 and Sata 3 are used for Data and Backups (Sata 2 for Other Data) (Sata 3 for Backups)

My Problem is that the Raid is Working (I think) and I THINK I have Sata 2 Up and Running for Data Storage

I just am not sure that I have the Sata 3 Drive up and Running. I am a bit confused about checking this:

This is my Current Setup

[root@server ~]# smartctl -i /dev/sda
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EARS-00Y5B1
Serial Number:    WD-WCAV5D312438
Firmware Version: 80.00A80
User Capacity:    1,000,204,886,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Aug 29 14:28:46 2010 SAST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@server ~]# smartctl -i /dev/sdb
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EADS-00P8B0
Serial Number:    WD-WMAVU0164462
Firmware Version: 01.00A01
User Capacity:    1,000,204,886,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Aug 29 14:28:54 2010 SAST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@server ~]# smartctl -i /dev/sdc
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EARS-00Z5B1
Serial Number:    WD-WMAYM0007804
Firmware Version: 80.00A80
User Capacity:    1,000,204,886,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Aug 29 14:28:58 2010 SAST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@server ~]#  smartctl -i /dev/sdd
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10EADS-00P8B0
Serial Number:    WD-WMAVU0135107
Firmware Version: 01.00A01
User Capacity:    1,000,204,886,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Aug 29 14:44:25 2010 SAST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@server ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdc2[0] sda2[1]
      976655552 blocks [2/2] [UU]

md1 : active raid1 sdc1[0] sda1[1]
      104320 blocks [2/2] [UU]

unused devices: <none>

[root@server ~]# mdadm --detail --scan --verbose
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=93f0727e:32cbbf9a:71677c63:cc261feb
   devices=/dev/sdc2,/dev/sda2
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=f3943b5e:fba6b8c2:b2f779ee:08656e60
   devices=/dev/sdc1,/dev/sda1

[root@server ~]# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
              ext3   960292240 571581928 339942844  63% /
/dev/md1      ext3      101018     18477     77325  20% /boot
none         tmpfs     1683320         0   1683320   0% /dev/shm
/dev/sdb      ext3   961434656 514241856 398354672  57% /mdhdd/mdtdv1

My " fstab " File

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/main/root          /                       ext3    usrquota,grpquota,acl        1 1
/dev/md1                /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/main/swap          swap                    swap    defaults        0 0
/dev/sdb             /mdhdd/mdtdv1         ext3   usrquota,grpquota       1 2
/dev/hdb                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0

Questions:
1. I Currently have Data on the Sata 2 Drive. How can check if the Data is there and is Ok

2. Is the Sata 3 Drive up and Running. How will I know This?

3. What Entries do I need to make in the " fstab " file if needed ?

4. Is the Raid working Ok and How do I know this?

Please help. Sorry for the Noob Questions  :smile:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Sata Drive Support
« Reply #1 on: August 30, 2010, 02:58:35 AM »
Bud

Quote
...I THINK I have Sata 2 Up and Running for Data Storage
I just am not sure that I have the Sata 3 Drive up and Running. I am a bit confused about checking this:

I think you need to tell us more about how you physiclly set this all up. eg Did you install the RAID only initially with only two drives connected, and then follow the Howto to add the other two drives ?

I suspect you may have a RAID1 with two drives plus a hot spare, and then "data" on the 4th drive.

Also see
http://wiki.contribs.org/AddExtraHardDisk
and/or
http://wiki.contribs.org/AddExtraHardDisk_-_SCSI
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Sata Drive Support
« Reply #2 on: August 31, 2010, 06:03:23 PM »
Or log in on the console or Putty SSH using the admin username and use the configure RAID menu.