- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgreduce
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-15-2003 11:45 PM
09-15-2003 11:45 PM
vgreduce
root@jazz:/root> vgdisplay -v stk07
--- Volume groups ---
VG Name /dev/stk07
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8468
VGDA 2
PE Size (Mbytes) 4
Total PE 8466
Alloc PE 8466
Free PE 0
Total PVG 0
--- Logical volumes ---
LV Name /dev/stk07/lvol1
LV Status available/syncd
LV Size (Mbytes) 33864
Current LE 8466
Allocated PE 8466
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c4t0d7
PV Name /dev/dsk/c5t1d7 Alternate Link
PV Status available
Total PE 8466
Free PE 0
The commands are :
#vgreduce stk07 /dev/dsk/c4t0d7
#vgextend stk07 /dev/dsk/c4t0d7
But : Can I do it online without any danger for the data. This machine is very "fragil" (production)
Thank yo in advance.
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2003 11:48 PM
09-15-2003 11:48 PM
Re: vgreduce
No problem.
The commands you have commented out there will do the trick and you can certainly do it online with no danger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 12:04 AM
09-16-2003 12:04 AM
Re: vgreduce
This way works fine as you said it.
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 11:30 AM
09-16-2003 11:30 AM
Re: vgreduce
If you are doing it to try to take advantage of alternating disks for multipathing i/o issues... You wont get a desired result, to some degree however you will...
By alternating back and forth on the alternate links, you gain some i/o benefit by the fact that you have moved half your data flow(potentionally) to the other controller when you have dual pathing. however, as you may know, which ever path is considered the alt path for each disk will not be used if/until the current primary path dies... the alt path will not be used at all until that happens...unless you have some application that forces data down both paths(ie Powerpath/Securepath) for emc and compaq...
Just a few thoughts for your enjoyment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 05:23 PM
09-28-2003 05:23 PM
Re: vgreduce
yes u can do this online without any problems. we too have run these commands on our production without any difficulty.
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 05:27 PM
09-28-2003 05:27 PM
Re: vgreduce
#!/usr/bin/sh
/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00
Take a good backup that will let you reocver vg00.
Also might want to include the vg in question depending on the data. If its got hot databases, they need to be down or backed up using proper database backup tools.
The commands look safe, but I don't mess with a production system without at least two modes to back out the change.
Also, if there is a test system available, test the commands out there.
Its production. You can't be too anal about it.
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
09-28-2003 06:07 PM
09-28-2003 06:07 PM
Re: vgreduce
to exchange primary and alternate link, just use "pvchange -s xxxx".
best regards,
Thierry.