0


I'm using CentOS 7 on my dedicated server and the partitioning is as below:

Filesystem      Size  Used Avail Use% Mounted on
/dev/md2         98G   12G   82G  13% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs            16G  1.2M   16G   1% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md1        9.8G  313M  9.0G   4% /boot
/dev/loop0      3.9G  8.4M  3.7G   1% /tmp
tmpfs           3.2G     0  3.2G   0% /run/user/0
/dev/md3        1.7T  614M  1.6T   1% /home

And I want to create another partition called /home2.

I've read this link, but as none of my partitions are LVE, it did not help me.

Could you help me how to shrink /home some spaces in gigabyte and create with that freed space /home2? The current /home format is ext4, and I want the /home2 be ext4 too.
Thanks in advance

Saeed
  • 163
  • 9
  • 2
    From your output currently `/home` only has 614M on it, which would easily fit on the `/` temporarily. Why not move that, then setup LVM on `/dev/md3`? – Zoredache Feb 07 '19 at 20:48
  • I'm not familiar enough with LVM setup. Other partitions are not LVM (I think). If /home and /home2 are LVM, then what would happen to other partitions? And what happens to other websites which are currently running? @Zoredache – Saeed Feb 07 '19 at 21:25

0 Answers0