- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find out disable lv's in vg.
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
09-01-2010 03:53 AM
09-01-2010 03:53 AM
How to find out disable lv's in vg.
It occur due to we have accidently deleted an LV source file.so we are unable to see the lv's .Kindly provide an solution for this.
This is an screen shot of output:
# vgdisplay -v vg04
--- Volume groups ---
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 17501
VGDA 2
PE Size (Mbytes) 4
Total PE 17499
Alloc PE 75
Free PE 17424
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 17499
Free PE 17424
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 11:03 AM
09-01-2010 11:03 AM
Re: How to find out disable lv's in vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 12:11 PM
09-01-2010 12:11 PM
Re: How to find out disable lv's in vg.
In addition to posting the ls of /dev/vg04, also post:
mount | grep vg04
ll /etc/lvmconf/vg04*
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 12:13 PM
09-01-2010 12:13 PM
Re: How to find out disable lv's in vg.
If you have inadvertently deleted the LVs then it may be possible to recreate them. See this thread:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1444981
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 01:12 PM
09-01-2010 01:12 PM
Re: How to find out disable lv's in vg.
Check this out for:
" How to find out disable lv's in vg." :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1446049
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 01:17 PM
09-01-2010 01:17 PM
Re: How to find out disable lv's in vg.
vgchange -a n /dev/vg04
vgexport -m /tmp/vg04.map
vgimport -m /tmp/vg04.map /dev/vg04
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 08:47 PM
09-01-2010 08:47 PM
Re: How to find out disable lv's in vg.
In this attachment,the specified command output is available in the screen shot and please check on this.
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 09:02 PM
09-01-2010 09:02 PM
Re: How to find out disable lv's in vg.
mknod /dev/vg04/lvol1 b 64 0x040001
mknod /dev/vg04/rlvol1 c 64 0x040001
mknod /dev/vg04/lvol2 b 64 0x040002
mknod /dev/vg04/rlvol2 c 64 0x040002
and check with
vgdisplay -v vg04
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 11:26 PM
09-01-2010 11:26 PM
Re: How to find out disable lv's in vg.
The above solution provided was worked.
Thank u to everyone for your helpful solution.
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 04:11 AM
09-02-2010 04:11 AM
Re: How to find out disable lv's in vg.
Torsten stole my thunder! His post was the exact reason I was looking for the command output - to recreate the lv devices manually.
Glad to hear things are working again...
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2010 07:49 AM
09-02-2010 07:49 AM
Re: How to find out disable lv's in vg.
Read this too:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
