From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NN6o4-000294-El for garchives@archives.gentoo.org; Tue, 22 Dec 2009 15:37:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06415E0A59; Tue, 22 Dec 2009 15:36:52 +0000 (UTC) Received: from IMPaqm3.telefonica.net (impaqm3.telefonica.net [213.4.129.23]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D173E0A59 for ; Tue, 22 Dec 2009 15:36:51 +0000 (UTC) Received: from IMPmailhost3.adm.correo ([10.20.102.124]) by IMPaqm3.telefonica.net with bizsmtp id L7J11d00S2h2L9m3PFcqEi; Tue, 22 Dec 2009 16:36:50 +0100 Received: from jesgue.homelinux.org ([78.136.66.163]) by IMPmailhost3.adm.correo with BIZ IMP id LFcp1d00J3XLmEe1jFcqyi; Tue, 22 Dec 2009 16:36:50 +0100 X-TE-authinfo: authemail="i92guboj.terra.es" |auth_email="i92guboj@terra.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitera01" Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Date: Tue, 22 Dec 2009 16:36:48 +0100 From: =?UTF-8?Q?Jes=C3=BAs_Guerrero?= To: Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway. In-Reply-To: <200912221651.08955.alan.mckinnon@gmail.com> References: <4B303B5D.2060400@gmail.com> <4B30D5D4.8040904@gmx.ch> <200912221651.08955.alan.mckinnon@gmail.com> Message-ID: X-Sender: i92guboj@terra.es User-Agent: RoundCube Webmail/0.3.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 24f953d7-152b-4dbb-9805-49a952b4ed2a X-Archives-Hash: 709cefb5265c8b0084e7cc3d455d59c2 On Tue, 22 Dec 2009 16:51:08 +0200, Alan McKinnon wrote: > On Tuesday 22 December 2009 16:21:08 Christian K=C3=B6nitzer wrote: >> a question to b): >> Can you tell me a fs that supports snappshots (I'm planing to set up a >> new server so you can choose a new fs... (now I am using reiserfs)) an= d >> maybe how to use it (link)? So if you say "or LSM" does this mean I ca= n >> achieve this also woth LVM? How? >> thx... >=20 > None of the traditional filesystems (ext2|3, reiser) support snapshots. > ZFS<=20 > Btrfs do, possibly ext4 also (the last is a hunch only). That's basically true. However btrfs is quite experimental still, and I have no serious experience with ZFS, it kind of turns me back the fact th= at it's a FUSE based fs, though it's certainly possible to use it even for a root system provided that your kernel can load the module at bootup (initrd), I have no idea if there's any downside. I don't have either any notice about snapshotting in ext4 (I remember the plan being discussed bu= t I don't think it has been finally implemented, I'd like to be wrong on th= is one though). > LVM snapshots a volume, not the filesystem on it. So it tracks extents > that=20 > have changed, not individual files. For backup purposes though, volume and > fs=20 > snapshots are equivalent. >=20 > Snapshots with LVM are easy as pie: >=20 > - create a new volume which is a snapshot of an existing one > - mount the snapshot somewhere > - copy,backup,etc as you like. The volume is read-only so you can't break > it > - umount snapshot > - destroy snapshot >=20 > The LVM man pages contain a wealth of data, as does Google and the LVM=20 > documentation at redhat.com Yep, just googling for something along the lines of "lvm snapshot backup" should give you enough info to start researching. However, for this to be= a possibility you first need to convert your system to use lvm. --=20 Jes=C3=BAs Guerrero