HDD Config

Issues related to hardware problems

HDD Config

Postby alajangi » 2012/02/16 09:41:04

Hi Experts,

I have installed centos6, I have 2tb*8 hdds in my machine, how to configure all the disks ?

the o/p of fdisk -l is

Code: Select all
Disk /dev/sda: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64      234976  1886923776   8e  Linux LVM

Disk /dev/sde: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000084

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdd: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000083

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdb: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000081

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdc: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000082

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdf: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000085

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdg: 402.7 GB, 402653184000 bytes
255 heads, 63 sectors/track, 48953 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000086

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/dm-0: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 154.6 GB, 154568491008 bytes
255 heads, 63 sectors/track, 18791 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000 

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 1724.0 GB, 1723951218688 bytes
255 heads, 63 sectors/track, 209591 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_ottsrvr15-lv_root
                       50G  715M   47G   2% /
tmpfs                  71G     0   71G   0% /dev/shm
/dev/sda1             485M   29M  431M   7% /boot
/dev/mapper/vg_ottsrvr15-lv_home
                      1.6T  197M  1.5T   1% /home
[Moderator edit: Added code tags to preserve formatting.]
alajangi
 
Posts: 17
Joined: 2012/01/04 08:39:16

HDD Config

Postby pschaff » 2012/02/17 12:07:50

It is hard to advise without any idea how you want to use the storage. There are any number of options, but with all those disks, and presumably no hardware RAID, I'd be prone to set up a RAID array with some redundancy - such as RAID 5, 6, etc.. See the Wiki for background:

Setup a Software RAID on CentOS 5
Convert a CentOS System to RAID 1
Install on Partitionable RAID1

After some consideration of the possibilities please ask a smart question. :-)
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: HDD Config

Postby TrevorH » 2012/02/18 01:07:03

You might want to check your installation because I only see 6 * 2TB disks listed in your fdisk output. Either the other two are not cabled up correctly or they are attached to some SATA controller that doesn't currently have a driver loaded. You also seem to have a /dev/sdg that's listed as 402GB.
User avatar
TrevorH
Forum Moderator
 
Posts: 9167
Joined: 2009/09/24 10:40:56
Location: Brighton, UK


Return to CentOS 6 - Hardware Support

Who is online

Users browsing this forum: No registered users and 2 guests