Hey everybody,
Sorry to bother, but I'm having trouble on FreeBSD 8.4 with the holy grail that is growing partitions and filesystems.
I gathered some instructions from Google. They *seem* to have worked, and as the space requirements were pretty urgent, I did not roll back to my backup. However, there were some disconcerting warnings.
* The growfs command gave the following warning:
* At next boot, GEOM produced a warning:
Could I be doing something wrong?
What I did was the following:
* Shutdown virtual machine and increase its storage from 30GB to 50GB.
* Boot from 8.4 live ISO.
* In sysinstall, choose "Fixit" from menu.
* Resize the slice and partition. By default, the resize command will use all available space. Rescan after changing the MBR.
* Grow the filesystem:
The current output of
As said, da0s1f looks like it works normally (I tried
Any input -> appreciated
Sorry to bother, but I'm having trouble on FreeBSD 8.4 with the holy grail that is growing partitions and filesystems.
I gathered some instructions from Google. They *seem* to have worked, and as the space requirements were pretty urgent, I did not roll back to my backup. However, there were some disconcerting warnings.
* The growfs command gave the following warning:
Code:
new file systemsize is: 23621158 frags
Warning: 44376 sector(s) cannot be allocated.
growfs: 46113.4MB (94440256 sectors) block size 16384, fragment size 2048
using 251 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
with soft updates
Code:
GEOM: da0s1: media size does not match label.
Could I be doing something wrong?
What I did was the following:
* Shutdown virtual machine and increase its storage from 30GB to 50GB.
* Boot from 8.4 live ISO.
* In sysinstall, choose "Fixit" from menu.
* Resize the slice and partition. By default, the resize command will use all available space. Rescan after changing the MBR.
Code:
gpart show
gpart resize -i 1 da0
true > /dev/da0
gpart show
gpart resize -i 6 da0s1
gpart show
growfs /dev/da0s1fThe current output of
gpart show (I don't have a 'before' copy):
Code:
=> 63 104857537 da0 MBR (50G)
63 104857515 1 freebsd [active] (50G)
104857578 22 - free - (11k)
=> 0 104857515 da0s1 BSD (50G)
0 1048576 1 freebsd-ufs (512M)
1048576 4120336 2 freebsd-swap (2G)
5168912 4155392 4 freebsd-ufs (2G)
9324304 1048576 5 freebsd-ufs (512M)
10372880 94484635 6 freebsd-ufs (45G)
As said, da0s1f looks like it works normally (I tried
dding to a test file until it was full), but it doesn't quite feel right!Any input -> appreciated