- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/lvmtab query
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
Forums
Discussions
Discussions
Discussions
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
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-18-2002 12:16 AM
06-18-2002 12:16 AM
/etc/lvmtab query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 12:23 AM
06-18-2002 12:23 AM
Re: /etc/lvmtab query
strings /etc/lvmtab
will list all the volume groups, and the disks in them.
Why do you want a dual cluster lock? These should be used in very specific scenarios only as described here:
http://docs.hp.com/hpux/onlinedocs/B3936-90065/B3936-90065.html
(near bottom of page - section entitled "Dual Lock Disk")
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 01:06 AM
06-18-2002 01:06 AM
Re: /etc/lvmtab query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:00 AM
06-18-2002 02:00 AM
Re: /etc/lvmtab query
Since mirroring is implemented the level of the logical volume, you need to map the logical extents to a physical disk to identify which disk is the primary and which is the secondary (or tertiary) mirror.
Use the 'v'erbose option of 'lvdisplay to see the physical disk relationships:
For instance:
# lvdisplay -v /dev/vg00/lvol1
..might return:
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 /dev/dsk/c0t6d0 0000 current /dev/dsk/c2t0d2 0000 current
0001 /dev/dsk/c0t6d0 0001 current /dev/dsk/c2t0d2 0001 current
0002 /dev/dsk/c0t6d0 0002 current /dev/dsk/c2t0d2 0002 current
...hence, /dev/dsk/c2t0d2 are mirrors of /dev/dsk/c0t6d0.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:21 AM
06-18-2002 02:21 AM
Re: /etc/lvmtab query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:25 AM
06-18-2002 02:25 AM
Re: /etc/lvmtab query
ie. the device file /dev/dsk/c1t2d0 may be an alternate path to /dev/dsk/c2t3d0
lvmtab will not tell you this.
vgdisplay will.
If you see
strings /etc/lvmtab
.
.
/dev/vg01
/dev/dsk/c2t3d0
/dev/dsk/c1t2d0
.
.
and vgdisplay vg01
.
.
/dev/dsk/c2t3d0
/dev/dsk/c1t2d0 Alternate Path
.
.
Then the two are the same 'disk' - just accessed from a different hardware path
I quote disk because it should be refered to as a PV to be really correct.
In any case, ioscan -fnkC disk
will give you the info on hardware addressing (physical) versus the device file logical addressing, and you can identify uniqueness from this and the vgdisplay combined.
vgdisplay itself will tell you how many PVs are in the vg, so that should be a good starting point.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 06:03 AM
06-18-2002 06:03 AM
Re: /etc/lvmtab query
Please refer to Duncan's link for the very few reasons why you ought to use a dual cluster lock disk! If your cluster meets those requirements, use the following method to find the same disk between nodes.
Use this form of the cmquerycl command to discover each disk's "serial number":
# cmquerycl -l lvm -T 3 -n eon -n ion | grep "added disk"
I used this form of the command to get the following list:
# cmquerycl -l lvm -T 3 -n eon -n ion | grep "added disk" | grep dsk | awk '{print $2,$7," " $11," " $10}' | sort -n -k 3,3
(eon) /dev/dsk/c0t13d0 8.13.0 997126883)
(ion) /dev/dsk/c0t13d0 8.13.0 997126883)
(eon) /dev/dsk/c0t14d0 8.14.0 996766697)
(ion) /dev/dsk/c0t14d0 8.14.0 996766697)
(eon) /dev/dsk/c0t15d0 8.15.0 996766708)
(ion) /dev/dsk/c0t15d0 8.15.0 996766708)
(eon) /dev/dsk/c0t2d0 8.2.0 1004024064)
(ion) /dev/dsk/c0t2d0 8.2.0 1004024064)
(eon) /dev/dsk/c0t3d0 8.3.0 1024408633)
(ion) /dev/dsk/c0t3d0 8.3.0 1024408633)
(eon) /dev/dsk/c0t4d0 8.4.0 1017781080)
(ion) /dev/dsk/c0t4d0 8.4.0 1017781080)
(eon) /dev/dsk/c1t5d0 52.5.0 949954632)
(ion) /dev/dsk/c1t5d0 52.5.0 960302228)
(eon) /dev/dsk/c1t6d0 52.6.0 941219124)
(ion) /dev/dsk/c1t6d0 52.6.0 941226344)
The last string in each row is the "serial number". Those that match between nodes are the same disk.
-s.