El 06/04/2010 0:12, bdz escribis:
hi!
i installed my system with the automated disklabel layout, i just made
some size modifications. the disk is a 500G sata. i got a lot of space
at the end of the disk that now i want to use as storage. i can not add
the new label 'l' because disklabel says:
> a l
offset: [0]
The offset must be>= 0 and< 0, the limits of the OpenBSD portion
of the disk. The 'b' command can change these limits.
the response is the same for any specified number.
here is the current layout:
> p
OpenBSD area: 0-0; size: 0; free: 63
# size offset fstype [fsize bsize cpg]
a: 2104452 63 4.2BSD 2048 16384 1 # /
b: 2104515 2104515 swap
c: 976773168 0 unused
d: 530145 4209030 4.2BSD 2048 16384 1 # /tmp
e: 10490445 4739175 4.2BSD 2048 16384 1 # /var
f: 4209030 15229620 4.2BSD 2048 16384 1 # /usr
g: 2104515 19438650 4.2BSD 2048 16384 1 #
/usr/X11R6
h: 12594960 21543165 4.2BSD 2048 16384 1 #
/usr/local
i: 4209030 34138125 4.2BSD 2048 16384 1 # /usr/src
j: 4209030 38347155 4.2BSD 2048 16384 1 # /usr/obj
k: 2104515 42556185 4.2BSD 2048 16384 1 # /home
it displays the OpenBSD area: 0-0 wrong. what do you suggest to help
with this situation?
could the following work?
- use disklabel -e
- make a new line with label 'l':
l: SIZE OFFSET RAID 2048 16384 1 # /home/storage
- SIZE: c size - (sizes a,b,d-k + 63)
- OFFSET: size k + offset k
- RAID for softraid crypto
- :x
using 4.6-RELEASE. see /var/run/dmesg.boot attached
thank you,
You must enter the offset manually as you say , it would be
k-size + k-offset.
-J