Date: Wed, 12 Jan 2005 00:42:14 -0800 From: Andrew Konstantinov <abkonstantinov@earthlink.net> To: freebsd-stable@freebsd.org Subject: Re: /usr too small Message-ID: <20050112084214.GA54496@warrior.kableu.com> In-Reply-To: <200501120922.19637.marc.plumet@edpnet.be> References: <200501120922.19637.marc.plumet@edpnet.be>
next in thread | previous in thread | raw e-mail | index | archive | help
--azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 12, 2005 at 09:22:19AM +0100, Marc Plumet wrote: > Dear all, >=20 > my system : > kern.osreldate: 503001 > FreeBSD 5.3-RELEASE #0: Tue Nov 9 13:34:27 CET 2004 >=20 > I am running Freebsd on a laptop (Compaq Evo N800c). > I have a winnt partition (8GB) > I have a ufs partition (11GB) >=20 > I have ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=3D38760 heads=3D16 sectors/track=3D63 (1008 blks/cyl) >=20 > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=3D38760 heads=3D16 sectors/track=3D63 (1008 blks/cyl) >=20 > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) > start 63, size 16374897 (7995 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 16374960, size 22695120 (11081 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 >=20 > my problem is that /usr is getting full. > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s2a 507630 362568 104452 78% / > devfs 1 1 0 100% /dev > /dev/ad0s2f 3966294 2783584 865408 76% /home > /dev/ad0s2e 4737646 4222964 135672 97% /usr > /dev/ad0s2d 1012974 55104 876834 6% /var >=20 > I could scratch the winnt partition because I can do most of my work now = with=20 > FreeBSD, I still need java/openoffice though, but therfore I need some fr= ee=20 > space first. >=20 > Is there a way to use the free space from the "scratched-winnt" partition= to=20 > increase the /usr size ? Perhaps someone can give you a better advice but the easiest thing to do is= to: 1) remove winnt partition 2) create freebsd partition 3) find a directory that takes up most space in /usr 4) put the content of that directory onto the new partition 5) remove the old directory and mount the new partition there OR You could try something fancy like using growfs for growing the filesystem = or unionfs for creating multiple filesystem layers. Hope this helps, Andrew --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB5OLl5Jhyz2/cFigRAnHJAJ9znhv9xpjyom4bDERmt4IXz6NfEACgsYpD Y0p75o4hRI0RVW/ap2C51dk= =g552 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050112084214.GA54496>