- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is there a VxVM equivalent to lvdisplay?
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
тАО01-20-2010 08:12 AM
тАО01-20-2010 08:12 AM
Is there a VxVM equivalent to lvdisplay?
I'm not totally sure what those messages were trying to tell me, but I came to the conclusion that I could safely replace the disk and rebuild it.
The disk array is setup for RAID-1, and I wanted to re-assure myself of the mirroring and I really couldn't find a suitable VxVM command to do it.
vxprint -hrt was OK, but is there a VxVM command equivalent to something like:
lvdisplay -v /dev/vg00/lvol1
Failures have been detected by the VERITAS Volume Manager:
failed disks:
data1.001.m1
failed plexes:
pdata1.001.m1
failed log plexes:
pdata1.001.m1
The Volume Manager will attempt to find spare disks, relocate failed subdisks and then recover the data in the failed plexes.
Unable to relocate failed subdisk from plex pdata1.001.m1 because no suitable mirror was found from which to recover data.
DRL pdata1.001.m1 detached, Creating new DRL for volume data1.001 failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 08:40 AM
тАО01-20-2010 08:40 AM
Re: Is there a VxVM equivalent to lvdisplay?
http://www.docs.hp.com/en/B7961-90017/ch03s01.html
A table exists there.
The syntax will not be the same.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 09:00 AM
тАО01-20-2010 09:00 AM
Re: Is there a VxVM equivalent to lvdisplay?
That's doco is either good or bad news. It doesn't list an equivalent for lvdisplay, and I haven't found one in researching it. You can get info for a specific entity in VxVM but its difficult to get global info like mirroring info:
Tnis command should do it, but it comes back empty:
vxprint -sF "%vname" -e 'sd_disk = "data1.001.m1-01"'
This command only shows info specific to that plex and not its mirror.
vxprint -l pdata1.001.m1
Disk group: rootdg
Plex: pdata1.001.m1
info: len=17779733
type: layout=CONCAT
state: state=ACTIVE kernel=ENABLED io=read-write
assoc: vol=data1.001 sd=data1.001.m1-01
flags: complete
logging: logsd=data1.001.m1-log (enabled)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 11:50 AM
тАО01-20-2010 11:50 AM
Re: Is there a VxVM equivalent to lvdisplay?
# vxprint -ht
In this case
# vxprint -ht data1.001
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 02:20 PM
тАО01-20-2010 02:20 PM
Re: Is there a VxVM equivalent to lvdisplay?
Thats the command thats most confusing. I don't see anywhere in the output that tells me that I am mirrored:
vxprint -ht data1.001
Disk group: rootdg
V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
v data1.001 - ENABLED ACTIVE 17779733 ROUND - fsgen
pl pdata1.001.m1 data1.001 ENABLED ACTIVE 17779733 CONCAT - RW
sd data1.001.m1-log pdata1.001.m1 data1.001.m1 0 1024 LOG c4t1d0 ENA
sd data1.001.m1-01 pdata1.001.m1 data1.001.m1 1024 17779733 0 c4t1d0 ENA
pl pdata1.001.m2 data1.001 ENABLED ACTIVE 17779733 CONCAT - RW
sd data1.001.m2-log pdata1.001.m2 data1.001.m2 0 1024 LOG c5t9d0 ENA
sd data1.001.m2-01 pdata1.001.m2 data1.001.m2 1024 17779733 0 c5t9d0 ENA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 05:04 PM
тАО01-20-2010 05:04 PM
Re: Is there a VxVM equivalent to lvdisplay?
well I have not understood you completely though ur last post says you want to find how to find if ur plex is mirrored or not.
very simple
the number od plex in volume is the number of mirror copies you have.
SO you have 2 plex in volume data1.001
1)pdata1.001.m1
2)pdata1.001.m2
and these 2 are mirrored.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 07:16 AM
тАО01-21-2010 07:16 AM
Re: Is there a VxVM equivalent to lvdisplay?
VxVM forces you to make assumptions, yes the vxprint has a single entry that says the plexes are mirrored, and shows two subdisks that the plexes are mirrored on. Ronald Reagan said Trust but Verify, and I'd like a way to verify the mirroring configuration.
vxprint is more like vgdisplay. vgdisplay tells me that I have a volume, that it is sync'd and that there are two physical volumes.
lvdisplay shows me the physical layout so that I can verify my mirroring configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 07:47 AM
тАО01-21-2010 07:47 AM
Re: Is there a VxVM equivalent to lvdisplay?
If I had a choice, I'd ditch vxvm in favor of lvm.
I find my lvm skills from HP-UX serve me well in Linux anyway. One less thing to learn.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 05:19 PM
тАО01-21-2010 05:19 PM
Re: Is there a VxVM equivalent to lvdisplay?
Your plex is not mirrored to the 2 subdisks inside it, its mirrored with the other plex
inside the volume.
A plex can be made of more than one subdisks.
v
pl1
sd1-01
sd2-01
pl2
sd1-02
sd2-02
sd3-02
Now here....first column of the vxprint.
Plex 1 (pl1) is made od 2 subdisks
pl2 is from 3 subdisks.
And pl1 and pl2 are mirrored.
BR,
Kapil+