RAID 1 in HP NetServer LC 2000
Muhammad Reza
reza at mra.co.id
Tue Oct 12 20:13:11 PDT 2004
Greg 'groggy' Lehey wrote:
>On Monday, 11 October 2004 at 5:55:24 +0700, Muhammad Reza wrote:
>
>
>>Ok.. vinum then..
>>but i have error when applied this vinum.conf
>>
>>drive drive1 device /dev/da0s1e
>>drive drive2 device /dev/da1s1e
>>volume usr setupstate
>> plex org concat
>> sd length 13887091s drive drive1
>> plex org concat
>> sd length 13887091s drive drive2
>>volume var setupstate
>> plex org concat
>> sd length 0 drive drive1
>> plex org concat
>> sd length 0 drive drive2
>>
>>mail# vinum
>>vinum -> create -f /etc/vinum.conf
>> 2: drive drive2 device /dev/da1s1e
>>/*** 2 : Invalid argument*/
>>1 drives:
>>D drive1 State: up Device /dev/da0s1e Avail:
>>0/16488 MB (0%)
>>D drive2 State: referenced Device /dev/da1s1e
>>Avail: 0/0 MB
>>
>>2 volumes:
>>V usr State: up Plexes: 2 Size: 6780 MB
>>V var State: up Plexes: 2 Size: 9707 MB
>>
>>4 plexes:
>>P usr.p0 C State: up Subdisks: 1 Size: 6780 MB
>>P usr.p1 C State: up Subdisks: 1 Size: 6780 MB
>>P var.p0 C State: up Subdisks: 1 Size: 9707 MB
>>P var.p1 C State: up Subdisks: 1 Size: 0 B
>>
>>4 subdisks:
>>S usr.p0.s0 State: up PO: 0 B Size: 6780 MB
>>S usr.p1.s0 State: up PO: 0 B Size: 6780 MB
>>S var.p0.s0 State: up PO: 0 B Size: 9707 MB
>>S var.p1.s0 State: up PO: 0 B Size: 0 B
>>
>>which argumen is invalid ? i use 4.10 ..
>>please help me...
>>
>>
>
>Take a look at the man page or
>http://www.vinumvm.org/vinum/how-to-debug.html.
>
>Greg
>--
>When replying to this message, please copy the original recipients.
>If you don't, I may ignore the reply or reply to the original recipients.
>For more information, see http://www.lemis.com/questions.html
>See complete headers for address and phone numbers.
>
>
Dear All,
After read some paper and man page of vinum, i still have some difficulty.
I have 2 disk identical disk that i want to mirrored 1:1 (RAID-1), first
disk label is
/#disklabel /da0
--snip--
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1024000 0 4.2BSD 2048 16384 90 # (Cyl. 0 - 63*)
b: 1048576 1024000 swap # (Cyl. 63*- 129*)
c: 35840952 0 unused 0 0 # (Cyl. 0 -
2230*)
e: 33768376 2072576 4.2BSD 2048 16384 89 # (Cyl. 129*-
2230*/)
/#cat /etc/fstab
/dev/da0s1b none swap sw 0 0
/dev/da0s1a / ufs rw 1 1
/dev/da0s1e /usr ufs rw 2 2
/dev/acd0c /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0/
my question is ;
how to prepare second disk layout (ad1) and rename it, so it can user
RAID-1 and boot from the second one if ad0 fail ?
Please help me.
regards
reza
More information about the freebsd-questions
mailing list