Operating System - HP-UX
1820216 Members
3860 Online
109620 Solutions
New Discussion юеВ

Re: Jumper Settings new SCSI Disk

 
SOLVED
Go to solution

Jumper Settings new SCSI Disk

Hi freaks,
I want to put a new SCSI Disk in the external SCSI Tower of my HP D210.
IOSCAN-Report: see attachement.
The Tower can contain 7 Discs, and 5 are mounted. Now I want to add a new one. The Question is how I have to set the jumpers in the Tower. There are 3 switches per Disk available (1,2,4). Must the switched Number be the same as the last Number in the HW-Path of IOScan? Have I set some Jumpers on the Disk too? The Disk is a Seagate Barracuda ST39216N.

Thanks for any help!

Best Regards
Daniel :-))
13 REPLIES 13
Juergen Nagel_1
Frequent Advisor

Re: Jumper Settings new SCSI Disk

Hallo,

In der Maschine sind 2 F/W Controller mit je 2 Platten und ein SE Controller mit 5 Platten.
Ist die neue Platte eine SE oder eine F/W?
An einen SE Controller k?nnen nur maximal 7 Ger?te. Mit 5 Platten 1 Band und 1 CDROM ist der schon voll. F/W Controller k?nnen bis je 15 Ger?te.
Es kommt darauf an was das f?r eine Platte ist. Bei FW sollte es kein Problem sein. Bei SE geht die Platte nicht mehr anzuschlie?en.
Der Hardwarepath einer Platte ergibt sich aus der SCSI-ID und nicht umgekehrt.
16/5.1.0 hat die SCSI-ID 1
Du mu?t eine ID w?hlen die noch nicht vorkommt. Achtung die Controller haben die ID 7. Die also besser nicht verwenden.

Gruss

Re: Jumper Settings new SCSI Disk

Hallo Juergen,
Ultra SCSI ist wohl SE - oder?.
Also werde ich jetzt die Platte austauschen gegen eine, die bei starker Beanspruchung immer mal aussteigt. Dies ist aber nur eine 2 GB - Platte. Wenn ich diese gesichert habe und ausbauen m?chte, mu? ich die dann erst unmounten? wie ist dann das vorgehen?

Vielen Dank f?r Deine Infos

Gr??e Daniel :-))
Andreas Voss
Honored Contributor

Re: Jumper Settings new SCSI Disk

Hi,

i agree with Juergen, your (single ended) scsi path is full:
5 disks, 1 cdrom, 1 dds-tape.
Your new disk ST39216N is an ultra-scsi disk which could not be connected to FWD-SCSI.

Regards
Andreas Voss
Honored Contributor

Re: Jumper Settings new SCSI Disk

Hi,

replacing the disk depends on how it is used.
If the disk is mounted with its full capacity without LVM you could do:
- backup the data from the mount point where the disk is mounted
- comment the mount in /etc/fstab to prevent mount errors after replacing the disk
- shutdown the server
- replace disk
- boot the system
- make new filesystem on the new disk (newfs -F {hfs|vxfs} /dev/rdsk/cXtXd0)
- uncomment mount in /etc/fstab
- mount the disk and finaly restore the data.

If the disk is used with LVM your job will be much more complex.

To get information on how the disk is used type

bdf

and look for the first column.
If you see similar /dev/dsk/cXtXd0 the disk is used without LVM. Otherwise you see several /dev/vgXX/lvolX

Regards
Juergen Nagel_1
Frequent Advisor

Re: Jumper Settings new SCSI Disk

Hallo,

Um Dir zu sagen wie Du am besten vorgehst brauche ich noch mehr Infos.
1. bdf
2. vgdisplay -v /dev/.... von der volumegroup in der die platte ist
3. Devicefile der Platte die raus soll.


gruss

Re: Jumper Settings new SCSI Disk

