Operating System - HP-UX
1753519 Members
4905 Online
108795 Solutions
New Discussion юеВ

Does HP-UX has "s" in disks ?

 
Arunvijai_4
Honored Contributor

Does HP-UX has "s" in disks ?

Hi All,

I would like to know, does HP-UX has "s" with disks as of Solaris? In my 11.23, i got the following,

# vgdisplay -v MyVG
--- Volume groups ---
VG Name /dev/MyVG
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 124
Alloc PE 25
Free PE 99
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/MyVG/testlv
LV Status available/syncd
LV Size (Mbytes) 100
Current LE 25
Allocated PE 25
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t1d0s1
PV Status available
Total PE 124
Free PE 99
Autoswitch On

also, # lvdisplay -v /dev/MyVG/testlv

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t1d0s1 25 25

--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t1d0s1 00000 current
00001 /dev/dsk/c2t1d0s1 00001 current
00002 /dev/dsk/c2t1d0s1 00002 current


Any ideas ? ( I will be assigning points tomorrow morning IST)

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Does HP-UX has "s" in disks ?

This layout was used in former times (HP-UX 9.x) and now revived in HP-UX for use with Itanium based systems.

In fact the boot disk needs to have several partitions, at least one for the OS and one for EFI. The partitions are named cxtydzs1, ...s2, ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Arunvijai_4
Honored Contributor

Re: Does HP-UX has "s" in disks ?

This is # strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2
/dev/MyVG
/dev/dsk/c2t1d0s1

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Torsten.
Acclaimed Contributor

Re: Does HP-UX has "s" in disks ?

Only the boot disk needs to be partitioned, but other disks may have partitions too. You can handle the _s device file like all others. Perhaps the disk has one large partition configured. Check if there are some more device files for this disk (_s1, _s2,...) and see "man idisk" for more information.

This seems not to be a problem, but someone has created partitions on the data disk.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sameer_Nirmal
Honored Contributor

Re: Does HP-UX has "s" in disks ?

Yes the "s" is there on Itanium systems with HP-UX 11i Version 2 as part of disk device file name.

In Solaris "s" is usually referred as "slice" whereas in HP-UX it is "section" or "partition".

For example,on a bootable disk, section 0 is the entire disk, section 1 is the Extensible Firmware Interface (EFI) partition, and section 2 is the HP-UX operating system partition. If there is a section 3, it is the optional HP Service Partition (HPSP).
The device file for the whole disk would be /dev/[r]dsk/c2t6d0
EFI partition device file would be /dev/[r]dsk/c2t6d1 and so.

In your case , you have one disk having one partition allocated under vg00 and second one for MyVG



Jeff Schussele
Honored Contributor

Re: Does HP-UX has "s" in disks ?

Hi Arun,

Yes - BUT only in HP-UX 11.23 for Itanium.
It is not there - yet - in any PA-RISC release.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Kryno Bosman
Advisor

Re: Does HP-UX has "s" in disks ?

The 's' in /dev/dsk/c?t?d?s? is different from the 's' on Sun Solaris. Both are indeed slices but on HP-UX (IA64) you need s1 for EFI and s2 for HPUX (and s3 for HPSP (HP Service Partition). On Sun Solaris the 's' are filesystems (with exception form c?t?d?s2 which is the whole disk).
Simplicity is too difficult for idiots like you and me...