Petter Adsen: > > I want to set up a small (~300G) drive for online backups, taken with > backintime from a nightly cron job. backintime uses rsync/hard links to > take the backups, so there will be a lot of links. The source of the > backup is mainly small files, and many of them don't change that > frequently. > > What I'm wondering is this: what should I set blocksize, inode count > and inode ratio etc to? Also, would ext4 be a good fs to choose, or are > there better alternatives?
I don't really know about alternatives, but if you have a really large number of small files (say, for a news spool) then you might want to use "mkfs.ext4 -T news", see /etc/mke2fs.conf and mkfs.ext4(8). Otherwise you might run out of inodes before you run out of space. Aside from this, I wouldn't spend too much time optimizing the filesystem. Some people have strong opinions on this matter, but when it comes to filesystems (especially for backup purposes), I am not very keen on experimenting. J. -- I feel yawning hollowness whilst talking to people at parties. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html>
signature.asc
Description: Digital signature