- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg00 device in vgdisplay is strange
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 10:21 PM
тАО11-23-2010 10:21 PM
vg00 device in vgdisplay is strange
Lvm is multipath environment and I booted
but device name in vgdisplay show other device name came from another path. Is it normal?
What I want to vgdisplay is c10t0d1 insdead of c3t0d1 because I booted OS from primary path.
(Primary bootpath : 0/0/14/1/0.1.0.0.0.0.1)
Original my problem was to cann't boot from c3t0d1, so I did do changed the other path.
11.23 and vpar environment.
Here output:
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
/dev/dsk/c10t0d1s2
/dev/dsk/c12t0d1s2
newgen32: /etc # lvlnboot -v vg00
Current path "/dev/dsk/c5t0d1s2" is an alternate link, skip.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t0d1s2 (0/0/8/1/0.1.0.0.0.0.1) -- Boot Disk
/dev/dsk/c5t0d1s2 (0/0/8/1/0.1.2.0.0.0.1)
Boot: lvol1 on: /dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
Root: lvol3 on: /dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
Swap: lvol4 on: /dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
Dump: lvol2 on: /dev/dsk/c3t0d1s2, 0
newgen32: /etc # setboot
Primary bootpath : 0/0/14/1/0.1.0.0.0.0.1
HA Alternate bootpath :
Alternate bootpath : 0
Autoboot is ON (enabled)
newgen32: /etc # vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4681
VGDA 2
PE Size (Mbytes) 32
Total PE 4643
Alloc PE 4425
Free PE 218
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
.
.
--- Physical volumes ---
PV Name /dev/dsk/c3t0d1s2
PV Name /dev/dsk/c5t0d1s2 Alternate Link
PV Status available
Total PE 4643
Free PE 218
Autoswitch On
Proactive Polling On
newgen32: /etc # ioscan -kfnCdisk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 10 0/0/8/1/0.1.2.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c5t0d1 /dev/dsk/c5t0d1s3 /dev/rdsk/c5t0d1s2
/dev/dsk/c5t0d1s1 /dev/rdsk/c5t0d1 /dev/rdsk/c5t0d1s3
/dev/dsk/c5t0d1s2 /dev/rdsk/c5t0d1s1
disk 11 0/0/8/1/0.1.2.0.0.0.2 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 12 0/0/12/1/0.0.0 sdisk CLAIMED DEVICE COMPAQ BF14689BC5
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s3
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s1
disk 14 0/0/14/1/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c10t0d1 /dev/rdsk/c10t0d1
/dev/dsk/c10t0d1s1 /dev/rdsk/c10t0d1s1
/dev/dsk/c10t0d1s2 /dev/rdsk/c10t0d1s2
/dev/dsk/c10t0d1s3 /dev/rdsk/c10t0d1s3
disk 15 0/0/14/1/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c10t0d2 /dev/rdsk/c10t0d2
disk 16 0/0/14/1/0.1.2.0.0.0.1 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c12t0d1 /dev/rdsk/c12t0d1
/dev/dsk/c12t0d1s1 /dev/rdsk/c12t0d1s1
/dev/dsk/c12t0d1s2 /dev/rdsk/c12t0d1s2
/dev/dsk/c12t0d1s3 /dev/rdsk/c12t0d1s3
disk 17 0/0/14/1/0.1.2.0.0.0.2 sdisk CLAIMED DEVICE HP HSV300
/dev/dsk/c12t0d2 /dev/rdsk/c12t0d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 05:49 AM
тАО11-24-2010 05:49 AM
Re: vg00 device in vgdisplay is strange
Below commands will help you to determine your current boot path.
Minor=`echo "bootdev/x"|adb /stand/vmunix /dev/kmem|awk 'NR == 2 {print $1}'|cut -c 5-10`
DEV=`ls -l /dev/dsk|awk '/'$MINOR'/ {print $10}'`
lssf /dev/dsk/$DEV|awk '{print $15" "$16}'
Secondly, your lvmtab shows you have 4 disk paths in your VG00.
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
/dev/dsk/c10t0d1s2
/dev/dsk/c12t0d1s2
But look at your VG display output.
Cur PV 1
Act PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t0d1s2
PV Name /dev/dsk/c5t0d1s2 Alternate Link
How come your lvmtab is not matching with your VG details ? Have you manually edited your lvmtab ? Have you removed other paths ?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 05:51 AM
тАО11-24-2010 05:51 AM
Re: vg00 device in vgdisplay is strange
MINOR=`echo "bootdev/x"|adb /stand/vmunix /dev/kmem|awk 'NR == 2 {print $1}'|cut -c 5-10`
DEV=`ls -l /dev/dsk|awk '/'$MINOR'/ {print $10}'`
lssf /dev/dsk/$DEV|awk '{print $15" "$16}'
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 06:19 PM
тАО11-24-2010 06:19 PM
Re: vg00 device in vgdisplay is strange
====
Cur PV 1
Act PV 1
I think above information is correct.
/dev/vg00
/dev/dsk/c3t0d1s2
/dev/dsk/c5t0d1s2
/dev/dsk/c10t0d1s2
/dev/dsk/c12t0d1s2
Above disks are actually one disk because of multipath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2010 07:55 PM
тАО11-25-2010 07:55 PM
Re: vg00 device in vgdisplay is strange
Shibin