Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


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

[Discuss] Backing up the entire filesystem



On Fri, 26 Oct 2018 12:32:26 -0400
Marco Milano <marco.milano at gmx.com> wrote:

> How did you get the root filesystem under ZFS?
> 
> Is there a nice/clean/easy recipe ?

Debian does not include ZFS so not "clean". You have to do a normal
install (on XFS), install the ZFS on Linux packages, build your zpool,
copy XFS to ZFS, update the initrd to include SPL and ZFS kernel
modules, set the zpool's mount point to /, and test.

It's easier with Ubuntu since ZFSoL is included but still not clean
because Ubuntu's installers don't know about ZFS so you still have to
hack it by hand.

To be honest I don't think it's worth the effort. ext2 for /boot (if
you have it) and XFS for / is fine for the OS since these in principle
don't need routine backups. Run etckeeper to put /etc under automatic
revision control, and rsync to durable storage as needed.

-- 
Rich Pieri



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org