Removable storage as Read Only - Discard all Changes

Suggestions around PrimoCache
Post Reply
danieldurio
Level 1
Level 1
Posts: 4
Joined: Wed Jun 26, 2019 12:17 pm

Removable storage as Read Only - Discard all Changes

Post by danieldurio »

Hi,

An interesting feature would be when inserting a removable disk it was read and write, but everything that was written would be stuck infinitely and discarded in the future "L2 Defer-Write"

That is,
Would be making modifications to the disk "temporarily"
As soon as I remove the same everything would be discarded.

Today I can do it manually.

1. Insert a removable disk
2. I add it to the "Cache TASK"
3. Set on strategy as "Write ONLY"
4. Enable Deffer wirte, Latency INFINITE
5. I make changes to the disc and not use it at all "FLUSH WIRTE"

Final result,
The disc remains intact (unchanged)

This greatly helps with disk testing or critical operations that should be tested before applying changes.


Another EXAMPLE :idea:
As Vmware Option at Hard Disk
2019-07-26 11_35_03-Hard Disk Advanced Settings.png
2019-07-26 11_35_03-Hard Disk Advanced Settings.png (2.73 KiB) Viewed 3298 times

Thank you
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: Removable storage as Read Only - Discard all Changes

Post by Support »

Thank you for the suggestion!
This is a function like shadow write or write protection. PrimoCache can do this to a degree. As you have known, the INFINITE write latency will make PrimoCache not flush deferred write-data to disks under normal conditions. However, if write cache space is not big enough to hold all incoming write-data, PrimoCache will do a force flush which is called Urgent Write to free some cache space for new incoming data.
As PrimoCache is designed to speed up disks, it probably will not cover other functions.
danieldurio
Level 1
Level 1
Posts: 4
Joined: Wed Jun 26, 2019 12:17 pm

Re: Removable storage as Read Only - Discard all Changes

Post by danieldurio »

Thanks for answer
Post Reply