- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fuser ...?
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-2002 11:42 PM
05-29-2002 11:42 PM
I'm trying to create a volume group using the vgcreate command.
I get an error message saying 'the device is busy'
I did fuser which didn't return any processes, etc.
How do I determine what is attached to this device?? I've tried lssf, ioscan, but no additional info that is useful.
The server is hp 9000/800/N4000-55, OS 11.00.
#vgcreate /dev/vg03 /dev/dsk/c3t0d2
vgcreate: Couldn't open physical volume "/dev/dsk/c3t0d2":
Device busy
# fuser -u /dev/dsk/c3t0d2
/dev/dsk/c3t0d2:
I'm a novice using LVM commands so any help would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:46 PM
05-29-2002 11:46 PM
SolutionDid you check if your device is not use in an other vg ?
# strings /etc/lvmtab | grep /dev/dsk/c3t0d2
Before adding the pv, you have to declare it using pvcreate :
# pvcreate /dev/rdsk/c3t0d2
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:49 PM
05-29-2002 11:49 PM
Re: fuser ...?
You need to use pvcreate first;
pvcreate /dev/rdsk/c.....
If this doesnt work add the -f option
pvcreate -f /dev/rdsk/c....
Then you can add into your VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:52 PM
05-29-2002 11:52 PM
Re: fuser ...?
Have a look there :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5dbbd08cc06fd511abcd0090277a778c,00.html
This problem looks like yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 01:04 AM
05-30-2002 01:04 AM
Re: fuser ...?
This sounds like the disk was part
of another group and could have been
exported without the volume group
being deactivated first.
As Stefan has suggested you will need
to use the force option. Have a look
at the man page for further explanation.
# /usr/sbin/pvcreate -f /dev/rdsk/cxtydx
(substitute you disk)
When you go to create your volume I suggest
you create the volume with the capacity
to add more than the standard number of
disks. You never know when you may need to
dramtically add disks to a group.
# vgcreate -p 255 /dev/yourvg /dev/dsk/cxtydz
HTH
~Michael~