Operating System - HP-UX
1824219 Members
4280 Online
109669 Solutions
New Discussion юеВ

Hard Disk Removal and Tape Drive Removal

 
Ali Imran Abbas
Regular Advisor

Hard Disk Removal and Tape Drive Removal

I am working on SuperDome. It has 2 npars, I have built one partition on first npar and it is up and running.
On the second npar, I am trying to build 3 vpars.
I have built the first vp1 and it is up and running. It has a tape drive in it. Here is the ioscan for that particular vp1.
ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 3 0/0/9/0/0.8.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 13 0/0/9/0/0.9.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c4t9d0 /dev/rdsk/c4t9d0
disk 14 0/0/9/0/0.13.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c4t13d0 /dev/rdsk/c4t13d0
disk 15 0/0/9/0/0.14.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c4t14d0 /dev/rdsk/c4t14d0
disk 4 0/0/11/0/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c5t1d0 /dev/rdsk/c5t1d0

And here is the ioscan for the tape drive in the same vp1:

ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
tape 1 0/0/11/0/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/1m /dev/rmt/c5t3d0BESTn
/dev/rmt/1mb /dev/rmt/c5t3d0BESTnb
/dev/rmt/1mn /dev/rmt/c5t3d0DDS
/dev/rmt/1mnb /dev/rmt/c5t3d0DDSb
/dev/rmt/c5t3d0BEST /dev/rmt/c5t3d0DDSn
/dev/rmt/c5t3d0BESTb /dev/rmt/c5t3d0DDSnb

Now I am trying to make the second vp2 and the third vp3 on the same npar. The configuration for the second vp2 is as follows:

vparstatus -v -p vp2
[Virtual Partition Details]
Name: vp2
State: Down
Attributes: Dynamic,Autoboot
Kernel Path: /stand/vmunix
Boot Opts:

[CPU Details]
Min/Max: 2/6
Bound by User [Path]:
Bound by Monitor [Path]: 0.12
0.13
Unbound [Path]:


[IO Details]
1.0.14.0
1.0.4.0
0.0.1.0.0.3.0.0.0.0.0 BOOT
0.0.1.0.0.8.0.0.0.0.0, ALTBOOT

[Memory Details]
Specified [Base /Range]:
(bytes) (MB)
Total Memory (MB): 8192

I have two issues here.

1-I tried to 'clone' unx2 last night from unx1, using the 'dd' method, when I ran into a hardware issue. The primary drive that I was trying to use for unx1 started spuing SCSI errors. I was concerned that we may have a bad drive, so I guess I found it. (:>)


SCSI: Reset detected -- lbolt: 2650053, bus: 0
SCSI: Parity Error -- lbolt: 2650555, dev: 1f003000
lbp->state: 60
lbp->offset: ffffffff
lbp->uPhysScript: 84100000
....................



The drive that is failing is 0/0/1/0/0.3.0 (c0t3d0).

2- I also wanna move tape drive from first vp1 to vp2 to install hpunx on it.

Now I wanna remove the bad hard drive and move the tape drive from the first vpar to second one.

I have the following questions in this regard:

1- Can I remove hard disks from hard disk chamber while the system is up and running. I just wanna keep one hard drive there which is new and I hope that it is working fine. I wanna install hpux on it and then subsequently wanna test rest of them.

2- Do I need to physically move the tape drive to some other slot or just remove it from vp1 and add it to the vp2 through command line.

An earlier response will be highly appreciated. If some one just elaborate the steps needed in this regard would be of great help to me.

Regards,

Ali
3 REPLIES 3
Tim Nelson
Honored Contributor

Re: Hard Disk Removal and Tape Drive Removal

Here is the trick with nPars and vPars.

Both are hardware slot dependent so moving a piece of hardware from one vPar to another must be done in "slot/hba" entirity and must be configured in the correct nPar. I also believe that nPars are separated by cell ( please confirm )

Example:
nPar0 as scsi hba for tape
vPar1 is in nPar0

nPar1 has no scsi hba
vPar2 is in nPar1

unallocate scsi from vPar1 and nPar0, physically move scsi hba to cell controlled by nPar1 then assign to vPar2.

If the nPar assignment by cell is not mandatory then you will not have to physically move the card but simply re-assign to nPar1 then vPar1.

Your best solution for moving tape drives around is to have extra scsi hbas, 1 in each nPar, then simply disconnect the tape drive and move the cable to the hba assigned to the second vPar.


Ali Imran Abbas
Regular Advisor

Re: Hard Disk Removal and Tape Drive Removal

Both of them are in the same npar. What is the proceedure for moving them.
Tim Nelson
Honored Contributor

Re: Hard Disk Removal and Tape Drive Removal

use vparmodify or the gui vparmgr to delete the tape at 0/0/11 hw address from vPar1 and add to vPar2.

You will need to reboot both for the changes to take effect.

same proceedure for the disk.


As far as the hot removal of the disk. You can hot swap as long as no system is actively using it, if it is dead then the system using it probably is broke anyway.