- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgreduce command
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-24-2008 07:33 AM
07-24-2008 07:33 AM
vgreduce command
vgreduce /dev/vg00 /dev/dsk/c0t8d0
Is that good enough, or should I use the "-A"
argument so that a backup is made of the new configuration change? (vgcfbackup executes for the volume group):
vgreduce -A /dev/vg00 /dev/dsk/c0t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:36 AM
07-24-2008 07:36 AM
Re: vgreduce command
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Its not made for 11.00, but most of it applies anyway.
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
07-24-2008 07:42 AM
07-24-2008 07:42 AM
Re: vgreduce command
lvreduce -k -m 0 /dev/vg00/lvol1 /dev/dsk/BAD_DISK
otherwise it will try to reduce the PE from the existing mirror.
And
If you have enough free extents on the other disks in the volume group, you have it easy. Simply run # pvmove /dev/hdb
pvmove -- moving physical extents in active volume group "dev"
pvmove -- WARNING: moving of active logical volumes may cause data loss!
pvmove -- do you want to continue? [y/n] y
pvmove -- 249 extents of physical volume "/dev/hdb" successfully moved
**# vgreduce dev /dev/hdb
vgreduce -- doing automatic backup of volume group "dev"
vgreduce -- volume group "dev" successfully reduced by physical volume:
vgreduce -- /dev/hdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:52 AM
07-24-2008 07:52 AM
Re: vgreduce command
vgreduce without -A I think it's good enough but first you have to un-mirror lvols with command already mentioned:
lvreduce -k -m 0 /dev/vg00/lvol1 /dev/dsk/BAD_DISK
and so on for all lvols.
Then replace the disk and vgextend/pvcreate -B/mirror again by lvextend (starting from 1, 2, 3 and so on). It's important you first mirror lvol1, lvol2 and lvol3 in this order.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:53 AM
07-24-2008 07:53 AM
Re: vgreduce command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:55 AM
07-24-2008 07:55 AM
Re: vgreduce command
yes that seems to make sense to me, plus I will look at that document mentioned above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:57 AM
07-24-2008 07:57 AM
Re: vgreduce command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 07:57 AM
07-24-2008 07:57 AM
Re: vgreduce command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:01 AM
07-24-2008 08:01 AM
Re: vgreduce command
Refer to the manual.
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
07-24-2008 08:04 AM
07-24-2008 08:04 AM
Re: vgreduce command
What I would do:
1) replace the disk
2) Verify with ioscan that the disk is now accessable (ioscan -fnC disk)
3) Do a vgcfgrestore to restore the VG config to the disk (vgcfgrestore -n vg00 /dev/rdsk/c0t8d0)
4) Activate the VG so the new disk is available (vgchange -a y vg00)
5) Verify the disk is in the VG and shows available (vgdisplay -v vg00)
5) Resync the mirrors. (vgsync vg00)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:12 AM
07-24-2008 08:12 AM
Re: vgreduce command
5)...
5)...
5) make the disk bootable with mkboot ... (see the manual again). Otherwise you cannot boot from this disk.
;-)
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
07-24-2008 08:15 AM
07-24-2008 08:15 AM
Re: vgreduce command
but this being vg00 it is already "active" and probably can't be made inactive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:22 AM
07-24-2008 08:22 AM
Re: vgreduce command
vgchange -a y vg00
on an activated vg without problems.
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
07-24-2008 08:28 AM
07-24-2008 08:28 AM
Re: vgreduce command
The 'vgchange -a y vg00' essentially activates the replacement disk within the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:35 AM
07-24-2008 08:35 AM
Re: vgreduce command
I do believe the disks on an N4000 are hot swappable, I will make sure to verify that before I have the tech yank out the bad drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:40 AM
07-24-2008 08:40 AM
Re: vgreduce command
Open the "door" on the backside of the n-class and pull the disk.
0/0/2/0.6 is the upper,
0/0/2/1.6 is the lower, but verify this with the label on the chassis.
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
07-24-2008 08:47 AM
07-24-2008 08:47 AM
Re: vgreduce command
I'll try to find a layout of the chassis for that path just in case it might help the tech, unfortunately I am a remote administrator so I can't be there, they are 300 miles away from me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 08:50 AM
07-24-2008 08:50 AM
Re: vgreduce command
Can you post an
ioscan -fn
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
07-24-2008 08:51 AM
07-24-2008 08:51 AM
Re: vgreduce command
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
07-24-2008 08:55 AM
07-24-2008 08:55 AM
Re: vgreduce command
do you mind if we take this offline and email?
m-smith@t-systems.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 09:01 AM
07-24-2008 09:01 AM
Re: vgreduce command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 09:04 AM
07-24-2008 09:04 AM
Re: vgreduce command
Try
ioscan -fnk
this would not hang.
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
07-24-2008 09:28 AM
07-24-2008 09:28 AM
Re: vgreduce command
# ioscan -fnk | grep 0/0/1
ext_bus 0 0/0/1/0 c720 CLAIMED INTERFACE SCSI C895 Fast Wide LVD
target 0 0/0/1/0.7 tgt CLAIMED DEVICE
ctl 0 0/0/1/0.7.0 sctl CLAIMED DEVICE Initiator
target 1 0/0/1/0.8 tgt CLAIMED DEVICE
disk 0 0/0/1/0.8.0 sdisk CLAIMED DEVICE FUJITSU MAJ3364MC
target 2 0/0/1/0.9 tgt CLAIMED DEVICE
disk 1 0/0/1/0.9.0 sdisk CLAIMED DEVICE FUJITSU MAJ3364MC
target 3 0/0/1/0.14 tgt CLAIMED DEVICE
ctl 3 0/0/1/0.14.0 sctl CLAIMED DEVICE HP A5272A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2008 09:40 AM
07-24-2008 09:40 AM
Re: vgreduce command
The chassis is known as "SC10".
Now it depends if the chassis is configured to full or split bus, high or low addressing.
You will see this from the dip switches on the rear.
SCSI ID 8 is slot 1 in full bus mode
or
slot 1 **and** 0 in split bus high addressing mode.
To get more information run
# cstm
> map
locate the A5272A entry (index #)
> sel dev
...
> exit
You will find infos like
...
Enclosure Status
----------------
Bus Mode: Full
...
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
07-24-2008 09:51 AM
07-24-2008 09:51 AM
Re: vgreduce command
cstm>info;wait;il
-- Updating Map --
Updating Map...
-- Converting a (3560) byte raw log file to text. --
Preparing the Information Tool Log for Disk Enclosure on path 0/8/0/0.14.0 File
...
.... agfmgt31 : 10.0.4.63 ....
-- Information Tool Log for Disk Enclosure on path 0/8/0/0.14.0 --
Log creation time: Thu Jul 24 13:46:36 2008
Hardware path: 0/8/0/0.14.0
Product ID: A5272A
Controller B
------------
Hardware Path: 0/8/0/0.14.0
Serial No: USSB01033891
Firmware Rev.: HP04
Annotation:
Enclosure Status
----------------
Bus Mode: Split