HDD Not Visible

Issues related to hardware problems
alajangi
Posts: 35
Joined: 2012/01/04 08:39:16

Re: HDD Not Visible

Post by alajangi » 2012/02/26 18:53:24

Posting getinfo.sh disk o/p also, please tell me the solution, I am not able to understand what to do and how to use my free disk space.

Information for disk problems.
[code]
== BEGIN uname -rmi ==
2.6.32-71.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
varnish-release-2.1-2.noarch
centos-release-6-0.el6.centos.5.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS Linux release 6.0 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 145346 3134 142212 0 14 162
-/+ buffers/cache: 2957 142388
Swap: 147407 0 147407
== END free -m ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Wed Dec 14 13:02:50 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_ottsrvr3-lv_root / ext4 defaults 1 1
UUID=9a89c24f-a2cd-418f-a565-e665a71f8557 /boot ext4 defaults 1 2
/dev/mapper/vg_ottsrvr3-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_ottsrvr3-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_ottsrvr3-lv_root
50G 995M 46G 3% /
tmpfs 71G 0 71G 0% /dev/shm
/dev/sda1 485M 29M 431M 7% /boot
/dev/mapper/vg_ottsrvr3-lv_home
1.8T 196M 1.7T 1% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/sda: 5999.5 GB, 5999532441600 bytes
255 heads, 63 sectors/track, 729401 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: 0x0009da7f

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 267350 2146970624 8e Linux LVM

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-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-2: 1990.2 GB, 1990239191040 bytes
255 heads, 63 sectors/track, 241966 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

== END fdisk -l ==

== BEGIN blkid ==
/dev/sda1: UUID="9a89c24f-a2cd-418f-a565-e665a71f8557" TYPE="ext4"
/dev/sda2: UUID="SexYD1-C2Mq-BIhP-mb78-gt7Q-TUTW-K5q6I5" TYPE="LVM2_member"
/dev/mapper/vg_ottsrvr3-lv_root: UUID="377d0fb5-0501-4add-a329-46752e8e5b89" TYPE="ext4"
/dev/mapper/vg_ottsrvr3-lv_swap: UUID="ac7b080f-bd17-4189-9ff0-352a1af4b347" TYPE="swap"
/dev/mapper/vg_ottsrvr3-lv_home: UUID="5bdf939e-8193-413f-9f82-f4f4e05d2fbf" TYPE="ext4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_ottsrvr3 lvm2 a- 2.00t 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_ottsrvr3 1 3 0 wz--n- 2.00t 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_ottsrvr3 -wi-ao 1.81t
lv_root vg_ottsrvr3 -wi-ao 50.00g
lv_swap vg_ottsrvr3 -wi-ao 143.95g
== END lvs ==

[/code]

Thanks,
KK.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: HDD Not Visible

Post by TrevorH » 2012/02/26 19:04:04

Did you use fdisk or parted to set up the partitions on your disk? If you used fdisk then that is your problem - it only understands devices up to 2TB in size. you need to use parted and you need to tell it to make a GPT label not a standard partition table. Doing this now will destroy anything and everything that you already have set up so before you do it, back up anything you need.

Post Reply