Sysinstall fails to re-allocate disk space.
Julian H. Stacey
jhs at berklix.org
Fri Nov 23 07:00:56 PST 2007
Ken Smith wrote:
> Subject: Re: FreeBSD 7.0-BETA3 Available
> The 7.0-BETA3 builds are now available. If you would like to download
I installed 7.0-BETA3-i386-disc1.iso (after checking md5 on cd) on a 4G disc
I told sysinstall:
Use whole disc
A For Auto defaults.
It allocated 9M for swap !
I deleted swap & /usr to get space,
Allocated 100M for swap.
It said not enough space (despite 3G free !)
I guess this is not a 7.0-BETA3 bug but a long term limitation of
sysinstall, for which at best one might file a send-pr requesting
an enhancement or submitting diffs (but I dont wany to poke about
in sysinstall **)
After I had installed I could see more data as below with df &
disklabel as below, but sysinstall didnt show me that much info
furing the install. If I had deleted all partitions but /, I could
probably have allocated more swap, but then I'd have lost sysinstall's
reccomended sizes for all other partitions (OK, yes, I could have
written them down).
Seemed like a bug at the time "Damn! It's got the space, why doesn't
it use it?" Now with df & disklabel one can see why sysinstall
refused: sysinstall was too dumb to shuffle partitions, in older
simpler BSD installs, one would have the full disklabel (& in vi,
not some non BSD ee editor that's no smaller than some vi clones) (**).
real memory = 33554432 (32 MB)
avail memory = 18964480 (18 MB)
ad0: 4121MB <Maxtor 90432D2 GAS54112> at ata0-master UDMA33
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 317166 130316 161478 45% /
devfs 1 1 0 100% /dev
/dev/ad0s1e 221934 12 204168 0% /tmp
/dev/ad0s1f 3186642 118970 2812742 4% /usr
/dev/ad0s1d 348910 230 320768 0% /var
# size offset fstype [fsize bsize bps/cpg]
a: 655360 0 4.2BSD 2048 16384 40968
b: 19352 655360 swap
c: 8440929 0 unused 0 0 # "raw" part...
d: 720896 674712 4.2BSD 2048 16384 45064
e: 458752 1395608 4.2BSD 2048 16384 28680
f: 6586569 1854360 4.2BSD 2048 16384 28552
Device 1K-blocks Used Avail Capacity
/dev/ad0s1b 9676 1820 7856 19%
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
More information about the freebsd-current