Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Michael Hampicke <gentoo-user@××××.biz>
Subject: Re: [gentoo-user] experiences with zfsonlinux?
Date: Mon, 31 Dec 2012 03:44:12
Message-Id: 4217336.sd8MtAsg5n@localhost
In Reply to: Re: [gentoo-user] experiences with zfsonlinux? by Michael Hampicke
1 Am Sonntag, 30. Dezember 2012, 15:22:58 schrieb Michael Hampicke:
2 > Am 30.12.2012 15:07, schrieb Volker Armin Hemmann:
3 > > Set both mountpoints as legacy and put them into fstab - I know I could
4 > > zfs
5 > > deal with that, but I feel more comfortable that way.
6 >
7 > Howdy Volker,
8 >
9 > that's a good idea. For some reason - with the latest sys-fs/zfs upgrade
10 > (0.6.0_rc13) - I found that both of my zfs file systems (single pool) do
11 > not get mounted at boot time automatically. This worked fine up until
12 > now. I'll look into that in the new year, right now, I'm on vacation :)
13
14 one thing that baffled me was when I set the mountpoint for zfstank/var - and
15 it was gone. ;)
16
17 But seriously, setting up zfs was way easier than my first steps with mdraid +
18 fitting a filesystem on it. It is different (just like office 2010 is easiert than
19 2003 but people complain because it is different) but a lot easier. I hope it
20 stays that way.
21
22 One thing that scares me: it is way too easy to throw away everything..
23
24 zpool history
25 zsh: correct 'history' to '.history' [nyae]? n
26 History for 'zfstank':
27 2012-12-29.23:47:49 zpool create -f -o ashift=12 zfstank raidz ata-
28 Hitachi_HDS5C3020ALA632_ML4230FA17X6EK ata-
29 Hitachi_HDS5C3020ALA632_ML4230FA17X6HK ata-
30 Hitachi_HDS5C3020ALA632_ML4230FA17X7YK
31 2012-12-29.23:48:05 zfs create zfstank/var
32 2012-12-29.23:48:10 zfs create zfstank/data
33 2012-12-29.23:50:10 zfs set compression=on zfstank/var
34 2012-12-29.23:50:48 zfs set compression=on zfstank/data
35 2012-12-29.23:51:04 zfs set atime=off zfstank
36 2012-12-29.23:54:00 zfs set quota=100G zfstank/var
37 2012-12-30.00:04:16 zfs set mountpoint=/var zfstank/var
38 2012-12-30.00:08:00 zfs destroy zfstank/var
39 2012-12-30.00:08:35 zfs create -o quota=100G zfstank/var
40 2012-12-30.00:14:38 zfs set compression=on zfstank/var
41 2012-12-30.00:19:09 zfs set mountpoint=legacy zfstank/data
42 2012-12-30.05:55:17 zfs set mountpoint=legacy zfstank/var
43
44 compared with the hours of fiddling when I started using raid this was pretty
45 much straight forward - and yes, I know, destroying var was not necessary, but
46 at that point I just wanted to try it... as I said, way too easy to throw away
47 everything.
48
49 --
50 #163933

Replies

Subject Author
Re: [gentoo-user] experiences with zfsonlinux? Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] experiences with zfsonlinux? Scott Ellis <scotte@××××××.com>