- 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
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
тАО09-01-2010 01:24 AM
тАО09-01-2010 01:24 AM
How to find out disable lv's in vg.
when we try to delete vg02 using vgremove command it shows that lvs are present under vg02. first delete those lvs but using bdf command no lvs under vg02.
so please tell me to overcome from this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 02:09 AM
тАО09-01-2010 02:09 AM
Re: How to find out disable lv's in vg.
Not all lv are mountable file-system.
Verify the use of thes lv before remove.
lvdisplay /dev/vg02/lvxxxx
lvremove /dev/vg02/lvxxxx
lvremove /dev/vg02/lvyyyy
vgremove vg02
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 02:14 AM
тАО09-01-2010 02:14 AM
Re: How to find out disable lv's in vg.
is there any database using?
Confirm before deleting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 02:22 AM
тАО09-01-2010 02:22 AM
Re: How to find out disable lv's in vg.
1. Check with:
# vgdisplay -v vg02 | grep "LV Name"
2. If they are used for raw device they will not show under bdf :
- Check if they are in use:
# cd /dev/vg02
# fuser -u r*
3. If nothing in in use and you want to delte the lvs to reclaim space etc.. you have to delete the LVs first then you can remove the vg.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2010 05:22 AM
тАО09-01-2010 05:22 AM
Re: How to find out disable lv's in vg.
to remove the VG use :
de-activate the Vg
#vgchange -a n
#vgexport
it will remove all the information and disk can be freed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2010 12:52 AM
тАО09-02-2010 12:52 AM
Re: How to find out disable lv's in vg.
Thanks to all for you are response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2010 01:09 AM
тАО09-02-2010 01:09 AM
Re: How to find out disable lv's in vg.
It will be great if you can mention how the problem get rectified.It will be usefull for other members to solve their issues and help to increase the "experience"....!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2010 07:15 AM
тАО09-03-2010 07:15 AM
Re: How to find out disable lv's in vg.
The device files for the lvols are missing, re-create them:
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
after using the above commands the lvs are enbale then we use 'lvremove' command.
Thanks for your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2010 07:17 AM
тАО09-03-2010 07:17 AM