Adding partition
Markus Oestreicher
m.oe at x-trader.de
Mon Mar 13 11:21:46 UTC 2006
Good Day,
There is free space at the end of my disk and I want to move
/usr/ports do a dedicated partition.
# disklabel /dev/ad10s1
# /dev/ad10s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1024000 0 4.2BSD 2048 16384 64008
b: 2252800 44032000 swap
c: 368627427 0 unused 0 0 # "raw"
d: 2048000 1024000 4.2BSD 2048 16384 28552
e: 20480000 3072000 4.2BSD 2048 16384 28552
f: 20480000 23552000 4.2BSD 2048 16384 28552
I want to add a g partition with 10 GByte to end.
When I enter "disklabel -e /dev/ad10s1" vi opens and I add
the following line to the end:
g: 20480000 44032000 4.2BSD 2048 16384 28552
Upon saving I get an error that partitions "c" and "g" overlap.
As far as I have read this is on purpose. How can I avoid the
error message?
I tried it via sysinstall but didn't work either. When saving
the new disklabels I get "Unable to write data to disk ad10".
I assume that is because ad10 is currently mounted?
Thank you!
Markus
More information about the freebsd-questions
mailing list