VMware Cloud Community
pfrye
Contributor
Contributor
Jump to solution

configuring a Virtual machine settings to not use independent, nonpersistent disks

I am trying to configure a ESXI5 Virtual Machine VMX file to not use independent, nonpersistent disks.

When I add the keywork and value:

scsiX:Y.mode (X and Y >= 0) = "persistent"

to the vmx file and add it back to the inventory, the VM is invalid.  I have to either remove the keyword or # the line to birng the system back online.

Is there suppose to be a value for the X and Y or a different keyword to use?


1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

x and y stands for controller and port

if you want to set the mode for
scsi0:0 - you would use
scsi0:0.mode = "independent-nonpersistent"
or
scsi0:0.mode = "independent-persistent"

or

scsi0:0.mode = "persistent"

By the way - where did you find the tip to do that ? - thats quite missguiding.
I would suggest you have a look at the vmx directly - then you would have seen yourself what to enter


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

4 Replies
a_p_
Leadership
Leadership
Jump to solution

Why in first place do you want to add this to the .vmx file, and if there's a reason for this setting, why don't you just configure it in the VM's settings for the virtual disk in the GUI?

André

Reply
0 Kudos
pfrye
Contributor
Contributor
Jump to solution

I attempted to add this to the VM in the Edit setting as well, but when closing the edit setting window, there is an error stating incorrect parameter change.

This is required for a security configuration setting.

http://www.stigviewer.com/check/ESXI5-VM-000010

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

x and y stands for controller and port

if you want to set the mode for
scsi0:0 - you would use
scsi0:0.mode = "independent-nonpersistent"
or
scsi0:0.mode = "independent-persistent"

or

scsi0:0.mode = "persistent"

By the way - where did you find the tip to do that ? - thats quite missguiding.
I would suggest you have a look at the vmx directly - then you would have seen yourself what to enter


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

nirene
Contributor
Contributor
Jump to solution

Hi All

I've just applied scsi0:0.mode = "independent-nonpersistent" with 4 phisical disk sata at my vm.

This solution is a unique way to work without error. These disks I use like a nas in raid5.

For me it's fine but my question is: data store inside, I lost every time I turn off a vm or not ?

(Snapshots is not a problem, when vm is down just copy entire directory in other site.)

Best regards in advance

Alessandro

Reply
0 Kudos