Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hard drive noise
Date: Sat, 19 Dec 2015 14:49:04
Message-Id: 20044.1450536532@ccs.covici.com
In Reply to: Re: [gentoo-user] Hard drive noise by Rich Freeman
1 Rich Freeman <rich0@g.o> wrote:
2
3 > On Sat, Dec 19, 2015 at 2:56 AM, <covici@××××××××××.com> wrote:
4 > >
5 > > I was never able to get either zfs or btrfs to work correctly, zfs was
6 > > very vulnerable -- I forgot to export a zfs on a usb drive and got an
7 > > enless loop of processes untill I rebooted. Btrfs never did work for
8 > > me, I created a pool, copied my root file system, usr and var into
9 > > ssubvolumes, and copied my files, but when I would boot into it,
10 > > everything was messed up, processes thought files were missing, very
11 > > strange. So, how did you set up either one of those -- I would love to
12 > > use it because I have ssds and I don't want to rely on their firmware
13 > > either.
14 >
15 > Well, I don't have much personal experience with zfs, but the ZFS on
16 > Linux lead is a Gentoo dev, so you're in good company there all the
17 > same. I personally use btrfs.
18 >
19 > The obvious caveat is that it is still relatively experimental, and
20 > raid5/6 is VERY experimental. I plan to convert to raid5/6 at a
21 > future date but am staying away from it for now (and a selling point
22 > of btrfs is that reshaping in-place is easy).
23 >
24 > I can't really vouch for what went wrong with your migration. It
25 > could be anything from a failure to preserve all your file attributes
26 > to something with btrfs itself or your bootloader config/etc. It
27 > isn't hard to do a new install in btrfs though, and you can always
28 > mess with it in a VM, or even mess with doing migrations in a VM.
29 >
30 > My btrfs install notes are at:
31 > https://docs.google.com/document/d/1VJlJyYLTZScta9a81xgKOIBjYsG3_VfxxmUSxG23Uxg/edit?usp=sharing
32 > (I still plan to merge this stuff into the handbook. Maybe a good
33 > holiday project... Oh, and if it isn't already obvious anybody can
34 > add comments and half this list seems to have already done so.)
35 >
36 > Oh, for a boot image I tend to use system rescue CD since it has all
37 > the necessary userspace and is gentoo-based (and you can always emerge
38 > --sync and install whatever you need inside it). I tend to use the
39 > alternate kernel since it is newer, and with btrfs newer tends to be
40 > better. In production I'm currently on 3.18 eyeing an upgrade to 4.1.
41 > I tend to stay on the latest longterm, but not when they are first
42 > declared as longterm. That seems to be the sweet spot for getting
43 > btrfs features and bugfixes, but not getting as many of the
44 > regressions. I use grub2/dracut to boot, and that is in my guide.
45 >
46 > If you follow those notes for a stage3 install it should "just work."
47 > If you want to mess around I suggest just doing a vanilla install on a
48 > VM once to validate that it works for you and then tweak from a
49 > position of strength.
50
51 Thanks. I will check out your notes and figure out something -- it was
52 definitely strange. I have a vm I can play with -- its older, but I can
53 bring it up to date and see what happens.
54
55 Thanks again.
56
57 --
58 Your life is like a penny. You're going to lose it. The question is:
59 How do
60 you spend it?
61
62 John Covici
63 covici@××××××××××.com

Replies

Subject Author
[gentoo-user] btrfs strategies (wasHard drive noise) covici@××××××××××.com