Gentoo Archives: gentoo-amd64

From: Rich Freeman <rich0@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Quick rsync backup before changing a RAID
Date: Wed, 19 Jun 2013 20:20:13
Message-Id: CAGfcS_mvy8R6RT0yZR3F51HeAdAKxPaHgwimm=Er+nwtq1AGyA@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Quick rsync backup before changing a RAID by Mark Knecht
1 On Wed, Jun 19, 2013 at 3:21 PM, Mark Knecht <markknecht@×××××.com> wrote:
2 >
3 > Is 'using ACLs' one of those things that if you don't know then you
4 > are not? I just run basic Gentoo here. All installs done as per the
5 > install guide. I don't even use LVM or anything fancy. (Which is
6 > likely part of why I'm having to reconfigure as much as I am but so be
7 > it.)
8
9 Gentoo can potentially make use of them if you're using POSIX
10 capabilities, but I think that has to be enabled by USE flag or
11 FEATURE. I think you might also have to enable them in fstab (and the
12 kernel as well, though that is likely enabled by default). Chances
13 are you'd know if you were using them, and it would only apply to
14 stuff installed by portage (generally binaries). Oh, and using POSIX
15 capabilities is a good thing (less suid root binaries).
16
17 One thing to mention - I'm not sure how much data you're talking
18 about, but if it is a lot and downtime is a concern you could probably
19 get creative and avoid some copying. You could copy the files onto an
20 LVM vg, and then after your RAID is set up you could move the logical
21 volume onto your RAID, which is an online operation. (Ie set up your
22 USB drive as LVM, copy the files over, adjust your mounts so that the
23 USB drive is mounted where you want the files, and at this point
24 they're in production. Then get your RAID set up, add it to the
25 volume group, and pvmove the USB drive so that it gets moved to your
26 RAID. Then remove the USB drive from your volume group and you're in
27 the final config, with no further need to adjust mountpoints since
28 they're already pointed to LVM.) I've done a lot of messing around
29 with online migrations of RAID and LVM - quite handy when you have
30 lots of stuff like mythtv recordings that you don't want to have
31 offline backups of.
32
33 Rich

Replies

Subject Author
Re: [gentoo-amd64] Quick rsync backup before changing a RAID Mark Knecht <markknecht@×××××.com>