I could not get compression to work.
anyone up to writing a real manual for newbies to get seamless compression.
Like what to add to fstab, how , and how to find out what.
How to keep the os from mounting before you do a mount o compress.
I got mkfs to work and files to load. but not to compress. I added a gig to two gig drive and was left with a gig free. I am assuming it didn't work.
~~The Linux directory system is a messy desk of a genius-- ahh, /home at last!
~~Once a person gets used to anything, they become blind to it. Me, I'm seeing spots.
I hit mount I can see my external usb drive on sdb1
Thanks. Unfortunately, when I do blkid -o value -s UUID /dev/sdb1
or even
blkid -o value -s UUID /dev/sdb1
Nothing is printed out, nor is there any naturally occuring fstab reference to sdb anywhere. there is a natural reference to the internal drive sda1 and the swap sda5.
All i am interested in is seemlilessly (invisible to apps) compressing a drive or folder, like ntfs. Little reference to it. You refer to compress 0 in fstab, but why not compress 9. I also wonder about spacing in this.
~~The Linux directory system is a messy desk of a genius-- ahh, /home at last!
~~Once a person gets used to anything, they become blind to it. Me, I'm seeing spots.
maybe blkid doesn't work with usb devices so the compression wont work on external drives?
~~The Linux directory system is a messy desk of a genius-- ahh, /home at last!
~~Once a person gets used to anything, they become blind to it. Me, I'm seeing spots.
There is no level of compression in btrfs, only compress, or no compress. You are confusing the 4th column with the 5th column of the fstab line.
try:
No fancy options. You should see 'UUID=1234-5678' outputted somewhere.Code:sudo blkid /dev/sdb1
Regards
Iain
To clarify, nowadays in btrfs there are two compress methods:
-o compress: Smart compression -- compress highly compressible files, but back off and blacklist incompressible content.
-o compress_force: Forced compression. Even at horrendous cost to performance, apply compression.
Both algorithms use zlib (gzip) compression at default level -- this is not tunable yet.
I am fuzzy on what happens to file sizes and readability when you mount/toggle compression.
I seem to be thinking/assuming: if off, new files aren't compressed, when mounted on, then new files are written with compress but old files will be not be compressed. Now if toggled off, are these compressed files readable and transparently working? But what about files the a vdi that "grows" if you create it in compressed drive, the turn off compression, when it grows does it just go to large size?
~~The Linux directory system is a messy desk of a genius-- ahh, /home at last!
~~Once a person gets used to anything, they become blind to it. Me, I'm seeing spots.
Bookmarks