Compession, on filesystem or volume?
Hi,
Something i could not find in the documentation i managed to find:
if you mount with compress=lzo and rebalance, is compression on for that filesystem or only a single volume?
eg, can i have a @boot volume uncompressed and @ and @home compressed.
Thanks,
Remco
Quoted 7 lines · Remco Hosman
Hi,
Something i could not find in the documentation i managed to find:
if you mount with compress=lzo and rebalance, is compression on for that filesystem or only a single volume?eg, can i have a @boot volume uncompressed and @ and @home compressed.
Last time I asked a similar question, the answer was no. It's per filesystem.
however you can change compression of individual files between zlib/lzo using "btrfs fi defragment -c", regardless of what the filesystem is currently mounted with.
Signature · 1 line
Fajar
Quoted 7 lines · Fajar A. Nugraha
Quoted 6 lines · Remco Hosman
Hi,
Something i could not find in the documentation i managed to find:
if you mount with compress=lzo and rebalance, is compression on for that filesystem or only a single volume?
Quoted 8 lines
Quoted 1 line
eg, can i have a @boot volume uncompressed and @ and @home compressed.
Last time I asked a similar question, the answer was no. It's per filesystem.
however you can change compression of individual files between zlib/lzo using "btrfs fi defragment -c", regardless of what the filesystem is currently mounted with.
for individual files and directories, we can also set them compress via FS_IOC_SETFLAGS.
thanks,
liubo