Forum Discussion

Kaminari's avatar
Kaminari
Level 2
10 years ago

Wrong Disk Size after LUN Extension

Hello,

i have a RHEL System with Storage Foundation as Volume Manager. In a Disk Group i have 14x146GB LUN´s from a EMC² VMAX Array. After extending the LUN´s to 757GB the Volume Manager thinks the Disk is 432GB in Size. Maybe it is a OS Problem, but maybe someone faced the same and has a Solution.

To me i looks like the System has a wierd Disk Geometry Configuration. Here the Disk with the Wrong size:

# fdisk -l /dev/sdar

Disk /dev/sdar (Sun disk label): 65437 heads, 4624 sectors, 3 cylinders
Units = cylinders of 302580688 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sdar3  u          0         3 453871032    5  Whole disk
/dev/sdar8  u          0         3 453871032    f  Unknown
 

vxdisk list -o size -ug

disk_4                           757.50g

vxprint Ouput from the DG

dm bronze4      disk_4       -        432.81g  -        -        -       -

And now a Disk that was Original Created with 757GB

# fdisk -l /dev/sdip

Disk /dev/sdip (Sun disk label): 16 heads, 1516 sectors, 65491 cylinders
Units = cylinders of 24256 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sdip3  u          0     65491 794274848    5  Whole disk
/dev/sdip8  u          0     65491 794274848    f  Unknown

vxdisk list -o size -ug

disk_33                          757.50g

vxprint output from the DG

dm SISA_BRONZE_2318_disk_33 disk_33 - 757.44g  -        -        -       -

 

 

Did someone face the Same Problem and knows a Solution?

 

regards,

 

Martin

  • Hello Martin,

    Once the disk was resized from Storage 146 GB to 757GB, did you ran a vxdisk resize command for vxvm to get aware of new size ?

    Refer below links

    https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_admin/ch05s03.htm

    https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_admin/ch10s08.htm

     

    G

     

2 Replies

  • Something new wierd here is a ouput from cfdisk

     

                                                       cfdisk (util-linux-ng 2.17.2)

                                                                                       Disk Drive: /dev/sdrr
                                                                                Size: 813367296000 bytes, 813.3 GB
                                                                       Heads: 255   Sectors per Track: 63   Cylinders: 98886

             Name                        Flags                      Part Type               FS Type                                [Label]                          Size (MB)

  • Hello Martin,

    Once the disk was resized from Storage 146 GB to 757GB, did you ran a vxdisk resize command for vxvm to get aware of new size ?

    Refer below links

    https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_admin/ch05s03.htm

    https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_admin/ch10s08.htm

     

    G