Hello everyone,
I need your advice on how to re-disribute space between existing FreeBSD partitions.
I'd like to decrease partition 5 by 5GB and add that 5GB space to partition 1. I wonder if it can be done in principle (I am a newbie to Unix-like systems).
Although I figured out a way to decrease partition 5 (in single-user mode):
Regards
I need your advice on how to re-disribute space between existing FreeBSD partitions.
# gpart show
returns the following:
Code:
# gpart show
=> 63 104857515 ad0 MBR (50G)
63 1953 - free - (977K)
2016 104855184 1 freebsd (50G)
104857200 378 - free - (189K)
=> 0 104855184 ad0s1 BSD (50G)
0 4194304 1 freebsd-ufs (2.0G)
4194304 8384512 2 freebsd-swap (4.0G)
12578816 4194304 4 freebsd-ufs (2.0G)
16773120 88074240 5 freebsd-ufs (42G)
104847360 7824 - free - (3.8M)
I'd like to decrease partition 5 by 5GB and add that 5GB space to partition 1. I wonder if it can be done in principle (I am a newbie to Unix-like systems).
Although I figured out a way to decrease partition 5 (in single-user mode):
# gpart resize -i 5 -s 37GB ad0s1
, but the system does not boot in multi-user mode after that.Regards