- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to remove LV
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
тАО05-12-2009 08:33 PM
тАО05-12-2009 08:33 PM
unable to remove LV
model-RX6600
OS-11.23
Iam try to remove two lvтАЩs ie; /vg00/lvol11 and /vg00/lvol12 but getting error says that this lvтАЩs already mounted and cannot be removed but this lvтАЩs not showing in bdf ouput,/etc/fstab/,/etc/mnttab also.
Error:-
UAEMFQDDCBDBD01:/tmp>lvremove /dev/vg00/lvol12
The logical volume "/dev/vg00/lvol12" is not empty;
do you really want to delete the logical volume (y/n) : y
lvremove: Couldn't delete logical volume "/dev/vg00/lvol12":
The specified logical volume is open, or
a sparing operation is in progress.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
UAEMFQDDCBDBD01:/tmp>mount -F vxfs /dev/vg00/lvol12 /jee
vxfs mount: /dev/vg00/lvol12 is already mounted, /jee is busy, allowable number of mount points exceeded
.
Plesae help me solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 08:36 PM
тАО05-12-2009 08:36 PM
Re: unable to remove LV
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 08:39 PM
тАО05-12-2009 08:39 PM
Re: unable to remove LV
Do you know the mount-point of /dev/vg00/lvol12?
Try remove and recreate the mount-point (directory). Let me know the result.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 08:58 PM
тАО05-12-2009 08:58 PM
Re: unable to remove LV
Try doing this:
# mv /etc/mnttab /etc/mnttab_bak <== move mnttab
# mount -a <== recreate mnttab
If you know the mount points of these lvols; try :
# fuser -c
If you find any process in this, you can try killing them.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 09:37 PM
тАО05-12-2009 09:37 PM
Re: unable to remove LV
if its not showing in bdf output and in /etc/fstab then it may use somewhere in background.
is it possible to reboot this system once? if yes proceed for it.
another way you can kill by finding fuser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 09:51 PM
тАО05-12-2009 09:51 PM
Re: unable to remove LV
1. is it still mounted ? check first!
2. if not mounted, is it share disk?
3. if not, try to fuser -cu or use lsof to define what process still use this lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 10:02 PM
тАО05-12-2009 10:02 PM
Re: unable to remove LV
Remove a logical volume without requiring user confirmation:
lvremove -f /dev/vg00/lvol2 but should careful this command destroys all data in the specified logical volumes.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:40 PM
тАО05-12-2009 11:40 PM
Re: unable to remove LV
All the points which you are mentioned has been done and its failed.
Now there some surprise!!! theis LV has the same physical extend of another LV in the same vg00 more over the device file inside /dev/vg00 is same.Please find the attachment for your refernce.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:53 PM
тАО05-12-2009 11:53 PM
Re: unable to remove LV
Dear friend
did u used
lvremove -f?
and please give u vgdisplay -v vg00 output
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:54 PM
тАО05-12-2009 11:54 PM
Re: unable to remove LV
lvol12 and backup using the same PE = LVOLs are identical,
"if you are know what you are doing",
umount backup / backup1 / lvol11 / lvol12,
them lvremove of them and recreate a new LV-s.
and create a new FS and mount it as some mountpoints.
mikap