Koozali.org: home of the SME Server

Sata Drive Confusion

Offline Bud

  • *
  • 487
  • +0/-0
Sata Drive Confusion
« on: May 03, 2011, 07:38:58 PM »
Guys hope you can help me

I seem to be lost with some of the Sata Drives in a SME 7.5 Server

There are Four 1T Hard Drives in the Server

Sata 0 and Sata 1 are used for Raid

Sata 2 and Sata 3 is for Data

My Problem is that One of the Drives does not seem to be "ACTIVE" or Mounted

This is what i get from fdisk -l
#fdisk -l | more
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104384+  fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2              13      121601   976655647   fd  Linux raid autodetect

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1          13      104384+  fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdc2              13      121601   976655647   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/md2: 1000.0 GB, 1000095285248 bytes
2 heads, 4 sectors/track, 244163888 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/dm-1: 1073 MB, 1073741824 bytes
2 heads, 4 sectors/track, 262144 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

===============================================================

# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
              ext3   960292240 911491140     33632 100% /
/dev/md1      ext3      101018     22212     73590  24% /boot
none         tmpfs     1683316         0   1683316   0% /dev/shm
/dev/sdb      ext3   961434656 519364780 393231748  57% /mdhdd/mdtdv1

===============================================================

This is the "fstab" file info

FSTAB FILE:
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few entries are updated during
# the template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/fstab/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
# 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/sdc                 /mdhdd/mdtdv2              ext3      usrquota,grpquota       1 2
/dev/hdb                /media/cdrecorder2      auto    pamconsole,exec,noauto,managed 0 0

=================================================================

I do realise that "sdc" is not mounted however i am not sure if the drive is formated or what i am missing

Any Help Greatly Appreciated  :)


Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: Sata Drive Confusion
« Reply #1 on: May 07, 2011, 07:28:27 PM »
Can you also show the output of
Code: [Select]
cat /proc/mdstat
Is you SATA0 and SATA1 based RAID done using software RAID or hardware RAID.
SME since 2003