- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error trying to add a disk on vg
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
05-29-2003 10:53 AM
05-29-2003 10:53 AM
error trying to add a disk on vg
couldn't open physical volume /dev/...
device busy.
I've already created it using pvcreate but when i try to run vgextend it returns this error.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 10:58 AM
05-29-2003 10:58 AM
Re: error trying to add a disk on vg
# diskinfo /dev/rdsk/cxtydz
# ioscan -fnC disk
# dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024K
# stm and check disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 10:58 AM
05-29-2003 10:58 AM
Re: error trying to add a disk on vg
Verify that the physical disk is, in fact, good:
# diskinfo /dev/rdsk/cXtYdZ
...make sure the size is *non-zero*
Also:
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k count=100
...you want the same number of records "in" as "out".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 11:01 AM
05-29-2003 11:01 AM
Re: error trying to add a disk on vg
The disk could be bad.
Try
dd if=/dev/rdsk/cxtydz of=/dev/null bs=64k
If you get any errors, then replace it with another one.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 11:02 AM
05-29-2003 11:02 AM
Re: error trying to add a disk on vg
Try an 'fuser /dev/dsk/...' and see what process is holding the disk device open. Then do a 'ps -fp ..' using the PID returned by the fuser command. I'd be curious to see what is holding the device open, and I'd be reluctant to try to add this disk to a VG until you know what it is complaining about. Are you sure this disk isn't being used somewhere else?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:05 PM
06-02-2003 01:05 PM
Re: error trying to add a disk on vg
pvcreate -f /dev/rsk/cXtXdX
or use the SAM
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:10 PM
06-02-2003 01:10 PM
Re: error trying to add a disk on vg
/dev/rdsk/cXtXdX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:13 PM
06-02-2003 01:13 PM
Re: error trying to add a disk on vg
just an idea... can we extend vg00 in multi-user mode? I guess first of all it should be deactivated... oops - it's vg00 and can not be deactivated! Maybe to try single-user mode?
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 01:22 PM
06-02-2003 01:22 PM
Re: error trying to add a disk on vg
VG should be active to be vgextended...
Anyway, device is busy can mean that this physical volume is used somewhere in the system. For example, you have active VG with some PVs in it. Then you pick one PV from this VG, do 'pvcreate -f' on it (successfully, I guess) and then trying to include 'new' PV to another VG. I guess system should say 'hey, this PV cxtydz is already assigned to VGab!'.
Thus please check output of
strings /etc/lvmtab
to see if you'll find this PV with this device file in the list...
Eugeny