Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Tru64 and RAID
@ 2004-07-27 20:33 At Work
  2004-07-27 20:42 ` At Work
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: At Work @ 2004-07-27 20:33 UTC (permalink / raw)


Hello all.  I apologize if this is an elementary question, but I am new 
to Tru64.  I am running 2 machines with Tru64.  The production machine 
is running Tru64 Version 5.1a, and a test box is running Tru64 Version 
5.1b.  I am doing some testing on my test box before I do the same on 
the production box.  Currently I have Tru64 installed on an internal 
drive.  Tru64 is running like a champ.  I added a KZPAC SCSI RAID 
controller and a storage pedestal.  It has just 2 drives in it right 
now.  I have created a group, and initialized the 2 drives to mirror 
each other.  Everything looks good with that.  Now I jump back into 
Tru64, and my ultimate goal is to add that space to an existing File 
Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
the ADVFS utilities and have them installed.  However, I need some 
assistance in making Tru64 see the extra space.  Can someone please 
advise me as to my next steps, or a FAQ/article to read over.  Thank you 
for your time!


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 20:33 Tru64 and RAID At Work
@ 2004-07-27 20:42 ` At Work
  2004-07-28  2:30   ` Zoong Pham
  2004-07-29  9:35   ` Jyrki Havia
  2004-07-27 22:32 ` Mike Dorn
  2004-07-28 15:52 ` At Work
  2 siblings, 2 replies; 9+ messages in thread
From: At Work @ 2004-07-27 20:42 UTC (permalink / raw)


Some more information that I have found out, by reading other posts.  If 
I drop to the BIOS and do a show dev, it is showing up as:

dra0.0.0.12.0	DRA0		2 member RAID 1

However, when I go into Tru64 and do a hwmgr show scsi:
It does not show up.. only the CD-Rom and the internal Hard Drive.


At Work wrote:

> Hello all.  I apologize if this is an elementary question, but I am new 
> to Tru64.  I am running 2 machines with Tru64.  The production machine 
> is running Tru64 Version 5.1a, and a test box is running Tru64 Version 
> 5.1b.  I am doing some testing on my test box before I do the same on 
> the production box.  Currently I have Tru64 installed on an internal 
> drive.  Tru64 is running like a champ.  I added a KZPAC SCSI RAID 
> controller and a storage pedestal.  It has just 2 drives in it right 
> now.  I have created a group, and initialized the 2 drives to mirror 
> each other.  Everything looks good with that.  Now I jump back into 
> Tru64, and my ultimate goal is to add that space to an existing File 
> Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
> the ADVFS utilities and have them installed.  However, I need some 
> assistance in making Tru64 see the extra space.  Can someone please 
> advise me as to my next steps, or a FAQ/article to read over.  Thank you 
> for your time!


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 20:33 Tru64 and RAID At Work
  2004-07-27 20:42 ` At Work
@ 2004-07-27 22:32 ` Mike Dorn
  2004-07-28 15:30   ` At Work
  2004-07-28 15:52 ` At Work
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Dorn @ 2004-07-27 22:32 UTC (permalink / raw)


At Work wrote:
> Hello all.  I apologize if this is an elementary question, but I am new 
> to Tru64.  I am running 2 machines with Tru64.  The production machine 
> is running Tru64 Version 5.1a, and a test box is running Tru64 Version 
> 5.1b.  I am doing some testing on my test box before I do the same on 
> the production box.  Currently I have Tru64 installed on an internal 
> drive.  Tru64 is running like a champ.  I added a KZPAC SCSI RAID 
> controller and a storage pedestal.  It has just 2 drives in it right 
> now.  I have created a group, and initialized the 2 drives to mirror 
> each other.  Everything looks good with that.  Now I jump back into 
> Tru64, and my ultimate goal is to add that space to an existing File 
> Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
> the ADVFS utilities and have them installed.  However, I need some 
> assistance in making Tru64 see the extra space.  Can someone please 
> advise me as to my next steps, or a FAQ/article to read over.  Thank you 
> for your time!

