linuxfs / chunkfs
 | 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

chunkfs

Page history last edited by PBworks 14 years, 10 months ago

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/

Comments (0)

You don't have permission to comment on this page.