ChunkFS

Intro/Background

ChunkFS is about reducing the file system checking (fsck) time. ChunkFS is an idea that Arjan van de Ven and Val Henson came up with in order to avoid the fsck time increase linearly with the disk drive and the metadata on the disk drive increases.

See the reading list for more literature on ChunkFS.

Reading

Source Code

ChunkFS git tree: git://git.kernel.org/pub/scm/linux/kernel/git/gud/chunkfs.git

ChunkFS FUSE git tree: git://git.kernel.org/pub/scm/linux/kernel/git/gud/fuse-chunkfs.git

ChunkFS tools: git://git.kernel.org/pub/scm/linux/kernel/git/gud/chunkfs-tools.git

ChunkFS How To

Compiling Tools and Making File System

1. Download tools from git://git.kernel.org/pub/scm/linux/kernel/git/gud/chunkfs-tools.git.
2. Compile it with ./configure and make.
3. Create a sparse file with:

dd if=/dev/zero of=disk1.dsk bs=1k seek=/[1024*4-1/] count=1

4. Create chunkfs in the sparse file with 4 chunks as:

./mkfs -C 4 disk1.dsk

Compiling ChunkFS git tree

1. Download ChunkFS git tree from git://git.kernel.org/pub/scm/linux/kernel/git/gud/chunkfs.git.
2. Compile with CONFIG_CHUNKFS_FS set and CONFIG_BLK_DEV_LOOP to "y". NOTE: No xattrs and xips yet, CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_XIP should be "no" for clean compile.
3. Boot the compiled kernel and mount the newly created file system as:

mount -t chunkfs disk1.dsk -o loop

4. Play around with it.

Announcement for the code can be found here: http://lwn.net/Articles/231482/


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts