Hi,
I recently increased the virtual disc size of my VM, because I had not enough space to compile a new kernel and install it. Now I can't increase the the size of slice 2 because the is no more available. Since there is no GUI-Based partition tool for FreeBSD :-( I have to use the shell. And this is the part where I need your help:
How do I move swap so that I can increase freebsd-ufs?
bsdlabel does not seem to work:
Do I still need to use
since my gpart shows 10G free?
growfs() needs a bigger space, since after freebsd-ufs is no more space left.
I hope I have given enough information, so that I can be guided through this problem.
Thanks in advance
Sincerly Yours
Marius
Code:
gpart show
=> 34 41942973 ada0 GPT (20G)
34 128 1 freebsd-boot (64k)
162 19920768 2 freebsd-ufs (9.5G)
19920930 1048576 3 freebsd-swap (512M)
20969506 20973501 - free - (10G)
How do I move swap so that I can increase freebsd-ufs?
bsdlabel does not seem to work:
Code:
bsdlabel -e ada0
bsdlabel: /dev/ada0: no valid label found
Code:
fdisk -u
Code:
fdisk -s
/dev/ada0: 41610 cyl 16 hd 63 sec
Part Start Size Type Flags
1: 1 41943039 0xee 0x80
growfs() needs a bigger space, since after freebsd-ufs is no more space left.
Code:
growfs -s 19G ada0p2
growfs: requested size 19GB is larger than the available 9.5GB
Thanks in advance
Sincerly Yours
Marius