Not sure why you would want to add mirrored storage into the same file domain 
with non-mirrored storage.  If you lose one of the non-mirrored internal drives, 
you still have to rebuild the entire domain from backups.  You'd be better off 
creating a separate file domain for the protected storage, and hosting critical 
data in it, leaving easily-rebuilt stuff in the usr_domain.  (Or attaching your 
internal drives to the kzpac as well, and rebuilding everything.)

That aside, your OS won't see your new raid controller until you build a new 
kernel.  Not sure about 5.1, but under 4.0 this was accomplished by rebooting 
with a kernel of /genvmunix to detect the new hardware, and then runnning 
doconfig to create a new config file & kernel.  Once you've got the correct 
entry for the kzpac, you can add logical drives to the o/s in the future by just 
manually editing the config file and building.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 20:42 ` At Work
@ 2004-07-28  2:30   ` Zoong Pham
  2004-07-28  5:41     ` Erkki Aalto
  2004-07-28 15:32     ` At Work
  2004-07-29  9:35   ` Jyrki Havia
  1 sibling, 2 replies; 9+ messages in thread
From: Zoong Pham @ 2004-07-28  2:30 UTC (permalink / raw)


On 2004-07-27, At Work <Imatwork@nothere.com> wrote:
>
> However, when I go into Tru64 and do a hwmgr show scsi:
> It does not show up.. only the CD-Rom and the internal Hard Drive.

You have to refresh the hw database by:
"hwmgr -scan scsi"
then try again: "hwmgr -show scsi"

> At Work wrote:
>
>> each other.  Everything looks good with that.  Now I jump back into 
>> Tru64, and my ultimate goal is to add that space to an existing File 
>> Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
>> the ADVFS utilities and have them installed.  However, I need some 

Once you can see the new disk, you need to creat partitions(s) from
that disk. Check disklabel(8).

Then you can use addvol(8) to add the newly created partitions(s) to
your exisint file domain usr_domain.
If you use LSM, the step is simlar with voldiskadm(8)

HTH,
Zoong


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-28  2:30   ` Zoong Pham
@ 2004-07-28  5:41     ` Erkki Aalto
  2004-07-28 15:32     ` At Work
  1 sibling, 0 replies; 9+ messages in thread
From: Erkki Aalto @ 2004-07-28  5:41 UTC (permalink / raw)


Zoong Pham <zoong@zoong_dot_com> wrote:
: On 2004-07-27, At Work <Imatwork@nothere.com> wrote:
: >
: > However, when I go into Tru64 and do a hwmgr show scsi:
: > It does not show up.. only the CD-Rom and the internal Hard Drive.

: You have to refresh the hw database by:
: "hwmgr -scan scsi"
: then try again: "hwmgr -show scsi"

Probably you shoud boot the system with the genvmunix kernel and do a
kernel rebuild. Then the disks would be visible in the boot.
Without the RAID controller support in the kernel the disks would
be visible only when the system is up and running.

-- 
Erkki '�rkki' Aalto                          "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI             the horrible and the miserable"
Snail: P.O. Box 64
       FI-00014 University of Helsinki, Finland


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 22:32 ` Mike Dorn
@ 2004-07-28 15:30   ` At Work
  0 siblings, 0 replies; 9+ messages in thread
From: At Work @ 2004-07-28 15:30 UTC (permalink / raw)


Mike,
Thanks for getting back to me.  This is just a test environment, and no 
important data is going to be on this RAID set.  On the production 
machine, the RAID will join other RAID sets, like you had said.  This is 
just a dry run to see how easy it is to do, and if any problems come up 
before we do it on the production box.  The kernel that is running does 
have support for the KZPAC compiled in.  Is there a way to double check, 
since the individual that did this build is not available for a couple 
of days.

