Thank you Daniel for your reply,
If you have 2 folders, one nested, /dir1/dir2 and you issue an ls command
in dir1. It won't show dir2 however you can cd into that directory
directly.
The ganesha config is as follows:
###################################################
NFSV4
{
DomainName =
lmco.com;
}
NFS_CORE_PARAM
{
NFS_Port = 2049;
MNT_Port = 20048;
Rquota_Port = 875;
NLM_Port = 32803;
NFS_Protocols = 3,4;
}
EXPORT_DEFAULTS
{
Access_Type = RW;
Manage_Gids = true;
Protocols = 3,4;
Transports = TCP;
}
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 4;
# Exported path (mandatory)
Path = /scratch;
# Pseudo Path (required for NFS v4)
Pseudo = /scratch;
# Required for access (default is None)
# Could use CLIENT blocks instead
# Exporting FSAL
FSAL {
Name = VFS;
}
}
Thank you
David
On Wed, Nov 11, 2020 at 6:47 AM Daniel Gryniewicz <dang(a)redhat.com> wrote:
I'm not sure I'm understanding the problem here. Is it that
you can
list a file but not see it's contents? Or is it that you cannot list a
file, but can still open the file if you use a full path to it? Is it
files, or directories, or both?
What version of Ganesha are you using? What FSAL are you using?
Daniel
On 11/10/20 6:43 PM, David Hansen wrote:
> Hi Ganesha support,
>
> There are more general questions. I have a client reporting that mounted
> via linux hosts he sometimes is not able to see the contents. Logging on
> to the Ganesha server on the local dir does show them however. I was
> wondering if someone could point me in the right direction for possible
> caching options to throw in the mount to make sure the client cach is up
> to date? Some things we've tried:
>
> * We tried umounting /dataBA on the VM and mounting again, didn't help
> * We rebooted the VM, didn't help
> * We checked VAS info for user on nfs server and VM, looked ok.
>
>
> Here we see we can cd into a directory (redacted6) that doesn't show up
> in ls.
> We thought maybe touching a file would force a cache update or something.
>
> [user6@b5c06 redacted4]$ cd redacted5/
> [user6@b5c06 redacted5]$ ls
> afile
> [user6@b5c06 redacted5]$ ls -lh
> total 0
> -rw-------. 1 user67 hpc.default 0 Nov 2 23:10 afile
> [user6@b5c06 redacted5]$ rm afile
> [user6@b5c06 redacted5]$ ls
> [user6@b5c06 redacted5]$ cd redacted6
> [user6@b5c06 redacted6]$ ls
> 0-15ft 10ft 15ft 17-30ft 25ft 5ft
> [user6@b5c06 redacted6]$ cd ..
> [user6@b5c06 redacted5]$ ls
>
> Any pointers or insight would be fantastic.
>
> Thanks
>
> --
> David Hansen
> WekaIO
> davidh(a)weka.io <mailto:davidh@weka.io> *•*
https://avanan.url-protection.com/v1/url?o=https%3A//www.weka.io/&g=N...
> <
https://avanan.url-protection.com/v1/url?o=https%3A//www.weka.io/%3Futm_s...
>
> The World's Fastest File System
>
> <
https://avanan.url-protection.com/v1/url?o=https%3A//www.weka.io/promo/20...
>
>
>
> _______________________________________________
> Support mailing list -- support(a)lists.nfs-ganesha.org
> To unsubscribe send an email to support-leave(a)lists.nfs-ganesha.org
>
--
David Hansen
WekaIO
davidh(a)weka.io *•*
https://www.weka.io/
<
https://www.weka.io/?utm_source=WiseStamp&utm_medium=email&utm_te...
The World's Fastest File System
<
https://www.weka.io/promo/2020-10-esg-validation-paper/?utm_source=WiseSt...