I have a Linux server running Ubuntu 16.04.
I ran in to an issue this morning where one of my partitions ran out of space, I managed to free up some space as a temporary solution but need to transfer/reallocate some space from one partition to another.
Running df -h
I get:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 318M 2.9G 10% /run
/dev/md1 20G 19G 25M 100% /
tmpfs 16G 4.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md2 201G 943M 190G 1% /home
tmpfs 3.2G 0 3.2G 0% /run/user/1004
tmpfs 3.2G 0 3.2G 0% /run/user/1000
As you can see /dev/md1
is pretty much out of space, I am wanting to transfer some of the free space on /dev/md2
to this partition as I am never going to use 201G on my /home
directory.
How can I do this or put /
on /dev/md2
?