I’ve enjoyed reading zbr’s blog postings about POHMELFS and the Elliptics network for years. With POHMELFS in the staging directories of Linux 2.6.33 and me needing to share some files across several machines, it is time to try it out.
- Build myself some fresh new 2.6.33 kernels with POHMELFS enabled.
- Look for a HOWTO of sorts, fail.
- Check the server out with git: git clone http://www.ioremap.net/git/pohmelfs-server.git
- Follow the included README
- Fail, install autoconf.
- Fail, finally discover
--with-kdir-path=<mylinuxsourc>/drivers/staging/pohmelfs/is the right answer.
- Fail, install libssl-dev.
- make install
- Copy /usr/local/bin/cfg over to the client machines.
- Make a new filesystem to export mounted on /jim.
- Start the server: fserver -r /jim
- Go to a client machine: #cfg -A add -a 22.214.171.124 -p 1025 -i 1 # mount -t pohmel -o idx=1 none /jim Killed
- That isn’t good.
dmesgreports there is a null pointer reference in the kernel.
- Find two patches that will be in 126.96.36.199 related to “bdi” and not having a real backing device. Add them and make a new kernel.
- Fail, badly. Please remember to change your version number in the kernel make file, lest you also forget the init ramdisk and make an unbootable system.
- Success! With these patches I can now mount my pohmelfs partition! Unpacking a linux source tree is pleasently quick.
- Failure! Chowning the source tree fills dmesg with things like… pohmelfs_insert_hash: exist: parent: 856, ino: 879, hash: 9f4b42c5, len: 14, data: ‘README.syncppp’, new: ino: 37643, hash: 9f4b42c5, len: 14, data: ‘README.syncppp’. Chown silently and slowly fails.
- Unmount and remount. Now chown hangs after a small amount of progress. No messages in dmesg this time. No changes make their way to the server.
- I’m beginning to think Pohmelfs is not ready for me.
I will go shopping for other distributed file systems.