Mike Dorn wrote:
> At Work wrote:
> 
>> Hello all.  I apologize if this is an elementary question, but I am 
>> new to Tru64.  I am running 2 machines with Tru64.  The production 
>> machine is running Tru64 Version 5.1a, and a test box is running Tru64 
>> Version 5.1b.  I am doing some testing on my test box before I do the 
>> same on the production box.  Currently I have Tru64 installed on an 
>> internal drive.  Tru64 is running like a champ.  I added a KZPAC SCSI 
>> RAID controller and a storage pedestal.  It has just 2 drives in it 
>> right now.  I have created a group, and initialized the 2 drives to 
>> mirror each other.  Everything looks good with that.  Now I jump back 
>> into Tru64, and my ultimate goal is to add that space to an existing 
>> File Domain (usr_domain) which /usr and /var are housed on.  I have 
>> purchased the ADVFS utilities and have them installed.  However, I 
>> need some assistance in making Tru64 see the extra space.  Can someone 
>> please advise me as to my next steps, or a FAQ/article to read over.  
>> Thank you for your time!
> 
> 
> Not sure why you would want to add mirrored storage into the same file 
> domain with non-mirrored storage.  If you lose one of the non-mirrored 
> internal drives, you still have to rebuild the entire domain from 
> backups.  You'd be better off creating a separate file domain for the 
> protected storage, and hosting critical data in it, leaving 
> easily-rebuilt stuff in the usr_domain.  (Or attaching your internal 
> drives to the kzpac as well, and rebuilding everything.)
> 
> That aside, your OS won't see your new raid controller until you build a 
> new kernel.  Not sure about 5.1, but under 4.0 this was accomplished by 
> rebooting with a kernel of /genvmunix to detect the new hardware, and 
> then runnning doconfig to create a new config file & kernel.  Once 
> you've got the correct entry for the kzpac, you can add logical drives 
> to the o/s in the future by just manually editing the config file and 
> building.
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-28  2:30   ` Zoong Pham
  2004-07-28  5:41     ` Erkki Aalto
@ 2004-07-28 15:32     ` At Work
  1 sibling, 0 replies; 9+ messages in thread
From: At Work @ 2004-07-28 15:32 UTC (permalink / raw)


Zoong,
Thanks for getting back to me so quickly!  I have done hwmgr -scan scsi 
and Tru64 says "scan request successfully initiated", and then returns 
me to a prompt.  If I use the -verbose flag, the same thing occurs.  It 
is still not showing un in the hwmgr -show scsi either.  Any other 
suggestions?  I do believe that the kernel has support for the kzpac card.

Zoong Pham wrote:

> On 2004-07-27, At Work <Imatwork@nothere.com> wrote:
> 
>>However, when I go into Tru64 and do a hwmgr show scsi:
>>It does not show up.. only the CD-Rom and the internal Hard Drive.
> 
> 
> You have to refresh the hw database by:
> "hwmgr -scan scsi"
> then try again: "hwmgr -show scsi"
> 
> 
>>At Work wrote:
>>
>>
>>>each other.  Everything looks good with that.  Now I jump back into 
>>>Tru64, and my ultimate goal is to add that space to an existing File 
>>>Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
>>>the ADVFS utilities and have them installed.  However, I need some 
> 
> 
> Once you can see the new disk, you need to creat partitions(s) from
> that disk. Check disklabel(8).
> 
> Then you can use addvol(8) to add the newly created partitions(s) to
> your exisint file domain usr_domain.
> If you use LSM, the step is simlar with voldiskadm(8)
> 
> HTH,
> Zoong


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 20:33 Tru64 and RAID At Work
  2004-07-27 20:42 ` At Work
  2004-07-27 22:32 ` Mike Dorn
@ 2004-07-28 15:52 ` At Work
  2 siblings, 0 replies; 9+ messages in thread
From: At Work @ 2004-07-28 15:52 UTC (permalink / raw)


I just wanted to close this out.  I believe I got this working!  Thanks 
to everyone that helped.

The key was /dev/disk/dsk1c , that was where Tru64 found the new space. 
    This was found out by going in through sys manager and going in 
through Hardware, and selecting Device Information.

Next I went and used disklabel -wr /dev/disk/dsk1c
Then did disklabel -t advfs

Then simply use addvol /dev/disk/dsk1c usr_vol

