Operating System - HP-UX
1748244 Members
3812 Online
108760 Solutions
New Discussion юеВ

Re: calculate physical disk

 
Torsten.
Acclaimed Contributor

Re: calculate physical disk

You have for sure an Integrity server - what model?

I guess your server has a hardware RAID configured - so you can only see logical (not physical) drives.

Please post first

# model
# ioscan -fn

to check.

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!   
Fauziah Mahdan
Super Advisor

Re: calculate physical disk

I have check from nickel output and I found only 2 disk. BTW this is the result from few command:

model
ia64 hp server rx3600

# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (4030)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
tty 0 0/0/1/0 rmp3f01 CLAIMED INTERFACE PCI class(255,0) (103c1303)
tty 1 0/0/1/1 rmp3f01 CLAIMED INTERFACE PCI SimpleComm (103c1302)
tty 2 0/0/1/2 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/diag/mux2 /dev/mux2 /dev/tty2p0
OO 0 0/0/2/0 UsbOhci CLAIMED INTERFACE USB OHCI Interface
OO 1 0/0/2/0.0 UsbMiniBus CLAIMED INTERFACE USB Composite Device
OO 2 0/0/2/0.0.0 UsbBootKeyboard CLAIMED DEVICE Virtual Keyboard
OO 3 0/0/2/0.0.1 UsbBootMouse CLAIMED DEVICE USB Boot Protocol Mouse
OO 4 0/0/2/1 UsbOhci CLAIMED INTERFACE USB OHCI Interface
OO 5 0/0/2/1.0 UsbMiniBus CLAIMED INTERFACE USB Composite Device
OO 6 0/0/2/1.0.0 UsbBulkOnlyMS CLAIMED DEVICE USB Bulk Only
ext_bus 0 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED INTERFACE USB SCSI Stack Adaptor
target 0 0/0/2/1.0.16.0 tgt CLAIMED DEVICE
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/2/1.0.16.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/1.0.16.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
OO 8 0/0/2/1.1 UsbMiniBus CLAIMED INTERFACE USB Composite Device
OO 9 0/0/2/1.1.0 UsbBootKeyboard CLAIMED DEVICE EP1 Interrupt
OO 10 0/0/2/1.1.1 UsbBootMouse CLAIMED DEVICE USB Boot Protocol Mouse
OO 7 0/0/2/2 UsbEhci CLAIMED INTERFACE USB EHCI Interface
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
lan 2 0/3/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
escsi_ctlr 0 0/4/1/0 sasd CLAIMED INTERFACE HP PCI/PCI-X SAS MPT Adapter
/dev/sasd0
ext_bus 3 0/4/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface
target 6 0/4/1/0.0.0.0 tgt CLAIMED DEVICE
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
target 7 0/4/1/0.0.0.1 tgt CLAIMED DEVICE
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
ba 5 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
ba 6 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
ba 7 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
ext_bus 1 0/7/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt1
target 2 0/7/1/0.4 tgt CLAIMED DEVICE
tape 1 0/7/1/0.4.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/1m /dev/rmt/c1t4d0BEST
/dev/rmt/1mb /dev/rmt/c1t4d0BESTb
/dev/rmt/1mn /dev/rmt/c1t4d0BESTn
/dev/rmt/1mnb /dev/rmt/c1t4d0BESTnb
autoch 0 0/7/1/0.4.1 schgr CLAIMED DEVICE HP 1x8 G2 AUTOLDR
/dev/rac/c1t4d1
target 4 0/7/1/0.7 tgt CLAIMED DEVICE
ctl 1 0/7/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ext_bus 2 0/7/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A6961-60011
/dev/mpt2
target 3 0/7/1/1.3 tgt CLAIMED DEVICE
tape 2 0/7/1/1.3.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/2m /dev/rmt/c2t3d0BESTn
/dev/rmt/2mb /dev/rmt/c2t3d0BESTnb
/dev/rmt/2mn /dev/rmt/c2t3d0DDS
/dev/rmt/2mnb /dev/rmt/c2t3d0DDSb
/dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0DDSn
/dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0DDSnb
target 5 0/7/1/1.7 tgt CLAIMED DEVICE
ctl 2 0/7/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
processor 0 120 processor CLAIMED PROCESSOR Processor
processor 1 121 processor CLAIMED PROCESSOR Processor
processor 2 122 processor CLAIMED PROCESSOR Processor
processor 3 123 processor CLAIMED PROCESSOR Processor
ba 8 250 pdh CLAIMED BUS_NEXUS Core I/O Adapter
ipmi 0 250/0 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
tty 3 250/1 asio0 CLAIMED INTERFACE Built-in RS232C
/dev/diag/mux3 /dev/mux3 /dev/tty3p0
acpi_node 0 250/2 acpi_node CLAIMED INTERFACE Acpi Hardware
#


Disk layout

LVM disk Device file HW Addr size vol. grp
HP IR Volume /dev/dsk/c3t1d0 0/4/1/0.0.0.1.0 69618 /dev/vg01


File System layout

LVM Device file mount point size fs type
/dev/vg00:
/dev/vg00/lvol1 /stand 2048 vxfs
/dev/vg00/lvol2 swap 8192
/dev/vg00/lvol3 / 2048 vxfs
/dev/vg00/lvol4 /home 1024 vxfs
/dev/vg00/lvol5 /opt 8192 vxfs
/dev/vg00/lvol6 /orabackup 10240 vxfs
/dev/vg00/lvol7 /tmp 1024 vxfs
/dev/vg00/lvol8 /usr 8192 vxfs
/dev/vg00/lvol9 /var 8192 vxfs
/dev/vg00 unallocated 19552
/dev/vg01:
/dev/vg01/vbackup /usr/openv 1024 vxfs
/dev/vg01/lvol1 /u01 15360 vxfs
/dev/vg01/lvol2 /u02 15360 vxfs
/dev/vg01/lvol3 /u03 15360 vxfs
/dev/vg01 unallocated 22496


Swap configuration

type size priority device/location
dev 8192 1 /dev/vg00/lvol2


# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
====================================================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
Torsten.
Acclaimed Contributor

Re: calculate physical disk

See

disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
target 7 0/4/1/0.0.0.1 tgt CLAIMED DEVICE
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0


You have 2 times "HP IR Volume" - these are hardware RAIDS (mirrored pairs)!

Check with

# sasmgr get_info -D /dev/sasd0 -q raid

and you will see all your 4 disks!



No Problem at all.

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!   
Fauziah Mahdan
Super Advisor

Re: calculate physical disk

Sorry I dunno how to read this.
That means each 2 disk in vg00 and vg01 are mirror? Or only the primary disk mirror?
I check space of each vg00 and vg01 is 72GB
Torsten.
Acclaimed Contributor

Re: calculate physical disk

That means each 2 disk in vg00 and vg01 are mirror?

Exactly.


What you see are 2 mirrored disk pairs forming 2 logical drives (IR Volumes = integrated RAID).

Run the command above and you will see.

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!   
Suraj K Sankari
Honored Contributor

Re: calculate physical disk

Hi,
Yes both disks are mirrored,

Suraj
Fauziah Mahdan
Super Advisor

Re: calculate physical disk

thanks all, I thought from nickel I can see everything.