Results 1 to 2 of 2

Thread: fdisk and pvscan report different HD size - unable to mount

  1. #1
    Join Date
    Nov 2014
    Location
    Pleasant Valley, New York 12569
    Posts
    167

    fdisk and pvscan report different HD size - unable to mount

    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?
    Code:
    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]

  2. Re: fdisk and pvscan report different HD size - unable to mo

    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
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •