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 1NN675-00028S-Vz for garchives@archives.gentoo.org; Tue, 22 Dec 2009 14:53:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 789CAE091B; Tue, 22 Dec 2009 14:52:53 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.146]) by pigeon.gentoo.org (Postfix) with ESMTP id 3BE5DE091B for ; Tue, 22 Dec 2009 14:52:53 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 3so1340404eyh.40 for ; Tue, 22 Dec 2009 06:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=yIbwDOyUkq7M5FbE5cG34lk3QMMv9GlRQ4wqDkRlBcg=; b=KIdIM4//IsOwhTbjoSitebNnjNhw+MxnoTcLRYmmxFYp7zrGhPBQFP+TANBUJEzZzM xGXG3C6U/rL2JvNEoWulRM7HyPyzKWVLykgrBpC8UZ6+ONgmK4Sw9lhzlpFVhwFejpnT buGkKfj2ACQMR5KakX0Ktn4QS5FqoUg0sQQiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=YBMHtaceCo5eT+qllrWOKcwtbaiMWAQtkpfdSY454izvdmCQRtSxgLN6PfHnGz+mIz uF691M+SF7K4FU4S4ncduqJw6aXvNE/F+9Xn8aRwtw7d9nFAmRPHDryND3w5v8Z6hrGB AX3FchtlegoSl+CMkdawWlF8BIJeZI7YeZ6Ic= Received: by 10.213.102.72 with SMTP id f8mr166339ebo.26.1261493572555; Tue, 22 Dec 2009 06:52:52 -0800 (PST) Received: from nazgul.localnet ([196.210.202.184]) by mx.google.com with ESMTPS id 13sm4534584ewy.13.2009.12.22.06.52.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Dec 2009 06:52:35 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway. Date: Tue, 22 Dec 2009 16:51:08 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-zen9; KDE/4.3.4; x86_64; ; ) References: <4B303B5D.2060400@gmail.com> <4B30D5D4.8040904@gmx.ch> In-Reply-To: <4B30D5D4.8040904@gmx.ch> 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 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200912221651.08955.alan.mckinnon@gmail.com> X-Archives-Salt: f23746b9-640d-4936-b0a8-0555a21cb384 X-Archives-Hash: d6cdb9c949eeeb8cd28f8ec22aa1c4d9 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)) and > maybe how to use it (link)? So if you say "or LSM" does this mean I can > achieve this also woth LVM? How? > thx... None of the traditional filesystems (ext2|3, reiser) support snapshots. ZFS= <=20 Btrfs do, possibly ext4 also (the last is a hunch only). 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. Snapshots with LVM are easy as pie: =2D create a new volume which is a snapshot of an existing one =2D mount the snapshot somewhere =2D copy,backup,etc as you like. The volume is read-only so you can't break= it =2D umount snapshot =2D destroy snapshot The LVM man pages contain a wealth of data, as does Google and the LVM=20 documentation at redhat.com >=20 > If you have some more tips, my current server runs on a single HDD and a > daily rsync to another computer makes my backup. In my new server I'd > like to improve as much as possible for as less money and energy as > possible (since it's only for me...) so I thought about RAID as well. > Today I'm using very old standard desktop hardware and for the new one I > like to use also standard hardware so I don't know if I can afford a > RAID-5 card or so... and I never made software RAID... do you have some > recommendations (links?)? thx Cheap dumbass hardware raid is not worth the money. This includes every sin= gle=20 on-board raid controlled it has ever been my misfortune to behold. Some of= =20 them are even called RAID but aren't - they're just a fancy multipath thing= y=20 and might let you only choose RAID 1 or 5, or even only RAID 1 in some cases Software raid built into the linux kernel is a far better solution. Again,= =20 Google will return enough hits that it will take you a year to read all the= =20 good docs.... Proper hardware add-on cards *are* worth the money though and deliver great= =20 results. Your post indicates that you won't want to spend what they cost=20 though =2D-=20 alan dot mckinnon at gmail dot com