Questions tagged [copy-on-write]
The copy-on-write tag has no summary.
23 questions
2 votes
0 answers
664 views
Btrfs : compress and nodatacow priority + automation
I have a btrfs partition mounted on / with compression enabled: mount -o subvol=@,defaults,noatime,nodiratime,compress=zstd,space_cache=v2 /dev/mapper/archlinux /mnt I want to disable the CoW ...
1 vote
0 answers
48 views
Is the stack of a forked process shared with its parent? [duplicate]
Is the stack of a forked process shared with its parent? If so, does this happen via shared copy-on-write pages?
5 votes
4 answers
5k views
How to check disk usage for folders containing reflinked files on XFS?
XFS supports copy on write (CoW), so it is not entirely clear what du will say if some of the bytes are shared across files. I'd like to find a way to check how much disk space a folder uses, not ...
1 vote
1 answer
1k views
How to disable BTRFS copy-on-write updates for a subvolume using btrfs-property instead of chattr
I want to disable BTRFS copy-on-write updates for a subvolume using the newer method btrfs property instead of the old method chattr. I found the man page here: Manpage/btrfs-property - btrfs Wiki ...
10 votes
2 answers
7k views
How does ZFS copy on write work for large files
Let's say I have a large file (8GB) called example.log on ZFS. I do cp example.log example.bak to make a copy. Then I add or modify a few bytes in original file. What will happen? Will ZFS copy the ...
0 votes
2 answers
6k views
Is copy-on-write not implemented based on page fault?
Operating System Concepts say fork() we can use a technique known as copy-on-write, which works by allowing the parent and child processes initially to share the same pages. ... When it is ...
0 votes
1 answer
730 views
can two running processes share the complete process image in physical memory, not just part of it?
can two running processes share the complete process image in physical memory, not just part of it? Here I am talking about the Linux operating systems(eg. Ubuntu). My thinking: I think it is ...
1 vote
1 answer
816 views
Doesn't the existence of LVM snapshots slows down writing a file system wich doesn't support them natively?
As far as understand snapshots in LVM (please, do correct me if I'm wrong): since they are not persistent and work even with a file system which doesn't itself support snapshots => I suppose it must ...