- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cant remove a logical volume
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
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
тАО02-26-2003 02:47 AM
тАО02-26-2003 02:47 AM
Re: Cant remove a logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 02:53 AM
тАО02-26-2003 02:53 AM
Re: Cant remove a logical volume
Just a thought, why not remove the volume group, noticed that you have only one lvol in this group.
# vgexport testvg
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:03 AM
тАО02-26-2003 03:03 AM
Re: Cant remove a logical volume
# fuser /dev/testvg/rlvol1
# ps -fp
end the process which keeps the file open
Please also check if the newest VxFS patch is installed on the system, for HP-UX 11.00 min. PHKL_27212
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:05 AM
тАО02-26-2003 03:05 AM
Re: Cant remove a logical volume
# vgexport /dev/testvg
vgexport: Volume group "/dev/testvg" is still active.
vgexport: Couldn't export volume group "/dev/testvg".
# vgchange -a n /dev/testvg
vgchange: Couldn't deactivate volume group "/dev/testvg":
Device busy
Good, isn't it ?!
It would certainly appear that despite the fact the filesystem is not mounted and I can make the only remaining logical volume unavailable, the system thinks that testvg or the underlying disk is busy, though I'll be damned if I can see why ! Maybe a reboot will cure it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:10 AM
тАО02-26-2003 03:10 AM
Re: Cant remove a logical volume
Then you can kill the process on lv.
I hope this help you.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:11 AM
тАО02-26-2003 03:11 AM
Re: Cant remove a logical volume
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:12 AM
тАО02-26-2003 03:12 AM
Re: Cant remove a logical volume
# fuser /dev/testvg/lvol1
/dev/testvg/lvol1:
# fuser /dev/testvg
/dev/testvg:
# fuser /dev/dsk/c2t4d0
/dev/dsk/c2t4d0:
#
ie. no output.
It looks more like a case for a reboot or some LVM patches.
Cheers,
Ian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:21 AM
тАО02-26-2003 03:21 AM
Re: Cant remove a logical volume
# fuser /dev/testvg/rlvol1
to find the process. Also you should check for the newest VxFS patch, I know a problem without having this patch.
If fuser didn't find the process, you have to reboot ;-(((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:23 AM
тАО02-26-2003 03:23 AM
Re: Cant remove a logical volume
The thread for the upgrade/mirroring question looks useful, thanks.
I have a question relating to this though :
When rebooting from the mirror disk (assuming the mirror has been split prior to the shutdown) is there an issue with /etc/fstab or will all the filesystems mount as normal ?
Cheers,
Ian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 03:26 AM
тАО02-26-2003 03:26 AM
Re: Cant remove a logical volume
The fuser did not find anything on the raw device either unfortunately :
# fuser /dev/testvg/rlvol1
/dev/testvg/rlvol1:
#
Time to check patches and possibly reboot, I think.
Thanks for all your suggestions.
Ian.