On Tuesday 22 December 2009 16:21:08 Christian Könitzer 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< 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 have changed, not individual files. For backup purposes though, volume and fs snapshots are equivalent. Snapshots with LVM are easy as pie: - 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 The LVM man pages contain a wealth of data, as does Google and the LVM documentation at redhat.com > > 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 single on-board raid controlled it has ever been my misfortune to behold. Some of them are even called RAID but aren't - they're just a fancy multipath thingy 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, Google will return enough hits that it will take you a year to read all the good docs.... Proper hardware add-on cards *are* worth the money though and deliver great results. Your post indicates that you won't want to spend what they cost though -- alan dot mckinnon at gmail dot com