- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgextend Fails with Device Busy
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-23-2009 08:16 AM
07-23-2009 08:16 AM
vgextend Fails with Device Busy
I have a problem adding alternative paths to a volume group.
I have an old HP 9000 K series machine running HP-UX 11.00, a file systems was 100% full.
The extra san storage was setup and I duly performed the following steps :-
1.. pvcreate -f /dev/c3t1d3
2.. vgextend /dev/vgqa /dev/c3t1d3
3.. fsadm -F vxfs -b 35323904 /qaprod
4.. The DB was extended into the new space.
5.. I now discover that I have 2 alternate paths to add to the VG.
6.. Tried to run vgextend vgqa /dev/dsk/c0t1d3
to add alternate path but the command fails :-
vgextend: Couldn't install the physical volume "/dev/dsk/c0t1d3".
Device busy
How can I add the alternate links without disrupting the data?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2009 08:37 AM
07-23-2009 08:37 AM
Re: vgextend Fails with Device Busy
Search the forums for words
vgextend device busy
or google the string below
site:itrc.hp.com hpux vgextend "device busy"
and you will see similar problems.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2009 09:41 AM
07-23-2009 09:41 AM
Re: vgextend Fails with Device Busy
could you do this to check if it is already in that VG
# vgdisplay -v /dev/vgqa | grep -i "PV Name"
and,
# strings /etc/lvmtab | grep /dev/dsk/c0t1d3
if this disk is not used in any of the VG of the server, try doing
pvcreate -f /dev/rdsk/c0t1d3
and then try extending your VG with this disk. if still got some errors, please do dd on the disk to make sure that disk is not faulty.
and please paste the output if you got any error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2009 09:47 AM
07-23-2009 09:47 AM
Re: vgextend Fails with Device Busy
@Alistair: Please disregard the suggestion in the second reply to your post. I am sure you can see the pitfall in the logic but just in case you are even remotely considering the option, DON'T !
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2009 11:11 AM
07-23-2009 11:11 AM
Re: vgextend Fails with Device Busy
My apologies....i, somehow, missed that alternate link part...Please dont use that pvcreate command.
Thanks Mel for correcting me. and your immediate reply on mine is really appreciated.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2009 10:22 PM
07-23-2009 10:22 PM
Re: vgextend Fails with Device Busy
Pls. go through our ITRC forum postings..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1230615
I hope this should give some idea..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2009 05:34 AM
07-24-2009 05:34 AM
Re: vgextend Fails with Device Busy
1)I think this u added the new LUN rigt
first check what is the CU:LDEV number.
2)I know only XP storage so check the physical path of the LUN
xpinfo -i | grep "CU:LDEV" number.
check the alternate path carefully
===================================
If its a different storage pls find the command for searching the physical path.
==========================================
now in ur case its showing device busy. for that check who is using that path.
vgdisplay -v | grep "pv path"
strings /etc/lvmtab | grep "pv path"
===========================================
==========================================
I think ur dong the mistake while selecting the alternate path. check it carefully for that CU:LDEV number
Regards
prashant