- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VxVM problem - delete lvol
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
12-11-2004 09:49 PM
12-11-2004 09:49 PM
I'm trying to delete a VxVM volum and have the following problem:
vxvol -g dgprod2 stop TTS_lun2
vxvm:vxvol: ERROR: Volume TTS_lun2 is currently open or mounted
I checked with fuser and lsof and nothing seems to use it. Why does this happen? What do I do?
OS: B.11.11
VxVM:
root@biprod1:/PDWH/oradata/PTRANS# swlist |grep -i vx
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
PHCO_26252 1.0 mount_vxfs(1M) cumulative patch
PHCO_29310 1.0 vxdump(1M) hang.
PHCO_29819 1.0 VxVM 3.5m CVM Patch for MC/SG
PHCO_29926 1.0 fsck_vxfs sync switch;invalid sparse inode
PHCO_29980 1.0 VxVM 3.5m Command Cumulative Patch 05
PHKL_28999 1.0 getmount_entry;rename;creat;[u]mount;VxFS3.5
PHKL_29045 1.0 vx_mapbad errors during fsadm -d
PHKL_29335 1.0 vx_nospace on NFS write.
PHKL_29981 1.0 VxVM 3.5m Kernel Cumulative Patch 05
PHKL_29985 1.0 VxFS perf of mmap()d files, dmapi patch
PHKL_30218 1.0 VxVM,EMC,Psets&vPar,slpq1,KRS,CDUMP,EVA,LVM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2004 10:08 PM
12-11-2004 10:08 PM
Re: VxVM problem - delete lvol
# vxvol -f -g dgprod2 stop TTS_lun2
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2004 10:13 PM
12-11-2004 10:13 PM
Re: VxVM problem - delete lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 11:05 PM
12-12-2004 11:05 PM
Re: VxVM problem - delete lvol
maybe the filesystem containing the volume is NFS-exported (look in /etc/exports)?
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 12:18 AM
12-13-2004 12:18 AM
Re: VxVM problem - delete lvol
# mount | grep vxvol TTS_lun2
Look at the directory on which this volume is mounted e.g. dir10
# umount /dir10
# vxvol -g dgprod2 stop TTS_lun2
Hope that works.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 12:27 AM
12-13-2004 12:27 AM
Re: VxVM problem - delete lvol
Have you tried to use vxassist -g "groupname" volume "volumename" !"diskname"?
Dmitriy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 01:49 AM
12-13-2004 01:49 AM
SolutionBesides, vxvol stop ... doesn't delete the volume but only disables it.
In order to delete it you would have to run vxassist remove ..., as Dmitri suggested, or on a lower level vxplex -o rm ...
Check with vxprint the state of the volume and the used plexes below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 01:58 AM
12-13-2004 01:58 AM
Re: VxVM problem - delete lvol
try disabling all subvolumes recuresively by using the -a switch in vxvol stop.
Check with a hirarchical view of the DG
(e.g. vxprint -htg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 02:46 AM
12-13-2004 02:46 AM
Re: VxVM problem - delete lvol
The lvol was used as an Oracle 9i RAC tablespace (raw device mode). As far as oracle is concerned - it is not in use. But i'm reluctant because of the low possibility that this would cause oracle to fall - and maybe cause data corruption.
So this rules out the mount/nfs stuff. I'm going to try the rest of the replies.
(BTW: lsof/fuser were checked on both RAC hosts)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 03:13 AM
12-13-2004 03:13 AM
Re: VxVM problem - delete lvol
fuser /dev/vx/rdsk/DGNAME/VOLNAME
It will give you the PID of the processe(s) that still have hooks to that device.