PDA

View Full Version : SLES-Other fdisk and pvscan report different HD size - unable to mount



mikenash
08-Jun-2016, 19:05
I have a SLES11 Enterprise system. I have a LVM volumethat is active but I am unable to mount. I find a problem with the sizes of the dasd as reported by pvscan and fdisk. Fdisk reports 10 gig and pvscan reports 30 gig. It should be 10 gig. Can someone explain what is going on?

linux278:~ # mount /dev/scsivg/lvdb01 /mnt
mount: special device /dev/scsivg/lvdb01 does not exist
linux278:~ # lvscan
ACTIVE '/dev/pool1/lvhome' [10.00 GB] inherit
ACTIVE '/dev/pool1/lvopt' [60.00 GB] inherit
ACTIVE '/dev/pool1/lvlocal' [60.00 GB] inherit
ACTIVE '/dev/pool1/lvbackup' [150.00 GB] inherit
ACTIVE '/dev/scsivg/lvdb01' [328.00 GB] inherit
linux278:~ # fdisk -l /dev/sda

Disk /dev/sda: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0xca3410d2

Device Boot Start End Blocks Id System
/dev/sda1 1 10240 10485744 83 Linux
PVSCAN output for this dasd: PV /dev/sda1 VG scsivg lvm2 [30.00 GB / 1.96 GB free]

jmozdzen
09-Jun-2016, 10:07
Hi mikenash,

> I find a problem with the sizes of the dasd as reported by pvscan and fdisk

strange indeed - might it be someone resized the partition /dev/sda1, from 30 to 10 GB? What does "pvdisplay /dev/sda1" report? (For your records, I'd recommend to run "pvdisplay -m /dev/sda1" and save the output. Might be useful in case you really need to clean up some corruption.)

Regards,
J