Using 3rd partition on mmcblk0 for root?

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Using 3rd partition on mmcblk0 for root?

      I'm not sure, if this is the right forum but I'll give it a try...

      My root-partition is quite full (about 88%)


      I'm using a 16GB card so there is - according to readme.txt from the OMV4-images a 3rd partition with the remaining space:


      Does it make sense to use the remaining space (mmcblk0p3) for the root-partiton (mmcblk0p2)? If yes, how can I extend the root-partition with the remaining space of mmcblk0p3? Or maybe just use another 4 GB of mmcblk0p3 for root?

      Thank you for hints!
    • The way I would do it:

      Remove the SD card and insert it into my Linux laptop with a SD card reader.

      Start gparted.

      Delete the third partition.

      Resize the second partition.

      But if you really need to do this you are doing something wrong. Seriously. You shouldn't need a bigger rootfs. Use the hdd instead!

      Edit: How come your rootfs is so small? It usually is about 7GB. So it might make sense to increase it? I typically use 1GB of 7GB.
      OMV 4, 7 x ODROID HC2, 1 x ODROID HC1, 3 x 12TB, 2 x 8TB, 1 x 4TB, 1 x 2TB SSHD, 1 x 500GB SSD, GbE, WiFi mesh

      The post was edited 1 time, last by Adoby ().

    • Adoby wrote:

      The way I would do it:

      Remove the SD card and insert it into my Linux laptop with a SD card reader.

      Start gparted.

      Delete the third partition.

      Resize the second partition.

      But if you really need to do this you are doing something wrong. Seriously. You shouldn't need a bigger rootfs. Use the hdd instead!
      Thanks @Adoby for your quick reply - I was just wondering because I've never had that usage of my rootfs. Recently I installed mariadb + nextcloud in a docker and installed this new 4 TB hdd. How can I find out what's using my rootfs?
      On the other side, what's the best way to use the remaining 3rd partition for?
    • Since your rootfs is so small I would delete the third partition and expand the rootfs.

      I assume that you use the default settings for the docker base path. /var/lib/docker. I strongly suspect that the docker images takes up a few GB.

      There is another thread here tonight about moving the docker base path to the hdd. That should free up some space.

      Edit. Yes, your screen dump confirms it.

      See:

      Missing space on boot drive...
      OMV 4, 7 x ODROID HC2, 1 x ODROID HC1, 3 x 12TB, 2 x 8TB, 1 x 4TB, 1 x 2TB SSHD, 1 x 500GB SSD, GbE, WiFi mesh
    • NasAxMan wrote:

      Maybe this output from df -h gives a hint what's using my rootfs?


      sorry for "silly" questions, I'm not yet really familiar with raspberry/linux (but working on it) :thumbup:
      Your issue is right in that pic.. docker is filling up your root partition.

      Solution is in this thread

      Missing space on boot drive...

      (Edit:. I see someone else already posted said link.. that thread should guide you to fixing this)
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • Users Online 1

      1 Guest

    • Tags