- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: volume group has one disk using legacy pv name
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
тАО06-10-2009 11:39 AM
тАО06-10-2009 11:39 AM
I have been gathering disk data on my 11.31 servers and found something odd in vg01 on two of them.
When I do a vgdisplay -v vg01 | grep "PV Name", I get the following:
PV Name /dev/dsk/c5t7d4
PV Name /dev/dsk/c7t7d4 Alternate Link
PV Name /dev/dsk/c9t7d4 Alternate Link
PV Name /dev/dsk/c11t7d4 Alternate Link
PV Name /dev/dsk/c13t7d4 Alternate Link
PV Name /dev/dsk/c15t7d4 Alternate Link
PV Name /dev/dsk/c19t7d4 Alternate Link
PV Name /dev/dsk/c17t7d4 Alternate Link
PV Name /dev/disk/disk1614
PV Name /dev/disk/disk3478
I have two questions about this:
1. Why would one of the disks be using the legacy naming convention while the others are using agile names? (as in how the heck could this have happened?)
2. How do I fix it so this one disk also uses its agile name?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2009 11:49 AM
тАО06-10-2009 11:49 AM
Re: volume group has one disk using legacy pv name
That would cause this
You could also do a strings /etc/lvmtab and compare what you see.
There is a command called vgdfs that may assist you here, I know that it converst what is in the lvmtab file to the new DSF format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 01:28 AM
тАО06-11-2009 01:28 AM
Re: volume group has one disk using legacy pv name
You can confirm this by executing
#ioscan -m dsf /dev/disk/disk1614
and see what is the dsf corresponding address for that.
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 01:33 AM
тАО06-11-2009 01:33 AM
Re: volume group has one disk using legacy pv name
I hope below information will help you.
As of HP-UX 11i Version 3, disk devices can be represented by two different types of device files in the /dev directory, legacy and persistent.
Legacy device files (DSF) were the only type of mass storage device files in releases prior to HP-UX 11i Version 3. They have hardware path information such as SCSI bus, target, and LUN encoded in the device file name and minor number. For example, the legacy device file /dev/dsk/c3t2d0 represents the disk at card instance 3, target address 2, and lun address 0.
Persistent device files(PDSF) are not tied to the physical hardware path to a disk, but instead map to the disk's unique worldwide identifier (WWID). Thus, the device file is unchanged if the disk is moved from one interface to another, moved from one switch or hub port to another, or presented from a different target port to the host. The name of a persistent device file follows a simpler naming convention: /dev/disk/diskn, where n is the instance number assigned to the disk. Neither the device file name nor the minor number contain any hardware path information.
In addition, if the disk has multiple hardware paths, it is represented by a single persistent device file. Persistent device files transparently handle multipathed disks and supersede LVM's multipathing functionality. If a disk has multiple hardware paths, which LVM refers to as pvlinks, the persistent device special file acts as a single access point for all the links. I/O requests are distributed across all available links by the mass storage stack, with a choice of load balancing algorithms. If a link fails, the mass storage stack automatically disables the failed link and I/O continues on all remaining links. Any failed or nonresponsive links are monitored, so that when a failed link recovers, it is automatically and transparently reincorporated into any load balancing. New disks and links are also automatically discovered and added to load balancing. If the disk's connectivity changes├в addition, removal, or modification of a link├в applications using the persistent device file are not affected, provided at least one link is still active. New disks are automatically discovered
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 03:24 AM
тАО06-11-2009 03:24 AM
Re: volume group has one disk using legacy pv name
Please do the following:
#ioscan -kfnCdisk
#ioscan -kfNnCdisk
#ioscan -m dsf
find the corresponding agile DSFs for the legacy /dev/dsk/c5t7d4
#insf -eCdisk
#ioscan -m dsf
to check if te Persistent DSF gets created.
You can also use the vgscan to create the Definition of /dev/vg01
#vgscan -N -f /dev/vg01
-N shall put the entries of Persisitent DSFs for /dev/vg01 in /etc/lvmtab
-f is for asking the LVM to only scan for the /dev/vg01.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 03:48 AM
тАО06-11-2009 03:48 AM
Re: volume group has one disk using legacy pv name
Can I do the vgscan -N -f /dev/vg01 commnand while everything is up and running on the server without impacting anything?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:21 AM
тАО06-11-2009 04:21 AM
Solutionplease refer pages 23- 25 of this Doc.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01919369/c01919369.pdf (BSC link updated by admin)
I can site a PDF describing that.
Logic says that yes you can do that -- suggest if you have 11iv3 2008 release and latest patches for LVM.
vgscan actually does the read of the disks so as to create LVMTAB that is /etc/lvmtab.
vgscan runs on a boot-time unless other wise specified maually to scan disks for VG membership and VG Quorum requirements and keeps that information and that is updated when a VG conf change like addition /deletion of PVs from Vgs or addition/removal of VGs takes place.
In my opinion you can do that Online with the applications running provided you are not in the middle of VG config changes.
But I am not too sure if the production is critical and still you can afford a downtime.
choice is i shall say yours, you can to be on a safer side plan this with a downtime assuming that right now you do not have any other issue with the /dev/vg01 apart from this.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2009 04:24 AM
тАО06-11-2009 04:24 AM