More space was added!

I appreciate everyone helping.  I am still relatively new to Tru64, and 
appreciate everyone's patience as well.

At Work wrote:
> Hello all.  I apologize if this is an elementary question, but I am new 
> to Tru64.  I am running 2 machines with Tru64.  The production machine 
> is running Tru64 Version 5.1a, and a test box is running Tru64 Version 
> 5.1b.  I am doing some testing on my test box before I do the same on 
> the production box.  Currently I have Tru64 installed on an internal 
> drive.  Tru64 is running like a champ.  I added a KZPAC SCSI RAID 
> controller and a storage pedestal.  It has just 2 drives in it right 
> now.  I have created a group, and initialized the 2 drives to mirror 
> each other.  Everything looks good with that.  Now I jump back into 
> Tru64, and my ultimate goal is to add that space to an existing File 
> Domain (usr_domain) which /usr and /var are housed on.  I have purchased 
> the ADVFS utilities and have them installed.  However, I need some 
> assistance in making Tru64 see the extra space.  Can someone please 
> advise me as to my next steps, or a FAQ/article to read over.  Thank you 
> for your time!


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Tru64 and RAID
  2004-07-27 20:42 ` At Work
  2004-07-28  2:30   ` Zoong Pham
@ 2004-07-29  9:35   ` Jyrki Havia
  1 sibling, 0 replies; 9+ messages in thread
From: Jyrki Havia @ 2004-07-29  9:35 UTC (permalink / raw)


At Work <Imatwork@nothere.com> writes:

> Some more information that I have found out, by reading other posts.  If 
> I drop to the BIOS and do a show dev, it is showing up as:

> dra0.0.0.12.0	DRA0		2 member RAID 1

> However, when I go into Tru64 and do a hwmgr show scsi:
> It does not show up.. only the CD-Rom and the internal Hard Drive.

	It is not a scsi-device, it is propably an I2O device.

kantti# hwmgr view devices
 HWID: Device Name          Mfg      Model            Location
 ------------------------------------------------------------------------------
    4: /dev/dmapi/dmapi                               
    5: /dev/scp_scsi                                  
    6: /dev/kevm                                      
   66: /dev/disk/dsk0c               i2o_bs           iop-0-dev-0
   67: /dev/disk/cdrom0c    HL-DT-ST CD-RW GCE-8320B  bus-0-targ-0-lun-0
   78: /dev/random                                    
   79: /dev/urandom                                   
   80: /dev/cport/scp1               HSV110 (C)COMPAQ bus-2-targ-0-lun-0
   83: /dev/disk/dsk6c      COMPAQ   HSV110 (C)COMPAQ bus-2-targ-0-lun-1
   96: /dev/cport/scp2               I2O              i2o0_cp
  100: /dev/cport/scp3               NS E1200-160     bus-2-targ-2-lun-3
kantti# hwmgr show scsi

        SCSI                DEVICE    DEVICE  DRIVER NUM  DEVICE FIRST 
 HWID:  DEVICEID HOSTNAME   TYPE      SUBTYPE OWNER  PATH FILE   VALID PATH
-------------------------------------------------------------------------
   67:  0        kantti     cdrom     none    0      1    cdrom0 [0/0/0]   
   80:  3        kantti     raid      none    0      4    scp1   [2/1/0]   
   83:  4        kantti     disk      none    2      4    dsk6   [2/1/1]   
  100:  6        kantti     raid      none    0      1    scp3  
kantti#

-- 
Jyrki.Havia@Helsinki.FI, University of Helsinki, Computing Centre


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-29  9:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 20:33 Tru64 and RAID At Work
2004-07-27 20:42 ` At Work
2004-07-28  2:30   ` Zoong Pham
2004-07-28  5:41     ` Erkki Aalto
2004-07-28 15:32     ` At Work
2004-07-29  9:35   ` Jyrki Havia
2004-07-27 22:32 ` Mike Dorn
2004-07-28 15:30   ` At Work
2004-07-28 15:52 ` At Work

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox