vinum configuration
dave
dmehler26 at woh.rr.com
Sun Nov 23 16:16:41 PST 2003
Hello,
Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard
drives at the moment, two more will be added later once i know my setup is
working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum
configuration. I need to know if all of this is right and if not what is not
up? Also, how do i get the data from one drive to the other? As of now
drive2 is empty.
Thanks.
Dave.
#
# bsdlabel ad0s1 |more
# /dev/ad0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 245760 1048576 4.2BSD 2048 16384 15368
b: 1048295 281 swap
c: 78156162 0 unused 0 0 # "raw" part, don't
edit
d: 245760 1294336 4.2BSD 2048 16384 15368
e: 204800 1540096 4.2BSD 2048 16384 12808
f: 6291456 1744896 4.2BSD 2048 16384 28552
g: 70119810 8036352 4.2BSD 2048 16384 28552
h: 78156146 16 vinum
# bsdlabel ad1s1 |more
# /dev/ad1s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
b: 1048576 0 swap
c: 78156162 0 unused 0 0 # "raw" part, don't
edit
d: 245760 1048576 4.2BSD 2048 16384 15368
e: 204800 1294336 4.2BSD 2048 16384 12808
f: 204800 1499136 4.2BSD 2048 16384 12808
g: 6291456 1703936 4.2BSD 2048 16384 28552
h: 70160770 7995392 4.2BSD 2048 16384 28552
# more /etc/vinum.conf
drive Vinum1 device /dev/ad0s1h
volume root setupstate
plex org concat
sd len 245760s driveoffset 1048576s
volume home setupstate
plex org concat
sd len 70119810s driveoffset 8036352s
volume swap setupstate
plex org concat
sd len 1048295s driveoffset 281s
volume tmp setupstate
plex org concat
sd len 204800s driveoffset 1540096s
volume var setupstate
plex org concat
sd len 245760s driveoffset 1294336s
volume usr setupstate
plex org concat
sd len 6291456s driveoffset 1744896s
# vinum
vinum -> list
1 drives:
D Vinum1 State: up /dev/ad0s1h A: 38162/38162 MB
(100%)
6 volumes:
V root State: up Plexes: 1 Size: 0 B
V home State: up Plexes: 1 Size: 0 B
V swap State: up Plexes: 1 Size: 0 B
V tmp State: up Plexes: 1 Size: 0 B
V var State: up Plexes: 1 Size: 0 B
V usr State: up Plexes: 1 Size: 0 B
6 plexes:
P root.p0 C State: up Subdisks: 0 Size: 0 B
P home.p0 C State: up Subdisks: 0 Size: 0 B
P swap.p0 C State: up Subdisks: 0 Size: 0 B
P tmp.p0 C State: up Subdisks: 0 Size: 0 B
P var.p0 C State: up Subdisks: 0 Size: 0 B
P usr.p0 C State: up Subdisks: 0 Size: 0 B
0 subdisks:
vinum ->
#
More information about the freebsd-questions
mailing list