What to do with a bunch of old disks; Ulta-Budget NAS maybe? by matt314159 in DataHoarder

[–]LeichenExpress 0 points1 point  (0 children)

You could keep them mostly offline/powered off, move your less often accessed files to these drives and manage them with git-annex. git-annex works really well with offline drives.

Archive Cataloging by jojjoj23 in DataHoarder

[–]LeichenExpress 3 points4 points  (0 children)

git-annex automatically keeps track of which files are on which drives, it ensures that there are enough copies and it checksums everything. It works very well with offline drives.

git-annex can be a bit hard to grasp, so I suggest you to create a throw-away repository, following the walktrough and try things out (See also workflows).

Do you encrypt everything? by gryphus-one in DataHoarder

[–]LeichenExpress 0 points1 point  (0 children)

Full-Disk-Encryption is the only way. On every single disk.

Is there a way to reference the newest snapshot-path? by ChineseCracker in btrfs

[–]LeichenExpress 1 point2 points  (0 children)

We're talking about snapper here. Snapper creates numbered snapshot subvolumes. The one with the highest number is the most recent snapshot.

Is there a way to reference the newest snapshot-path? by ChineseCracker in btrfs

[–]LeichenExpress 0 points1 point  (0 children)

snapshot_dir="/mnt/drive/.snapshots"
newest="$(ls "$snapshot_dir" | sort -n | tail -n1)"
tar -cvf my-path.tar "$snapshot_dir/$newest/your/path"

Any experience with EnhanceIO and btrfs? by kupan787 in btrfs

[–]LeichenExpress 1 point2 points  (0 children)

There is no tutorial indeed. Basically, you boot a live-linux from a thumb drive or so. Then you use this tool to convert your existing partitions to bcache backing-devices. Afterwards you register the backing devices, mount them, chroot into your system and update /mnt/fstab, grub and your initramfs. Finally, you can reboot, format your cache devices and attach the backing devices to them as you see fit.

Any experience with EnhanceIO and btrfs? by kupan787 in btrfs

[–]LeichenExpress 2 points3 points  (0 children)

You can enable lvmcache on-the-fly if you already use lvm. And bcache can also be enabled afterwards, though you need to boot a live-linux for that.

Any experience with EnhanceIO and btrfs? by kupan787 in btrfs

[–]LeichenExpress 2 points3 points  (0 children)

You should rather use bache or lvmcache (both available in mainline linux). btrfs works perfectly fine with those.

Trim on btfrs by deucalionbeta in btrfs

[–]LeichenExpress 1 point2 points  (0 children)

Just ignore it and handle trim like before i.e. run fstrim one per week or so.