Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2008 14:31:55 +0300
From:      "Reinis Ivanovs" <dabas@untu.ms>
To:        freebsd-fs@freebsd.org
Subject:   growing ufs in a virtualization
Message-ID:  <5b826e210804130431w7ca5fbcbsbf86b22c956a7b2b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello,

I have the following problem. I have a fbsd 7.0 vps running on vmware,
and the available disk space has been increased since the os was
installed. it means that the disk has "magically" gotten bigger, and
in dmesg I see that /dev/da0 has 6291456 sectors, but bsdlabel says
that the c partition has 4192902 sectors. if I do bsdlabel -e da0s1
and try to inclease the sectors to the correct number, it says
> partition c: partition extends past end of unit
> disklabel: partition c doesn't cover the whole unit!
> disklabel: An incorrect partition c may cause problems for standard system utilities
I'm a bit at a loss here. the manpage for growfs says that "the disk
must be labeled to a bigger size using bsdlabel" before I can use it,
but I don't know how. any help would be appreciated

best,
reinis


-- 
http://untu.ms/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b826e210804130431w7ca5fbcbsbf86b22c956a7b2b>