- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logical Volumes
Operating System - HP-UX
1753846
Members
8221
Online
108807
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО11-03-1999 08:21 PM
тАО11-03-1999 08:21 PM
Logical Volumes
When I want to remove an unused logical volume, I get the following message:
lvremove: Couldn't delete logical volume "/dev/vg00/lvol10":
The specified logical volume is open.
How can I remove this logical volume???
lvremove: Couldn't delete logical volume "/dev/vg00/lvol10":
The specified logical volume is open.
How can I remove this logical volume???
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-1999 10:15 PM
тАО11-03-1999 10:15 PM
Re: Logical Volumes
Doug,
You may want to try to do the following:
# bdf
# mount
check to see if the lvol is mounted. If so, then attempt to umount. If
unsuccessful or not mounted, then try:
# cd /
# fuser -u /dev/vg00/lvol10
If anything is returned then the lvol is being used by a process or processes.
The numerical part of the fuser output is the process id. You can cross
reference these numbers with the output of a 'ps -ef' to see what these
processes are. If none of them are important to you, then you can proceed with:
# fuser -uk /dev/vg00/lvol10
This will attempt to kill anything that is using this lvol. After running this
command, attempt to umount the lvol (if still mounted) and then try to remove
the lvol. If this is still unsucessful then rerun the original "fuser -u" to
see if processes are still out there for that lvol. If so, you may try to kill
these individually with kill -9; however, they are probably zombie processes
that will need a reboot to clear.
If the above steps did not help or if the "fuser -u" reports that the lvol is
not being used, then you may want to boot the system into either single-user or
lvm maintenance mode and attempt to lvremove it there.
You may want to try to do the following:
# bdf
# mount
check to see if the lvol is mounted. If so, then attempt to umount. If
unsuccessful or not mounted, then try:
# cd /
# fuser -u /dev/vg00/lvol10
If anything is returned then the lvol is being used by a process or processes.
The numerical part of the fuser output is the process id. You can cross
reference these numbers with the output of a 'ps -ef' to see what these
processes are. If none of them are important to you, then you can proceed with:
# fuser -uk /dev/vg00/lvol10
This will attempt to kill anything that is using this lvol. After running this
command, attempt to umount the lvol (if still mounted) and then try to remove
the lvol. If this is still unsucessful then rerun the original "fuser -u" to
see if processes are still out there for that lvol. If so, you may try to kill
these individually with kill -9; however, they are probably zombie processes
that will need a reboot to clear.
If the above steps did not help or if the "fuser -u" reports that the lvol is
not being used, then you may want to boot the system into either single-user or
lvm maintenance mode and attempt to lvremove it there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-1999 12:55 PM
тАО11-15-1999 12:55 PM
Re: Logical Volumes
You might want to try using
% fuser -cuk /mountpoint
the -c option will display the use of a mount point and all files beneath it.
(aka man page :-)
regards,
AG
% fuser -cuk /mountpoint
the -c option will display the use of a mount point and all files beneath it.
(aka man page :-)
regards,
AG
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP