Re: Cachefs fails to take effect on nfs4?

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

 



When I say "submounted" I mean "a subdir of /scratch which is a
different filesystem and export line on the server."
on pre-NFS4, I'd be required to have a different mount command for
each, e.g. mount /scratch/sub1;mount /scratch/sub2; [...]
on NFS4, I can just mount -t nfs4 /scratch and it does the right thing.

Command output pending.

- Rich

On Thu, May 21, 2009 at 10:51 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Rince <rincebrain@xxxxxxxxx> wrote:
>
>> I sit corrected. This only occurs for recursively submounted
>> directories, e.g. /scratch/subdir1.
>
> What do you mean by 'submounted'?  Is subdir1 a different export of FSID to
> /scratch?  Can you cat /proc/fs/nfsfs/volumes?  It should give something like:
>
>        [root@andromeda ~]# cat /proc/fs/nfsfs/*
>        NV SERVER   PORT DEV     FSID              FSC
>        v4 5a9b4a12  801 0:17    7edcf8bbc93b4329  yes
>
> Also, can you do:
>
>        echo 65535 >/sys/module/fscache/parameters/debug
>        echo 255 >/sys/module/cachefiles/parameters/debug
>        dd if=/scratch/subdir1/testfile of=/dev/null bs=4096 count=4
>        echo 0 >/sys/module/fscache/parameters/debug
>        echo 0 >/sys/module/cachefiles/parameters/debug
>
> assuming you have CONFIG_FSCACHE_DEBUG=y and CONFIG_CACHEFILES_DEBUG=y and
> capture what winds up in dmesg?
>
>> mount | grep /scratch
>
> It might be better to do:
>
>        cat /proc/mounts | grep /scratch
>
> Things might show up there that don't show up when you do 'mount' without
> parameters.
>
> David
>
> --
> Linux-cachefs mailing list
> Linux-cachefs@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cachefs
>



-- 

A gentleman never strikes a lady with his hat on. -- Fred Allen

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

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