- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM 'device busy' error all the time
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
Discussions
Discussions
Discussions
Forums
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
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 09:48 PM
тАО07-23-2009 09:48 PM
Firstly , Im fairly new to HP/UX from a build perspective.
Im hoping you can help me. I have v strange issue. Was setting up a new RP4410 with HP/UX 11i. All was fine until I patched it for Oracle Installs. Now I cant build Volume Groups or anything in LVM. It just keeps saying stuff like 'device busy' and hangs for ages. I've even wiped the system at this stage to start from scratch and still cannot get this to work. Any ideas on such an issue. Its holding me up on a big project , Im really stuck and would appreciate any ideas or suggesstions. I reckon I may have 'overwritten' something when I was patching , could that be possible ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 10:13 PM
тАО07-23-2009 10:13 PM
Re: LVM 'device busy' error all the time
Pls. go through our forum posting related to your issue...
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1152812
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 11:34 PM
тАО07-23-2009 11:34 PM
Re: LVM 'device busy' error all the time
Can you actually show the set of commands you are running and the output...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 12:40 AM
тАО07-24-2009 12:40 AM
Re: LVM 'device busy' error all the time
can you please post the output of the command which you excuted.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:26 AM
тАО07-24-2009 05:26 AM
Re: LVM 'device busy' error all the time
Group Mbytes Description ├в
├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в
├в ├в 0/0/3/0.0.0.0 1 Unused -- 0 DVD-ROM Drive ( ^ ├в
├в ├в 0/1/1/0.0.0 1 LVM -- 0 HP 73.4GST37345 ├в
├в ├в 0/1/1/0.1.0 1 LVM vg00 70007 HP 73.4GST37345 ├в
├в ├в 0/6/1/0/4/0.0.0 1 Unused -- 138920 HP LOGICAL ├в
├в ├в 0/6/1/0/4/0.0.1 1 Unused -- 138920 HP LOGICAL ├в
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:29 AM
тАО07-24-2009 05:29 AM
Re: LVM 'device busy' error all the time
ioscan -kfn
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:07 AM
тАО07-24-2009 06:07 AM
Re: LVM 'device busy' error all the time
dubhptst: # ioscan -kfn
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adap
ter (880)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
tty 0 0/0/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm
(103c1290)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/0/1/1 asio0 CLAIMED INTERFACE PCI Serial (103
c1048)
/dev/GSPdiag1 /dev/mux1 /dev/tty1p2
/dev/diag/mux1 /dev/tty1p0 /dev/tty1p4
usb 0 0/0/2/0 hcd CLAIMED INTERFACE NEC USB Interfa
ce
usbhub 0 0/0/2/0.1 hub CLAIMED DEVICE USB Root Hub
usb 1 0/0/2/1 hcd CLAIMED INTERFACE NEC USB Interfa
ce
usbhub 1 0/0/2/1.1 hub CLAIMED DEVICE USB Root Hub
/dev/hub
usb 2 0/0/2/2 ehci CLAIMED INTERFACE NEC USB Interfa
ce
sideba 0 0/0/3/0 side_ba CLAIMED INTERFACE CMD IDE control
ler
ext_bus 0 0/0/3/0.0 side CLAIMED INTERFACE IDE Primary Cha
nnel
target 0 0/0/3/0.0.0 tgt CLAIMED DEVICE
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-
N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/3/0.0.7 tgt CLAIMED DEVICE
ctl 0 0/0/3/0.0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/3/0.1 side CLAIMED INTERFACE IDE Secondary C
hannel
target 2 0/0/3/0.1.7 tgt CLAIMED DEVICE
ctl 1 0/0/3/0.1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ext_bus 2 0/1/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A
6961-60011
/dev/mpt2
target 3 0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST37345
4LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 4 0/1/1/0.1 tgt CLAIMED DEVICE
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST37345
4LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
target 5 0/1/1/0.7 tgt CLAIMED DEVICE
ctl 2 0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
ext_bus 3 0/1/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A
6961-60011
/dev/mpt3
target 6 0/1/1/1.7 tgt CLAIMED DEVICE
ctl 3 0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
lan 0 0/1/2/0 iether CLAIMED INTERFACE HP AB352-60003
PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/1/2/1 iether CLAIMED INTERFACE HP AB352-60003
PCI/PCI-X 1000Base-T Dual-port Core
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 3 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
%U username given at login time
%M maximum allowed number of users in this class
%N current number of users in this class
The message will only be displayed once to avoid annoying the
user. Remember that when messages are triggered by an anonymous
ba 4 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 5 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 6 0/6/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
ext_bus 4 0/6/1/0/4/0 ciss CLAIMED INTERFACE PCI-X SmartArra
y 6402 RAID Controller
/dev/ciss4
target 7 0/6/1/0/4/0.0 tgt CLAIMED DEVICE
disk 3 0/6/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP LOGIC
AL VOLUME
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/6/1/0/4/0.0.1 sdisk CLAIMED DEVICE HP LOGIC
AL VOLUME
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
target 8 0/6/1/0/4/0.7 tgt CLAIMED DEVICE
ctl 4 0/6/1/0/4/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c4t7d0
memory 0 8 memory CLAIMED MEMORY Memory
ipmi 0 16 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
processor 0 128 processor CLAIMED PROCESSOR Processor
processor 1 129 processor CLAIMED PROCESSOR Processor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:11 AM
тАО07-24-2009 06:11 AM
Re: LVM 'device busy' error all the time
strings /etc/lvmtab
vgdisplay
swlist -l fileset -a state
they have rather long outputs, so if you can capture your screen to log file and attach that, it would be the easiest.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:19 AM
тАО07-24-2009 06:19 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:26 AM
тАО07-24-2009 06:26 AM
Re: LVM 'device busy' error all the time
saconfig /dev/ciss4
Let's also see if the disks are responding at all...
diskinfo /dev/rdsk/c4t0d0
diskinfo /dev/rdsk/c4t0d1
and check there are no LVM headers already on these disks:
pvdisplay /dev/dsk/c4t0d0
pvdisplay /dev/dsk/c4t0d1
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:50 AM
тАО07-24-2009 06:50 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:02 AM
тАО07-24-2009 07:02 AM
Re: LVM 'device busy' error all the time
Let's see the output of:
sautil /dev/ciss4
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:11 AM
тАО07-24-2009 07:11 AM
Re: LVM 'device busy' error all the time
ll /dev/rdsk/c4t0d0
ll /dev/dsk/c4t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:12 AM
тАО07-24-2009 07:12 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:15 AM
тАО07-24-2009 07:15 AM
Re: LVM 'device busy' error all the time
dubhptst: # ll /dev/rdsk/c4t0d0
crw-r----- 1 bin sys 188 0x040000 Jul 21 16:40 /dev/rdsk/c4t0d0
dubhptst: # ll /dev/dsk/c4t0d0
brw-r----- 1 bin sys 31 0x040000 Jan 12 2009 /dev/dsk/c4t0d0
dubhptst: #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:33 AM
тАО07-24-2009 07:33 AM
Re: LVM 'device busy' error all the time
Have you installed any patches on this server?
The logical drives are marked failed when all 3 physical drives are OK. The only reason I can think of is if you pulled out the disks (and they are marked as having been pulled) and while you were doing that the controller was rebuilding the disks. You probably have to recreate them. Maybe Duncan will see something else. (Duncan, sorry for jumping in)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 07:37 AM
тАО07-24-2009 07:37 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 08:15 AM
тАО07-24-2009 08:15 AM
Re: LVM 'device busy' error all the time
Anyway at this stage, I think you might as well try resetting the RAID card and rescanning, to see if that rests the logical volumes...
sautil /dev/ciss4 reset_ctlr
sautil /dev/ciss4 scan
saconfig /dev/ciss4
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 09:25 AM
тАО07-24-2009 09:25 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 10:37 AM
тАО07-24-2009 10:37 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 11:46 AM
тАО07-24-2009 11:46 AM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 01:57 PM
тАО07-24-2009 01:57 PM
Re: LVM 'device busy' error all the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 01:03 AM
тАО07-27-2009 01:03 AM
Re: LVM 'device busy' error all the time
Here is the output from the sautil commands (Duncan thanks) . Also this is the exact steps which happen when Im trying to create a new volume group on those external disks :
using SAM
Checking for Volume Group on disk at 0/6/1/0/4/0.0.0
Checking for an unmounted file system
Creating the Volume Group
Pvcreate : writing lvm record: device busy
Was having a think about all this at the weekend. Im thinking (altho not 100% sure) one of the 'internal' disks was also used in the initial Volume groups , so a combo of the external and one of the internals ? (obviously not the vg00 Operating System one) and if this mabey has a hold over the whole thing now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 01:13 AM
тАО07-27-2009 01:13 AM
Solutionsautil /dev/ciss4 accept_media_xchg 0
sautil /dev/ciss4 accept_media_xchg 1
saconfig /dev/ciss4
you will have to confirm the action for each command.
Lets see if that puts the LOGICAL drives back into an OK state...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2009 01:53 AM
тАО07-27-2009 01:53 AM
Re: LVM 'device busy' error all the time
File List View Options Actions Help ├в
├в Press CTRL-K for keyboard help. ├в
├в ├в
├в ├в
├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в
├в Volume Groups 0 of 3 selected├в
├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в
├в Mbytes Physical Logical ├в
├в Name Type Available Volumes Volumes ├в
├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в ├в
├в ├в vg00 LVM 50096 of 69984 1 8 ^ ├в
├в ├в vg01 LVM 138896 of 138896 1 0 ├в
├в ├в vg02 LVM 138896 of 138896 1 0 ├в
├в ├в ├в
Its my first time using this forum and its been a brilliant help to me (as a novice on hp/ux) I'd like to say thank you guys for the great advice. Can I fill out anything for you in the form of a customer feedback or something / or is it a points award on this forum) Thanks a mill