- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to reduce the volum group
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
07-07-2007 10:17 PM
07-07-2007 10:17 PM
how to reduce the volum group
how to reduce the volum group on a SAM
that to remove all which in it
becuase i am delete file from this vg by using rm command and i want to remove phisicaly from the same vg
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 02:46 AM
07-08-2007 02:46 AM
Re: how to reduce the volum group
vgchange -a n vgname
vgexport vgname
pvcreate raw-disk(use -f if failed;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 03:26 AM
07-08-2007 03:26 AM
Re: how to reduce the volum group
1) vgdisplay -v
2) lvremove each logical volume displayed
3) vgreduce each disk out of the volume group
4) vgremove the volume group including the last disk.
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
07-09-2007 07:39 AM
07-09-2007 07:39 AM
Re: how to reduce the volum group
to remove/reduce vg2
1) bdf | grep vg2
this will give you all the file systems mounted for this vg2
2) umount each of the file systems
3) lvremove each-lvol
4) vgdisplay -v vg2 will give you all the physical volumes
if there is more than one, then do
vgreduce /dev/vg2 /dev/dsk/pv-path
repeat vgreduce for all pvs except the last one.
5) vgremove /dev/vg2
6) vi /etc/fstab
remove or comment out all the lvs for this vg.
first umount your file systems for each of the lvs.
vgdisplay -v | grep
Use Steve's stpes and
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 07:56 AM
07-09-2007 07:56 AM
Re: how to reduce the volum group
i) What is the output of:
# strings /etc/lvmtab | grep vg
ii)# ls -l /dev/ | grep vg
iii) vgdisplay -v | grep "VG Name"
Btw, you can reduce the vg with vgreduce command,
- if you mean to remove, do
(i) unmount all the LVs.
(ii) remove all the LV's
(ii) deactivate vg.
(iii) use vgremove.
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 04:17 PM
07-09-2007 04:17 PM
Re: how to reduce the volum group
I believe you need to till the step 3. as mentioned by steven.
as you purpose is to remove one hdd from the existing vg.
Shardha.