Cannot resize partition after resizing disk

    • OMV 1.0
    • 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:

      Source Code

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