From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6431cc211e8df303 X-Google-Attributes: gidfee84,public From: maiello@my-deja.com Subject: Re: Q: RAID Array 230 instalation Date: 1999/12/01 Message-ID: <823non$mjo$1@nnrp1.deja.com>#1/1 X-Deja-AN: 555263746 References: <81tjfu$7sh$1@nnrp1.deja.com> <821kgu$6om$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x28.deja.com:80 (Squid/1.1.22) for client 206.70.248.253 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Dec 01 18:00:58 1999 GMT X-MyDeja-Info: XMYDJUIDmaiello Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.7 [en] (X11; I; SunOS 5.7 sun4u) 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.