growfs says 'we are not growing' ?!?!
Rishi Chopra
rchopra at cal.berkeley.edu
Thu Dec 4 11:15:46 PST 2003
Any idea why my partitions (da0s1a, da0s1d, da0s1e) don't have valid
disk labels?
# disklabel -A da0s1d | more
disklabel: /dev/da0s1d: no valid label found
# disklabel -A da0s1e | more
disklabel: /dev/da0s1e: no valid label found
I created the partitions and mount points when installing the os using
the standard GUI.
-Rishi
Dan Nelson wrote:
>In the last episode (Dec 04), Rishi Chopra said:
>
>
>>Trying to enlarge a partition (/usr) on a slice (da0s1) with plenty of
>>space:
>>
>># fdisk
>>
>>The data for partition 1 is:
>>sysid 165 (0xa5), (FreeBSD/NetBSD/386BSD)
>> start 63, size 1171861362 (572197 Meg), flag 80 (active)
>> beg: cyl 0/ head 1/ sector 1
>> end: cyl 1023/ head 254/ sector 63
>>
>># df -h:
>>
>>Filesystem Size Used Avail Capacity Mounted on
>>/dev/da0s1a 193M 80M 98M 45% /
>>/dev/da0s1d 193M 5.9M 172M 3% /var
>>/dev/da0s1e 1.9G 670M 1.1G 37% /usr
>>
>>But when I try:
>>
>># umount /usr
>># growfs /dev/da0s1e
>>
>>
>
>You need to extend your e slice (with disklabel -e da0s1) first.
>You've got three "container" objects: Fdisk slices, BSD partitions, and
>filesystem. You've grown the slice, but you need to also expand the
>partition before growfs can resize the filesystem.
>
>
>
More information about the freebsd-questions
mailing list