Re: [Linux-cachefs] Preliminary tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did, that was the 1st time I mounted CacheFS. From then on I didn't run the echo command. I just the results I sent were exactly in the order I did things starting when the machine 1st came up after I'd recompiled the kernel. Then I installed the utils-linux RPM; fdisk the drive I wanted to put the cache on so I could take off the old partitions I had on there; and ran the command I sent in the previous email.

-Cesar

David Howells wrote:
Cesar Delgado <cdelgad2@xxxxxxxxxxxxxx> wrote:

Ok, so here's my weekend experience.  I have a Gentoo box as an NFS server an
a FC4 with the CacheFS kernel as a client.  I mounted the cachefs partition
thusly:
 >mount -t cachefs /dev/hdb /home -o tag=nfs_mount
 >echo "cachefs__" > /dev/hdb

That's definitely wrong. The echo command informs CacheFS that the blockdev is
pre-initialised and that it should initialise it upon mounting. CacheFS then
changes the magic number to something to indicate that CacheFS is actually
active and can be re-used on subsequent mountings. You should only need to do
the echo once.

David


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux