cancel
Showing results for 
Search instead for 
Did you mean: 

New to hpux version 3

SOLVED
Go to solution
Fern H2O
Frequent Advisor

New to hpux version 3

Hello All,

I'm new to hpux v3 but i've been doing v1 & v2 for a couple of years now. anyways, i just got a test server and i installed v3 just to see what's new with hpux.

Anyways, here's the problem. I have 2 internal disks but when doing ioscan I only see one of them. But i know it works cuz both were good a day ago with v2. Is there some new command or something? also what is up with the weird PV name see below:

Vgdisplay output:
--- Physical volumes ---
PV Name /dev/disk/disk27
PV Status available
Total PE 4375
Free PE 2436
Autoswitch On
Proactive Polling On

Ioscan output:
hptest:/#ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 16 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 17 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
How come the pvname in the VG looks diff from the regular name, /dev/dsk/c2t0d0???

I know this might be trivial stuff for most, but if you have anytime i would appreciate the feedback.

Thanks!
6 REPLIES
Raj D.
Honored Contributor
Solution

Re: New to hpux version 3

Fern H2O ,
HP-UX 11i v3 introduces a new representation of mass storage devices called the agile view.This is the new naming convention in 11iv3 . And it has many advantage over legacy addressing.

Check this out:
LVM_New_Features_11iv3.pdf .


- Not sure why the 2nd disk is not showing up in ioscan. You may need to unplug and try again. There is no reason not to present the disk in 11iv3 unless you have a hardware raid .

To see agile and legacy paths:
Use# ioscan -m dsf

Hth,
Raj.


" If u think u can , If u think u cannot , - You are always Right . "
Fern H2O
Frequent Advisor

Re: New to hpux version 3

Thanks Raj,

I rebooted and got it working now but i have another question..

ioscan output:

disk 17 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 28 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0

ioscan -m dsf output

/dev/rdisk/disk27 /dev/rdsk/c2t0d0
/dev/rdisk/disk29 /dev/rdsk/c2t1d0

If i want to pvcreate and vgcreate which do i use.

as older version??
pvcreate /dev/rdsk/c2t1d0
vgcreate vg01 /dev/dsk/c2t10

or do i have to specify its other name??
/dev/rdisk/disk29??
melvyn burnard
Honored Contributor

Re: New to hpux version 3

you can use either, both are supported at 11iv3, but the direction to go is to use the new DSF notation, i.e. the /dev/(r)disk/disk
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: New to hpux version 3

forgot to add, if you want to convert the old style to the new style, you can use vgdsf to convert the entries in /etc/lvmtab from Legacy (/dev/dsk/cxtydz) to the new Agile DSF (/dev/disk/diskx)
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Fern H2O
Frequent Advisor

Re: New to hpux version 3

Thanks alot everyone!
Ishwar_1
Frequent Advisor

Re: New to hpux version 3

If you want to check which are the disk working in the system.

use :-
root@bandravpn:/root# ioscan -fC disk
Class I H/W Path Driver S/W State H/W Type Description
====================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC

It will display only the disk working in the system.

Hope this information helps you