- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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-11-2002 05:52 AM
06-11-2002 05:52 AM
Executing the lvdisplay command it's only get in the LV status 'available' without determining if it's 'stale' or 'syncd'. I've read that it's related to the Mirrow Writte cache and Mirrow Recovery. Is it true? and if it's how can i know if they are on or off and solve the problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:03 AM
06-11-2002 06:03 AM
SolutionWhat exactly U are looking for?
If U wanted to know about the extends which are in stale state, U can use lvdisplay -v command.
If U wanted to know about consistancy recovery, U can see a field in lvdisplay command like consistancy recovery. It's vale will be MWC, NOMWC or NONE. The details about these U can see in man page of lvdisplay.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:05 AM
06-11-2002 06:05 AM
Re: lvdisplay
Pls post an output of your lvdisplay
lvdisplay -v /dev/vg02/lvol1 ( the logical volume for which you want this info. )
Normally if you go thro the first 10-15 lines you will be able to understand.
MWC ...Mirror copies
Do man lvdisplay
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:14 AM
06-11-2002 06:14 AM
Re: lvdisplay
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 100
Current LE 25
Allocated PE 50
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t2d0 25 25
/dev/dsk/c2t2d0 25 25
See the attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:17 AM
06-11-2002 06:17 AM
Re: lvdisplay
I read in man that it's due to have the Mirrow Writte Cache and the Mirrow recovery off.
Also I read some options in lvchange to change the Recovery consistency...and although i change it from NONE to NONWC or MWC i'm not able to get the ouput of the lvdisplay in the LV Status as more than just 'available'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 07:03 AM
06-11-2002 07:03 AM
Re: lvdisplay
the forth line will have the LV status:
LV Status available/syncd
If the lv is stale if would say:
LV Status unavailable/stale
what else are you looking for?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 07:16 AM
06-11-2002 07:16 AM
Re: lvdisplay
LV status available
nothing more
why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:49 AM
06-12-2002 06:49 AM
Re: lvdisplay
lvdisplay -v /dev/vgxx/lvolx|grep -i stale
And are you sure that the LV is mirrored? If it is mirrored and you issue the above command you will have an output like this:
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 140
Current LE 35
Allocated PE 70
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t1d0 35 35
/dev/dsk/c0t3d0 35 35
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 /dev/dsk/c0t1d0 0085 current /dev/dsk/c0t3d0 0085 current
0001 /dev/dsk/c0t1d0 0086 current /dev/dsk/c0t3d0 0086 current
0002 /dev/dsk/c0t1d0 0087 current /dev/dsk/c0t3d0 0087 current
0003 /dev/dsk/c0t1d0 0088 current /dev/dsk/c0t3d0 0088 current
0004 /dev/dsk/c0t1d0 0089 current /dev/dsk/c0t3d0 0089 current
0005 /dev/dsk/c0t1d0 0090 current /dev/dsk/c0t3d0 0090 current
0006 /dev/dsk/c0t1d0 0091 current /dev/dsk/c0t3d0 0091 current
0007 /dev/dsk/c0t1d0 0092 current /dev/dsk/c0t3d0 0092
Notice the "mirror copies" and the output below stating "current"