- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvm question
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
тАО05-22-2009 02:06 PM
тАО05-22-2009 02:06 PM
lvm question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 02:42 PM
тАО05-22-2009 02:42 PM
Re: lvm question
check this thread, it can help ..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1243031985423+28353475&threadId=1254676
Thanks
Kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 02:43 PM
тАО05-22-2009 02:43 PM
Re: lvm question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 04:59 PM
тАО05-22-2009 04:59 PM
Re: lvm question
Remove the physical volume from the Volume group, move old /etc/lvmtab file to other location and run vgscan again to have new lvmtab in place.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 07:23 PM
тАО05-22-2009 07:23 PM
Re: lvm question
Check the attached doc.
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 07:48 PM
тАО05-22-2009 07:48 PM
Re: lvm question
In order to remove only one disk from lvmtab, you can simply do:
# vgreduce vgXX /dev/dsk/cxtydz
If the disk is not responding or giving trouble, you use:
# vgreduce -f vgXX <== this will reduce missing PV from a VG
If you want to remove all the disks in a VG, that is you no longer need a VG, use following command to get rid of that VG permanently:
# vgexport vgXX
See man page of above commands for more options.
Hope this helps.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 08:29 PM
тАО05-22-2009 08:29 PM
Re: lvm question
Follow the below steps,
If lvm is created , then
#umount /mountpont
#lvremove -f /dev/vgxx/lvyy
#vgchange -a n /dev/vgxx
Remove physical volume /dev/dsk/cxtxdx from volume group /dev/vgxx:
#vgreduce /dev/vgxx /dev/dsk/cxtxdx
Force reduction of missing PVs from volume group: vg01
#vgreduce -f /dev/vgxx
After that check
#strings /etc/lvmtab
or,
Export the volume group /dev/vg01 into mapfile vg01.mymap. The volume group will be removed from the exporting system.
#vgexport -m vgxx.mymap /dev/vgxx
http://docs.hp.com/en/B3921-60631/vgreduce.1M.html
http://docs.hp.com/en/B2355-60103/vgexport.1M.html
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 10:29 PM
тАО05-22-2009 10:29 PM
Re: lvm question
Please see the link
http://docs.hp.com/en/5992-4616/ch03s01.html
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 02:51 AM
тАО05-23-2009 02:51 AM
Re: lvm question
You can use "vgexport" "vgreduce" or "sam" to remove physical disk.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 05:15 AM
тАО05-23-2009 05:15 AM
Re: lvm question
# vgreduce /dev/
# vgexport /dev/
# cp -pi /etc/lvmtab /etc/lvmtab.old
# mv /etc/lvmtab /etc/lvmtab.16april2006
# /usr/sbin/vgscan -v
Thanks,
Johnson