Vypnutí COPY on Write pro konkrétní adresář

Jak vypnout COPY on WRITE pro konkrétní adresář?

Pro postgresql adresář chci vypnout COPY on WRITE.

Warning

U všech příkazů platí: dvakrát měř, jednou řež!

Nastavím atribut C rekurzivně (-R), ukecaným výpisem (-V) na adresáři /var/lib/postgresql.

chattr -RVC /var/lib/postgresql

Z manuálové stránky chattr se mohu dočíst (v angličtině):

Note

A file with the 'C' attribute set will not be subject to copy-on-write updates. This flag is only supported on file systems which perform copy-on-write. (Note: For btrfs, the 'C' flag should be set on new or empty files. If it is set on a file which already has data blocks, it is undefined when the blocks assigned to the file will be fully stable. If the 'C' flag is set on a directory, it will have no effect on the directory, but new files created in that directory will have the No_COW attribute set.)