* Q: RAID Array 230 instalation
@ 1999-11-29 5:00 darked
1999-11-30 5:00 ` darked
1999-11-30 5:00 ` maiello
0 siblings, 2 replies; 4+ messages in thread
From: darked @ 1999-11-29 5:00 UTC (permalink / raw)
Hi,
I have an Alpha 500ua Personal Workstation running DU 4.0C. I just got
StorageWorks/RAID 230 but have a problem making it visible and working
for my computer. As there was noting about xcr devices in my
/usr/var/adm/messages, I added to /sys/conf/MY_COMP this line:
controller xcr0 at pci0 slot 7 vector xcrintr
but to no avail. Reading user manual (AA-Q6TGD-TE) got me only to that
point. ;-(. Hence my questions:
1. how to get proper slot number?
2. how to find out if I got my controller on pci0?
3. I want to have my three physical disc organised as RAID 5 and splited
into two partitions. Am I right assuming that I need two device file
(like /dev/re0)?
Thanks a lot for your help
Darek
Center of Molecular Medicine (CMM), Karolinska Hospital,
Building L-8.00, S-171 76 Stockholm, Sweden
phone: +46-8-5177-3922 fax: 46-8-517 73909
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Q: RAID Array 230 instalation
1999-11-29 5:00 Q: RAID Array 230 instalation darked
@ 1999-11-30 5:00 ` darked
1999-12-01 5:00 ` maiello
1999-11-30 5:00 ` maiello
1 sibling, 1 reply; 4+ messages in thread
From: darked @ 1999-11-30 5:00 UTC (permalink / raw)
Hi,
thanks to John P Speno and Robert Maiello I passed to the stage that my
controler is recognised. I can not disklabel my RAID though.
I did:
shutdown now
sync; sync
halt
boot -file genvmunix
grep xcr /usr/var/adm/messages got: xcr0 at pci1000 slot 10
I added this info to the /sys/conf/MY_COMP file then:
doconfig -c MY_COMP
backup my /vmunix, copied new one and rebooted.
xcr0 was now recognised ;-)
then I did:
cd /dev
MAKEDEV re0
disklabel -rw rre0 SWXCR #probably this is a printing error in the
manual...
got:
disklabel: /dev/rrre0: No such file or directory
then:
disklabel -rw re0 SWXCR
got:
write: No space left on device
Here I got stuck ;-(.
after:
disklabel -p re0 SWXCR
I got:
# /dev/rre0a:
type: SWXCR
disk: SWXCR
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: -1
tracks/cylinder: -1
sectors/cylinder: 1
cylinders: -1
sectors/unit: -1
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 unused 0 0 # (Cyl. 0 -
131071)
b: 262144 131072 unused 0 0 # (Cyl. 131072 -
393215)
c: 0 0 unused 0 0 # (Cyl. 0 -
-1)
d: 0 0 unused 0 0 # (Cyl. 0 -
-1)
e: 0 0 unused 0 0 # (Cyl. 0 -
-1)
f: 0 0 unused 0 0 # (Cyl. 0 -
-1)
g: 0 0 unused 0 0 # (Cyl. 0 -
-1)
h: 0 0 unused 0 0 # (Cyl. 0 -
-1)
I failed to find any solution to that on the Usenet so far. My three
RAID disks "forming" an array are DS-RZ100-VW 9.1Gb. Editing existing
/etc/disktab entry:
re|SWXCR|DEC RAID Controller (multi-spindle):\
:ty=dynamic_geometry:dt=RAID_CONTROLLER:ns#-1:nt#-1:nc#-1:\
:oa#0:pa#131072:ba#8192:fa#1024:\
:ob#131072:pb#262144:bb#8192:fb#1024:\
:oc#0:pc#-1:bc#8192:fc#1024:\
:od#0:pd#0:bd#8192:fd#1024:\
:oe#0:pe#0:be#8192:fe#1024:\
:of#0:pf#0:bf#8192:ff#1024:\
:og#393216:pg#-1:bg#8192:fg#1024:\
:oh#0:ph#0:bh#8192:fh#1024:
did not looked straitforward to me...
The swxcrmgr can see my three disks on two RAID controler channels, but
I can not do anything apart from it.
Your help will be very much appreciated.
Greetings.
Darek
Center of Molecular Medicine (CMM), Karolinska Hospital,
Building L-8.00, S-171 76 Stockholm, Sweden
phone: +46-8-5177-3922 fax: 46-8-517 73909
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Q: RAID Array 230 instalation
1999-11-30 5:00 ` darked
@ 1999-12-01 5:00 ` maiello
0 siblings, 0 replies; 4+ messages in thread
From: maiello @ 1999-12-01 5:00 UTC (permalink / raw)
Darek,
Should go something like this (assuming you intialize the logical raid
unit in the RCU program and its seen on boot as
re0).
./MAKEDEV re0
disklabel -wr re0 SWXCR (or UNKOWN on 4.0D to query the disk)
disklabel -e re0
Your partition c should correspond to length of the logical device re0.
No editing of disktab is necessary; specifying SWXCR or re should
write the correct label.. querying the logical raid unit for the size.
It didn't seem to work for you; the label you have shows it. Try
a disklabel -z to zero the broken label out and try again. You could
also try a manual disklabel edit (with the correct size); here's
one of mine for a 4Gb mirror. Good luck.
Robert Maiello
Toys R Us Unix Group
maiellor@toysrus,com
# /dev/rre0a:
type: SWXCR
disk: SWXCR
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 128
sectors/cylinder: 4096
cylinders: 2045
sectors/unit: 8378368
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 262144 0 AdvFS # (Cyl. 0 -
63)
b: 524288 262144 swap # (Cyl. 64 -
191)
c: 8378368 0 unused 0 0 # (Cyl. 0 -
2045*)
d: 0 0 unused 0 0 # (Cyl. 0 -
-1)
e: 0 0 unused 0 0 # (Cyl. 0 -
-1)
f: 0 0 unused 0 0 # (Cyl. 0 -
-1)
g: 7591936 786432 AdvFS # (Cyl. 192 -
2045*)
h: 0 0 unused 0 0 # (Cyl. 0 -
-1)
In article <821kgu$6om$1@nnrp1.deja.com>,
darked@my-deja.com wrote:
> Hi,
>
> thanks to John P Speno and Robert Maiello I passed to the stage that
my
> controler is recognised. I can not disklabel my RAID though.
>
> I did:
> shutdown now
> sync; sync
> halt
> boot -file genvmunix
> grep xcr /usr/var/adm/messages got: xcr0 at pci1000 slot 10
> I added this info to the /sys/conf/MY_COMP file then:
> doconfig -c MY_COMP
> backup my /vmunix, copied new one and rebooted.
> xcr0 was now recognised ;-)
> then I did:
> cd /dev
> MAKEDEV re0
> disklabel -rw rre0 SWXCR #probably this is a printing error in the
> manual...
> got:
> disklabel: /dev/rrre0: No such file or directory
> then:
> disklabel -rw re0 SWXCR
> got:
> write: No space left on device
>
> Here I got stuck ;-(.
>
> after:
> disklabel -p re0 SWXCR
> I got:
> # /dev/rre0a:
> type: SWXCR
> disk: SWXCR
> label:
> flags: dynamic_geometry
> bytes/sector: 512
> sectors/track: -1
> tracks/cylinder: -1
> sectors/cylinder: 1
> cylinders: -1
> sectors/unit: -1
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 131072 0 unused 0 0 # (Cyl. 0 -
> 131071)
> b: 262144 131072 unused 0 0 # (Cyl. 131072
-
> 393215)
> c: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
> d: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
> e: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
> f: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
> g: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
> h: 0 0 unused 0 0 # (Cyl. 0 -
> -1)
>
> I failed to find any solution to that on the Usenet so far. My three
> RAID disks "forming" an array are DS-RZ100-VW 9.1Gb. Editing existing
> /etc/disktab entry:
> re|SWXCR|DEC RAID Controller (multi-spindle):\
> :ty=dynamic_geometry:dt=RAID_CONTROLLER:ns#-1:nt#-1:nc#-1:\
> :oa#0:pa#131072:ba#8192:fa#1024:\
> :ob#131072:pb#262144:bb#8192:fb#1024:\
> :oc#0:pc#-1:bc#8192:fc#1024:\
> :od#0:pd#0:bd#8192:fd#1024:\
> :oe#0:pe#0:be#8192:fe#1024:\
> :of#0:pf#0:bf#8192:ff#1024:\
> :og#393216:pg#-1:bg#8192:fg#1024:\
> :oh#0:ph#0:bh#8192:fh#1024:
>
> did not looked straitforward to me...
> The swxcrmgr can see my three disks on two RAID controler channels,
but
> I can not do anything apart from it.
> Your help will be very much appreciated.
>
> Greetings.
>
> Darek
>
> Center of Molecular Medicine (CMM), Karolinska Hospital,
> Building L-8.00, S-171 76 Stockholm, Sweden
> phone: +46-8-5177-3922 fax: 46-8-517 73909
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Q: RAID Array 230 instalation
1999-11-29 5:00 Q: RAID Array 230 instalation darked
1999-11-30 5:00 ` darked
@ 1999-11-30 5:00 ` maiello
1 sibling, 0 replies; 4+ messages in thread
From: maiello @ 1999-11-30 5:00 UTC (permalink / raw)
Darek,
Your close. Boot the system with genvmunix (boot -file genvmunix).
Then run sizer -n TEMPCONFILE. You can then get the controller
lines you need from a diff of MY_COMP and TEMPCONFILE. You only
need the lines that pertain to controllers,slots etc..not options.
Post if you need a more detailed procedure mailed.
Robert Maiello
Toys R Us Unix Group
maiellor@toyrsrus,com
In article <81tjfu$7sh$1@nnrp1.deja.com>,
darked@my-deja.com wrote:
> Hi,
>
> I have an Alpha 500ua Personal Workstation running DU 4.0C. I just got
> StorageWorks/RAID 230 but have a problem making it visible and working
> for my computer. As there was noting about xcr devices in my
> /usr/var/adm/messages, I added to /sys/conf/MY_COMP this line:
>
> controller xcr0 at pci0 slot 7 vector xcrintr
>
> but to no avail. Reading user manual (AA-Q6TGD-TE) got me only to that
> point. ;-(. Hence my questions:
>
> 1. how to get proper slot number?
> 2. how to find out if I got my controller on pci0?
> 3. I want to have my three physical disc organised as RAID 5 and
splited
> into two partitions. Am I right assuming that I need two device file
> (like /dev/re0)?
>
> Thanks a lot for your help
>
> Darek
>
> Center of Molecular Medicine (CMM), Karolinska Hospital,
> Building L-8.00, S-171 76 Stockholm, Sweden
> phone: +46-8-5177-3922 fax: 46-8-517 73909
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-12-01 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-29 5:00 Q: RAID Array 230 instalation darked
1999-11-30 5:00 ` darked
1999-12-01 5:00 ` maiello
1999-11-30 5:00 ` maiello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox