- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot deactivate volume groups
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
02-02-2002 09:12 AM
02-02-2002 09:12 AM
cannot deactivate volume groups
says device is busy. There are no filsystems mounted on either one. fuser -u for both lvols shows no processes. fuser -uk
mount -F vxfs /dev/vgredo1/lvol1 /circ/ordata/pddata/redo1
mount -F vxfs /dev/vgredo1/lvol1 /circ/ordata/pddata/redo3
(vgredo1 is one of the vgs that will not deactivate)
The other vg is vgredo2 - I have no idea why that one is claiming it is busy.
As another note, I tried vgscan -a and it hung!
Any help would be greatly appreciated...do I need to reboot to solve this quandry?
Thanks in advance, Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 09:14 AM
02-02-2002 09:14 AM
Re: cannot deactivate volume groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 09:56 AM
02-02-2002 09:56 AM
Re: cannot deactivate volume groups
a) the vgs swap lvol or raw lvol.
b) you got duplicate minor# on "group".
For a), are there any other lvols in vgredo1 an vgredo2 that are not filesystem ? For b), check by running this ..
# ll /dev/vg*/group
and look for the minor# (typically 0x0XXXXX) and see if they are all unique.
As for your vgscan hung problem, you might have a disk which is offline. What does ..
# vgscan -pv
says?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 11:15 AM
02-02-2002 11:15 AM
Re: cannot deactivate volume groups
(dis:/etc)# ll /dev/vgredo*
/dev/vgredo1:
total 0
crw------- 1 root sys 64 0x0e0000 Feb 1 10:49 group
brw------- 1 root sys 64 0x0e0001 Feb 1 20:25 lvol1
brw------- 1 root sys 64 0x0e0002 Feb 1 20:25 lvol2
crw------- 1 root sys 64 0x0e0001 Feb 1 20:25 rlvol1
crw------- 1 root sys 64 0x0e0002 Feb 1 20:25 rlvol2
/dev/vgredo2:
total 0
crw------- 1 root sys 64 0x120000 Feb 1 11:09 group
brw------- 1 root sys 64 0x120001 Feb 1 20:27 lvol1
crw------- 1 root sys 64 0x120001 Feb 1 20:27 rlvol1
as you can see there are no duplicates between the 2 (I checked all the others and there aren't any dupes there either). Any other ideas?
vgscan -pv does show disks that it cannot query - but none that are part of the un-deactivatable vgs...and it still hangs at the end of the listing, immediately after displaying the disk associated with vgredo2:
vgscan: The physical volume "/dev/dsk/c9t1d0" is already recorded in the "/etc/lvmtab" file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 11:52 AM
02-02-2002 11:52 AM
Re: cannot deactivate volume groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 11:54 AM
02-02-2002 11:54 AM
Re: cannot deactivate volume groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2002 12:50 PM
02-02-2002 12:50 PM
Re: cannot deactivate volume groups
# vgdisplay -v vgredo1
# vgdisplay -v vgredo2
# lvdisplay -v /dev/vgredo1/lvol1
==> do this for all other lvols incl those in vgredo2
# pvdisplay -v
==> of all pv's in both vg's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2002 09:48 AM
02-03-2002 09:48 AM
Re: cannot deactivate volume groups
Thanks,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2002 09:24 PM
02-03-2002 09:24 PM