Hello
Im trying to remove a datastore from an ESXi 4.1 cluster but I need to preserve the information contained on there. I've read the correct way to do this is to use LUN masking and then remove the datastore from the storage end.
When I try to create the claim rule using the following command:
esxcli corestorage claimrule add -rule 192 –t location –A vmhba37 -C 0 -T 0 –L 1 –P MASK_PATH
I get the following error:
Errors: Found Extra non-parameter arguments at the end of input: '-rule' '192' '–t' 'location' '–A' 'vmhba37' '-C' '0' '-T' '0' '–L' '1' '–P' 'MASK_PATH'
This happens on both hosts that I need to remove the datastore from.
Does anyone know how I can add the claimrule successfully?
Thanks