Fdisk problem

  • Hello,
    I booted up a Debian Live and I deleted the system partition to resize it. After creating a new partition with the same sector to start but not the same to end (to have extra space for OMV to use it for share) I saved my changes with 'w' I ran 'sudo partprobe' and tried to run 'sudo resize2fs /dev/sda' but the following error occurs:

    • Official Post

    The image is wrong. While you can resize partitions this way, it is dangerous. I would never use fdisk to do this unless you really know what you are doing. You have to make sure that there is no data in the part of the partition that you are removing. gparted does this for you. Using parted from the command line (if you can't get gparted working) is a much better option - https://www.tecmint.com/parted…ue-linux-disk-partitions/

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!