[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Recommendation for filesystem for USB external drive for backups



On 2020-08-13 01:31, David Christensen wrote:
> Migrating to ZFS was non-trivial, and I am still wresting with
> disaster preparedness.

I should have qualified that -- when I used ZFS only as a volume manager and file system, it was not much harder than md and ext4. You could put a GPT partition scheme on the external USB drive, create one large partition, encrypt the partition (optional), put the partition into a ZFS pool, create one filesystem inside the pool, and set the 'mountpoint' property on the filesystem (ZFS does not use /etc/fstab). Use the filesystem like any other Linux filesystem. If any bits rot, ZFS will detect them. Do a "scrub" periodically (e.g. monthly).


On 2020-08-13 18:28, rhkramer@gmail.com wrote:
On Thursday, August 13, 2020 04:09:46 PM David Christensen wrote:
On 2020-08-13 12:52, rhkramer@gmail.com wrote:
On Thursday, August 13, 2020 01:45:59 PM Tom Dial wrote:
I would recommend installing from buster-backports to get the current
openzfs release which includes improvements (notably native encryption)
as well as fixes.

Two questions:
     * Most of my backup will be done from a Wheezy system -- can I
     install ZFS

on Wheezy?

I do not see any ZFS packages for Wheezy:

https://packages.debian.org/search?keywords=zfs&searchon=names&suite=all&se
ction=all


The simplest answer would be to install Buster and then install
'zfs-dkms' (either Stable or backport, depending upon preference).

Just for closure, that system has to stay Wheezy for the forseeable future,
and then maybe TDE (I need to keep using kmail and kate from Wheezy).


I did some more searching for ZFS on Wheezy.  See the second FAQ item:

    https://wiki.debian.org/DebianWheezy


Add this line to /etc/apt/sources.list:

    deb http://archive.debian.org/debian wheezy main contrib


Then run these commands:

    # apt-get update

    # apt-cache search zfs


Look for "zfs-dkms".


David


Reply to: