Re: RAID 1 in HP NetServer LC 2000

2004-10-14 Thread Muhammad Reza
Muhammad Reza wrote:
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 drive1State: up   Device /dev/da0s1e  Avail:
0/16488 MB (0%)
D drive2State: 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   offsetfstype   [fsize bsize bps/cpg]
 a:  102400004.2BSD 2048 1638490   # (Cyl.0 - 
63*)
 b:  1048576  1024000  swap# (Cyl.   63*- 
129*)
 c: 358409520unused0 0 # (Cyl.0 - 
2230*)
 e: 33768376  20725764.2BSD 2048 1638489   # (Cyl.  129*- 
2230*/)

/#cat /etc/fstab
/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s1e /usrufs 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



so i  prepare second disk layout like this :
/rootback with same size with / at 1st disk
/swap   with same size with swap at 1st disk
/NOFUTURE remaining size
now i have RAID-1 at my NetServer.
regards
reza
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID 1 in HP NetServer LC 2000

2004-10-12 Thread Muhammad Reza
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 drive1State: up   Device /dev/da0s1e  Avail:
0/16488 MB (0%)
D drive2State: 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   offsetfstype   [fsize bsize bps/cpg]
 a:  102400004.2BSD 2048 1638490   # (Cyl.0 - 63*)
 b:  1048576  1024000  swap# (Cyl.   63*- 129*)
 c: 358409520unused0 0 # (Cyl.0 - 
2230*)
 e: 33768376  20725764.2BSD 2048 1638489   # (Cyl.  129*- 
2230*/)

/#cat /etc/fstab
/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s1e /usrufs 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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID 1 in HP NetServer LC 2000

2004-10-11 Thread Greg 'groggy' Lehey
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 drive1State: up   Device /dev/da0s1e  Avail:
> 0/16488 MB (0%)
> D drive2State: 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.


pgptACcaXyNWh.pgp
Description: PGP signature


Re: RAID 1 in HP NetServer LC 2000

2004-10-11 Thread Muhammad Reza
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 drive1State: up   Device /dev/da0s1e  Avail: 
0/16488 MB (0%)
D drive2State: 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...
regards
reza
Am Freitag, 8. Oktober 2004 15:47 schrieb Muhammad Reza:
 

Dear All,
Howto setup RAID 1 in HP NetServer LC 2000 ? I have 2 Seagate HDD that
want to be mirror 1:1,
Can i do that from Symbios software or tool from my FreeBSD 4.10 ?
   

With 4.10 you have the choice of vinum and ccd, in 5.3 you also have gmirror 
for RAID1. See the man pages for details, ccd is quiet easy, vinum is a bit 
more complex but more flexible too.

-Harry
 

regards
reza
---snip---
sym0: <896> port 0x2000-0x20ff mem
0xfd00-0xfd001fff,0xfd002000-0xfd0023ff irq 11 at device 6.0 on pci3
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym1: <896> port 0x2400-0x24ff mem
0xfd004000-0xfd005fff,0xfd002400-0xfd0027ff irq 5 at device 6.1 on pci3
sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
---snap---
..
..
--snip--
da0 at sym1 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at sym1 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
---snap---


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]
"
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID 1 in HP NetServer LC 2000

2004-10-09 Thread Emanuel Strobl
Am Freitag, 8. Oktober 2004 15:47 schrieb Muhammad Reza:
> Dear All,
> Howto setup RAID 1 in HP NetServer LC 2000 ? I have 2 Seagate HDD that
> want to be mirror 1:1,
> Can i do that from Symbios software or tool from my FreeBSD 4.10 ?

With 4.10 you have the choice of vinum and ccd, in 5.3 you also have gmirror 
for RAID1. See the man pages for details, ccd is quiet easy, vinum is a bit 
more complex but more flexible too.

-Harry

>
> regards
> reza
> ---snip---
> sym0: <896> port 0x2000-0x20ff mem
> 0xfd00-0xfd001fff,0xfd002000-0xfd0023ff irq 11 at device 6.0 on pci3
> sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
> sym0: open drain IRQ line driver, using on-chip SRAM
> sym0: using LOAD/STORE-based firmware.
> sym0: handling phase mismatch from SCRIPTS.
> sym1: <896> port 0x2400-0x24ff mem
> 0xfd004000-0xfd005fff,0xfd002400-0xfd0027ff irq 5 at device 6.1 on pci3
> sym1: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
> sym1: open drain IRQ line driver, using on-chip SRAM
> sym1: using LOAD/STORE-based firmware.
> sym1: handling phase mismatch from SCRIPTS.
> ---snap---
> ..
> ..
> --snip--
> da0 at sym1 bus 0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-3 device
> da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
> Enabled
> da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
> da1 at sym1 bus 0 target 1 lun 0
> da1:  Fixed Direct Access SCSI-3 device
> da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
> Enabled
> da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
> ---snap---
>
>
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgpHdMlgIzhgY.pgp
Description: PGP signature