Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
Removing Inaccessible NFS datastore in vSphere 6.7.0
I have a NFS datastore that is no longer accessible. Didn't have anything on it but I can't unmount it. When I do I get the message:
The resource 'BU1' is in use.
Cannot remove datastore 'BU1' because "system swap is enabled on it". Correct the problem and retry the operation.
I don't recall putting anything on it, much less enabling it for system swap. ?
6.7.0 w/ VCSA.
8/22/2022 - Mon
in fact it seems to be actually used by something, preventing unmount or remove
Some things to check which could help :
- ESX / Configure / advanced settings > look at syslog.global.logdir and mostly scratchconfig settings
If this last one point t your nfs datastore, change it and reboot ESX, then unmount/remove datastore
- ESX / Configure / VM / Swap file location
- ESX / Configure / System / System Swap
What is the precise error message? is it really system swap is enabled on it ? I never seen this one, generally it is more ressource/device is busy generic message
Sorry for the delay; injured spouse.
The exact error message is: "The resource 'BU1' is in use.
Cannot remove datastore 'BU1' because "system swap is enabled on it". Correct the problem and retry the operation."
System Swap file has:
Can use datastore: 970Pro
Can use host cache
Can use datastore specified by host for swap files
VM Swap file location is:
Virtual machine directory
The syslog.global.logdir value is  /scratch/log
The ConfiguredScratchLocation and CurrentScratchLocation both point to /vmfs/volumes/5bca7765-e61
which isn't the location of the missing NFS volume (ds:///vmfs/volumes/6a3eed
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent