Link to home
Start Free TrialLog in
Avatar of Bobby Batts
Bobby BattsFlag for United States of America

asked on

How can I unmount the datastore and delete the VMFS partition

I am in the process of configuring a 2-Node vSAN cluster and Witness Appliance.   The drives on the hosts previously had VMs attached.  I have moved all the VMs off the host.  I have stopped the SCSI IO traffic.  When I try to unmount the datastore the host is attached to, I get an error saying the file system is busy. 


Research indicates the way to address this issue is to change the ScratchConfigurationLocation.  

 

When I try to change the location in  Advanced Setting I receive a unsupported/invalid parameter error.  I have tried to do the change by PTTY into the host directly.  The commands seem to work but when I reboot the system and check in the vSphere Client the original location (.locker) is still in place.  

Ultimately I need to unmount the datastore and delete the VMFS partition so I can add the storage to my 2 Node vSAN cluster.


Please advise.

Lipotech

Avatar of Bobby Batts
Bobby Batts
Flag of United States of America image

ASKER

Ultimately, I need to unmount the datastore and delete the VMFS partition so I can add the storage to my 2 Node vSAN cluster.


Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Can you move the scratch location to a temporary LUN (shared storage)
I was able to move the scratch, but now there is a .sdd.sf folder in the datastore that is blocking me from unmounting the datastore.  How can I remove this folder?
You don't remove them, they are the scsi device description, VMFS overhead.

Does it fail to unmount now ?

Did you try delete ?

(make sure there is nothing you require).
It fails to unmount.  I did try to delete them but it wont allow me.
I have also tried to delete the datastore without success.
does it give a reason why ? it does unmount
give me a minute and I will let you know the error

file system is busy correct the problem and retry

unmount and delete give the same error message

does not mean anything really.

What type of datastore ? RAID, single disk etc

Is this a Lab server, or production ? or going to be reworked ?

because you could just remove the disk, because you'll want to wipe the disk, using dban before using in a vSAN
This is a development environment
The datastore is a VMFS

can you provide steps to pull out disk
ASKER CERTIFIED SOLUTION
Avatar of Bobby Batts
Bobby Batts
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial