graid fresh install

From: Mike Tancsa <mike_at_sentex.net>
Date: Fri, 05 Aug 2011 12:01:01 -0400
I netbooted 9.0 Beta and was going to try and install the system onto a
raid1 mirror built with graid.  However, neither sysinstall nor
bsdinstall see it fully

I have the box netbooted (Intel Matrix raid)


i5# graid status -ags
Intel-a5bbf622  OPTIMAL  ada0 (ACTIVE (ACTIVE))
Intel-a5bbf622  OPTIMAL  ada1 (ACTIVE (ACTIVE))
i5#


I can newfs /dev/raid/r0

i5# ls -l /dev/raid/r0
crw-r-----  1 root  operator    0,  98 Aug  5 10:43 /dev/raid/r0
i5#

and mount it. However, speeds seem a bit slow, but I am not sure if
thats to be expected.

i5# dd if=/dev/zero of=/mnt/test bs=1024k count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 13.996080 secs (7491926 bytes/sec)
i5#


i5# iostat -c 1000 ada0 ada1
       tty            ada0             ada1             cpu
 tin  tout  KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   2   204 124.47   5  0.57  124.28   5  0.57   0  0  0  0 100
   0   186 128.00  60  7.49  128.00  62  7.74   0  0  0  0 100
   0    64 128.00  55  6.87  128.00  50  6.24   0  0  0  1 99
   0    63 128.00  60  7.49  128.00  64  7.99   0  0  0  1 99
   0    63 128.00  40  4.99  128.00  40  4.99   0  0  0  1 99
   0    63 126.43  61  7.52  128.00  59  7.37   0  0  0  0 99
   0    63 128.00  45  5.62  128.00  43  5.37   0  0  0  1 99
   0    63 128.00  50  6.24  128.00  51  6.37   0  0  0  0 100
   0    64 128.00  50  6.24  128.00  49  6.12   0  0  0  1 99
   0    63 128.00  80  9.99  128.00  81 10.11   0  0  0  0 100
   0    64 128.00  70  8.74  128.00  71  8.87   0  0  0  0 99

But when I run sysintall, it does not find any disks. If I run
bsdinstall, it sees ada0 and ada1, but I cannot partition and label the
raid partition.  Am I supposed to just write to ada0 ? What is the best
way to do it

Guided just shows ada0 and ada1

The partition editor does show

md0           4.0 MB    malloc
ada0          465 GB
  raid/r0     465 GB
ada1          465 GB
  raid/r0     465 GB

But I cannot label any of the r0 'disks'

It comes up with
Invalid argument.
arg0
'Intel-a5bbf622'



ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD5002AALX-00J37A0 15.01H15> ATA-8 SATA 3.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD5002AALX-00J37A0 15.01H15> ATA-8 SATA 3.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
ahci0: <Intel ICH8 AHCI SATA controller> port
0x3068-0x306f,0x3074-0x3077,0x3060-0x3067,0x3070-0x3073,0x3020-0x303f
mem 0xb2620000-0xb26207ff irq 18 at device 31.2 o
n pci0
ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0




	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike_at_sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
Received on Fri Aug 05 2011 - 14:01:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC