Cannot resize partition after resizing disk

  • hi.
    I've an OMV 1.19 install as guest in a VMWare server. We increased the disk size from 50 to 100G, rebooted the VM and gdisk shows the new size:

    Code
    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sdb: 209715200 sectors, 100.0 GiBLogical sector size: 512 bytes
    Disk identifier (GUID): 2308848E-420C-4CA8-B226-1DD5C20D806D
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 104857566
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 2014 sectors (1007.0 KiB)
    Number  Start (sector)    End (sector)  Size       Code  Name 
      1            2048       104857566   50.0 GiB    8300


    The problem is that, as you can see, the detected final usable sector (104857566) is the same as the last one of the current 50G partition! So when I launch gdisk to delete and recreate the partition with the new size I'm not allowed to increase the size.


    It looks like the GPT doesn't see the new size. What can I do to increase the partition size? Should I fire up the VM with gparted live and do it from there, or (better!) can I do it directly from OMV?


    thanks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!