HDD Config

Posted by alajangi on 2012/2/16 9: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

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.]

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=57&topic_id=35834&post_id=155007