VMware Communities
UlyssesOfEpirus
Enthusiast
Enthusiast
Jump to solution

Disk deltas in a directory different than .vmem

It turns out resume is slower from a compressed .vmem, probably because of excessive fragmentation.

But *REDO* files are better off compressed.

One could compress the *REDO*'s and leave uncompressed the .vmem for faster resumes.

But then when a VM shuts down they are both deleted and recreated at the next startup as compressed if the directory they are in is compressed, or both uncompressed otherwise.

Can the directory of the *REDO*'s be different than the directory of the .vmem, so they are compressed but .vmem is not?

Reply
0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

Ah I see what you are asking ...
I see the risk of higher corruption only for those types of vmdks that are expanded on the fly - while the guestOS is using it.
Thats why I would not see problems with storeing readonly files in compressed NTFS.


________________________________________________
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

Reply
0 Kudos
9 Replies
continuum
Immortal
Immortal
Jump to solution

Are you talking about NTFS-compression ?
In the past NTFS-compression used to be a bad idea.
Please explain ...


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

Reply
0 Kudos
UlyssesOfEpirus
Enthusiast
Enthusiast
Jump to solution

Yes. Was NTFS-compression too slow very long ago?

In an era of slow hard drives and much too fast cpu's like nowadays, shouldn't NTFS-compressed files be faster unless they grow in little increments causing excessive fragmentation?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

In my experience using NTFS-compression simply results in a higher probabilty of corruption - only applies to sparse vmdks.


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

UlyssesOfEpirus
Enthusiast
Enthusiast
Jump to solution

Any explanation why the same experience does not occur with other software that use NTFS-compressed files?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Well - even Microsoft warns against using NTFS-compression for storeing database files.


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

UlyssesOfEpirus
Enthusiast
Enthusiast
Jump to solution

What about the vmdk file that stays constant because it is nonpersistent, is it better if it is compressed or not?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

???
non-persistent does not mean that it stays constant.
Non-persistent means that you write into a "snapshot" or "delta" or "redolog" - however you may call it. Unlike a regular snapshot the redolog of a non-persistent vmdk will be discarded without question.

So I dont see why NTFS-compression would have dsifferent effects in this context.


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

Reply
0 Kudos
UlyssesOfEpirus
Enthusiast
Enthusiast
Jump to solution

A nonpersistent disk is made up of a file that looks like *.vmdk and the redolog files that look like *.vmdk.REDO_*.  If you write to the disk, you write to the redolog. Doesn't the *.vmdk part therefore stay constant?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Ah I see what you are asking ...
I see the risk of higher corruption only for those types of vmdks that are expanded on the fly - while the guestOS is using it.
Thats why I would not see problems with storeing readonly files in compressed NTFS.


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

Reply
0 Kudos