Hi Andreas,
/root # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol1 91669 67116 15386 81% /
/dev/vg00/lvol7 159509 131143 12415 91% /var
/dev/vg00/lvol6 358997 304611 18486 94% /usr
/dev/vg00/lvol5 31829 4950 23696 17% /tmp
/dev/vg00/lvol4 251285 129498 96658 57% /opt
/dev/vg00/lvol11 100088 59733 30346 66% /home
/dev/vgb4/lvb4 2080768 1888635 165944 92% /data4
/dev/vgb3/lvb3 2080768 1767937 285672 86% /data3
/dev/vgb2/lvb2 2080768 2000806 37312 98% /data2
/dev/vg02/lvol9 2093056 1720056 307840 85% /data1
/dev/vg03/lvol10 4173824 3613897 523632 87% /application2
/dev/vg01/lvol8 2080768 1994519 79480 96% /application

I want to change /dev/vgb4/lvb4!

Greetings
Daniel :-))

Re: Jumper Settings new SCSI Disk

Hallo Juergen,
bdf habe ich ja schon geschickt.
Hier kommt vgdisplay:
# vgdisplay -v /dev/vgb4
--- Volume groups ---
VG Name /dev/vgb4
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1016
VGDA 2
PE Size (Mbytes) 4
Total PE 508
Alloc PE 508
Free PE 0
Total PVG 0

--- Logical volumes ---
LV Name /dev/vgb4/lvb4
LV Status available/syncd
LV Size (Mbytes) 2032
Current LE 508
Allocated PE 508
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t5d0
PV Status available
Total PE 508
Free PE 0

Und das devicefile:

lssf /dev/dsk/c2t5d0
sdisk card instance 2 SCSI target 5 SCSI LUN 0 section 0 at address 16/5.5.0 /de
v/dsk/c2t5d0

Viele Gr??e
Daniel :-))

Juergen Nagel_1
Frequent Advisor

Re: Jumper Settings new SCSI Disk

Hallo,
Ich w?rde so vorgehen:

1. /data4 sichern
2. umount /data4
3. vgchange -a n /dev/vgb4
4. vgexport /dev/vgb4
5. Platten umbauen
6. mit SAM volumegruppe vgb4 auf neue platte neu anlegen.
7. logical volume neu anlegen und unter data4 mounten
8. daten zur?cksichern

Ob die Platte wirklich eine SE Platte ist kann ich Dir gar nicht so genau sagen. Ich brauche dazu die HP Bestellnummer (A0815A).

gruss

Re: Jumper Settings new SCSI Disk

Hallo Juergen,
auf dem Lieferschein steht auch 9 GB SE SCSI Festplatte kompatibel.
Habe ich das jetzt richtig verstanden:
der 16/5-er BUS ist ein U/W-Bus, aber die Platte kann nur SE. Das hei?t, ich kann die Platte zwar benutzen, aber nicht zus?tzlich einbauen, sondern nur im Austausch gegen eine alte oder defekte. Richtig?

Viele Gr??e
Daniel :-))
Andreas Voss
Honored Contributor
Solution

Re: Jumper Settings new SCSI Disk

Hi,

just some additions:

1. backup /data4
2. umount /data4
3. tar cvf /tmp/vgb4.tar /dev/vgb4/group
3. vgchange -a n /dev/vgb4
4. vgexport /dev/vgb4
5. replace disks
6. pvcreate -f /dev/rdsk/c2t5d0
7. tar xvf /tmp/vgb4.tar
8. vgcreate vgb4 /dev/dsk/c2t5d0
9. lvcreate -L -n lvb4 vgb4
10. newfs -F vxfs /dev/vgb4/rlvb4
11. mount /data4
12. restore /data4

Regards
melvyn burnard
Honored Contributor

Re: Jumper Settings new SCSI Disk

It would be nice if this discussion could have been continued in English so that fellow forum members could use the information provided.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!

Re: Jumper Settings new SCSI Disk

Okay, here in english:
on the delivery note is written 9 GB SE SCSI Disk compatibel.
To check, if I understood the constallation:
The 16/5 controller is an U/W controller, but the ST39216N is only SE-SCSI.
That means I can use the Disk on that controller, but instaed of a defect or old one and not as a additional one.
Is that right?

Many Greetings
Daniel :-))
Juergen Nagel_1
Frequent Advisor

Re: Jumper Settings new SCSI Disk

Hallo,

The 16/5 bus can only SE SCSI. But the bus is full.
The disk is a ultra scsi. The two other controller in your system are F/W (SCSI-2).
Im not sure, you can use the new disk on a F/W controller.

bye
here is usefull link
www.pc-disk.de