0

I have a 8GB / partition and free 4TB on the other disk.
First disk's partitions are /dev/sda1 and /sda2 and the second disk's is /dev/sdc.
Is it possible to extend the / partition with the free space of the second disk?

$ df -h
Filesystem    Size   Used   Avail    Use%    Mounted on
udev          3.9G      0    3.9G      0%    /dev
tmpfs         794M    79M    715M     10%    /run
/dev/sda2     7.2G   7.2G       0    100%    /
tmpfs         3.9G      0    3.9G      0%    /dev/shm
tmpfs         5.0M      0    5.0M      0%    /run/lock
tmpfs         3.9G      0    3.9G      0%    /sys/fs/cgroup
/dev/loop0     98M    98M       0    100%    /snap/core/10444
/dev/loop1     98M    98M       0    100%    /snap/core/10185
/dev/md0       14T    26M     14T      1%    /mnt/zm
tmpfs         794M      0    794M      0%    /run/user/1000
9
  • If you are using logical volumes, then yes. It’s not too complicated, either.
    – user1091774
    Jan 14, 2021 at 11:48
  • @Matigo any tips or guides on how to do it without gui?
    – amshinski
    Jan 14, 2021 at 11:48
  • 1
    Are you using logical volumes? Can you update your question to include the output of df -h and sudo lvdisplay? This will make it easier to confirm things and provide more specific details.
    – user1091774
    Jan 14, 2021 at 11:52
  • 4
    Does this answer your question? How can I create one logical volume over two disks using LVM? Jan 14, 2021 at 12:18
  • 1
    It is also possible with btrfs. ext4 can be converted to btrfs.
    – Pilot6
    Jan 18, 2021 at 16:51

0

You must log in to answer this question.

Browse other questions tagged .