Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Enable Copy-On-Write

Featured Replies

Can someone ELI5 what Enable Copy-On-Write: in the add-share screen does? I saw it get added to 6.X and I only partially understood what was going on. I for the life of me can't find those patch notes to read over it again. I'm adding a new share, first since this feature was added, and I'm not sure what to set it to...

Can someone ELI5 what Enable Copy-On-Write: in the add-share screen does? I saw it get added to 6.X and I only partially understood what was going on. I for the life of me can't find those patch notes to read over it again. I'm adding a new share, first since this feature was added, and I'm not sure what to set it to...

Enable this for shares that store virtual disks for VMs. It is actually only relevant for shares that span across a disk using the btrfs filesystem, if you have no btrfs devices in your system, the setting has no affect.

  • 1 year later...
On 1/12/2016 at 7:49 PM, jonp said:

Enable this for shares that store virtual disks for VMs. It is actually only relevant for shares that span across a disk using the btrfs filesystem, if you have no btrfs devices in your system, the setting has no affect.

 

Sorry to resurrect the thread, but can you clarify this? Web searches for CoW with VMs on unRAID lead to this as top result, and I think the way you word it probably steers people wrong. When you say "enable this for shares that store virtual disks for VMs", I think most people would interpret that as meaning you should set this to Auto (enabled) in the new share settings. Initially that is what I thought too, but everything else I've read seems to suggest it should be the other way, set to No. Even the default "domains" share for VMs on unRAID have it set to No by default.

 

Also, why should you do this? From what I've seen, using CoW would allow me to take snapshots of my vdisk img file using cp --reflink. That could be useful, so what are the pros and cons of enabling vs. disabling CoW? Would running qcow2 format be better (assuming unRAID supports that)? Does it make a difference either way if the share/VMs are on SSD?

  • 9 months later...

Another apology for bringing this thing back from the dead, but I've poked around a bit and still am not finding anything that sounds like a "definitive answer".

 

According to the UnRAID manual 6 section on "The Engine" it sounds like Copy-on-write being enabled (set to "Auto") is good for Docker containers because it lets them use the same base OS image until one of them needs to make a change to it, at which point a copy is made and the "customizing" container user the copy while all others continue to use the original

 

I suspect it's DISABLED (set to "no") for the "domains" share (which is for holding saved VM instances) because of the overhead associated with making copies of the VM file (or changed blocks of the file) every time the guest OS makes changes to the disk image.

 

But that's purely a guess.

  • 1 year later...

I'm actually resurrecting this threat as well. I would like to know what would be the best settings for my use scenario. Anyone care to comment? I was unable to find it as well.

16 hours ago, XiuzSu said:

I'm actually resurrecting this threat as well. I would like to know what would be the best settings for my use scenario. Anyone care to comment? I was unable to find it as well.

Leave it at Auto. You are overthinking it.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.