Jordan Verschuer
2013-Dec-15 22:40 UTC
[Samba] l can't "see" files on NFS mounts using 3.6.15, after upgrading from 2.2.8a
Hi Steve, thanks for jumping in, I've answered your questions below. ---------- Forwarded message ---------- From: steve <steve at steve-ss.com> To: samba at lists.samba.org Cc: Date: Thu, 12 Dec 2013 10:46:15 +0100 Subject: Re: [Samba] [Sambal can't "see" files on NFS mounts using 3.6.15, after upgrading from 2.2.8a On Thu, 2013-12-12 at 01:24 -0800, Linda W wrote:> On 12/11/2013 10:08 PM, Jordan Verschuer wrote: > > Thanks Linda, your suggestion is a good one, I think it gives a clue. > > > > I created a new samba Share of a NFS mounted folder, i.e. not linked > > into my original Share, and this shows the same thing, I can't see the > > files via Win or Mac clients. > > > > So this rules out being a wide link issue right? > > > > It's now a "sharing an NFS mounted folder via smb" issue right? > ---- > It would seem so. Since there are no links involved and you are > accessing it > directly, I don't see how links would be at issue.Hi How are you re-sharing? Are you re-exporting the nfs mount point itself? It works if you don't no? IOW, [stuff] path = /home/stuff read only = No now: mkdir /home/stuff/nfs and mount -t nfs server:/share /home/stuff/nfs Now you can see the files, yes? ==> I've mounted the NFS like this, and no joy, it still won't let me see the files. The only difference is on Solaris 9 the command is mount -F nfs ? Strangely I can copy files in, but once "refreshing" Explorer or Finder they become hidden. On 2.2.8a this wasn't a problem. But: mount -t nfs server:/share /home/stuff and you can't? Other stuff. Are we kerberised? What does the share look like in smb.conf? What command are you using to mount the nfs share? ==> mount -F nfs? as for Solaris 9. ==> Sorry, i'm not a fully fledged sys admin, how do I check kerberos and what aspect in particular; simply if it is running or not? ==> smb.conf see below, biograph is the Share that i'd like to mount or link NFS folders to, which used to work fine linking them in using 2.2.8a. ++++++++++++++++++++++++++++++++++++++++++ # Samba config file created using SWAT # from UNKNOWN (152.76.10.181) # Date: 2013/12/12 16:48:45 [global] server string = Samba Server interfaces = eri0, 152.76.10.3/255.255.255.192 passdb backend = smbpasswd os level = 65 preferred master = Yes domain master = Yes wins support = Yes remote announce = 152.76.10.255/WORKGROUP allow insecure wide links = Yes idmap config * : range idmap config * : backend = tdb admin users = root, roger, ecat printer admin = @ntadmin [print$] path = /usr/local/samba/printers admin users = roger, root write list = @ntadmin, root guest ok = Yes [biograph] comment = biograph path = /p3/biograph valid users = biograph, roger, steve, stefan, ecat, root, lingfeng, jordan admin users read only = No wide links = Yes [roger] comment = roger path = /home/acacia/roger valid users = roger, root read only = No [X2125-A6] comment = X2125 A6 path = /var/spool/samba/print printable = Yes print ok = Yes [wenlf] comment = lingfeng path = /home/karri/lingfeng valid users = lingfeng admin users read only = No browseable = No ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Any other info available? ==> The NFS servers are not NIS+ or LDAP, i.e. no directory service or mapped user login/authentication service is running, but this wasn't a problem in 2.2.8a, would something in 3.6.15 have been introduced which requires these NFS servers to now join or share some user login info?? Or mapped user or group ID's, etc? Anything along those lines ??? HTH Steve Thanks for your help, it's quite a puzzle! Cheers, Jordan
Jordan Verschuer
2013-Dec-16 22:29 UTC
[Samba] l can't "see" files on NFS mounts using 3.6.15, after upgrading from 2.2.8a
Sorry Steve, by ? I meant etc. (yada yada) The share folder is /p3/biograph, and for e.g. I can make a directory there called karri, mkdir /p3/biograph/karri I can then mount a folder from an NFS server called karri (we have dns) into the share as follows, mount -F nfs karri:/home/karri /p3/biograph/karri This mounts all the folders in the karri home folder into a folder called karri on the share. When I open this folder from a Windows or Samba client I can't see any files, they're "hidden". The files are there and can be seen on the actual samba server. I can also paste files into the karri directory using Explorer or Finder from the samba client but then they become hidden once I refresh the Explorer or Finder window. Accessing NFS mounts from samba clients worked seamlessly for us in 2.2.8a. They weren't heavily accessed folders and we weren't opening files and working on them while they lived in the NFS mount. The main reason we use this is that the Samba share has limited disk space, so for instance I can make a directory on an NFS server with lots of space and call this folder Software (and server it up via NFS, i.e. add it to /etc/dfs/dfstab), I can then copy all our software installation files, say for e.g. Microsoft Office (~600MB), into this folder using a Samba client, I can then go to another PC without Office installed, map the Samba share, and copy the MS Office installation files (that are now living on the NFS server but can be accessed via the Samba share) to this new PC, once copied over to the new PC I can install MS office. Our computer guys here that would be installing software would know not to start the installation by running the software from the NFS directly, but that they should copy it to the local first. This is just an example but i'm trying to highlight that the files from the NFS mounts wouldn't be "opened" directly from there, the NFS mounts are simply a storage location. I say this because i've seen a lot of "never share an NFS mount via samba" posts due to file locking issues, but since we're not opening files from there I don't see this as a major problem for us, like i say, we're using it for storage only. I hope this all makes sense! And like i've mentioned before, this all worked in 2.2.8a without any tinkering needed, so it's quite puzzling. Thanks for your help, Cheers, Jordan On Tue, Dec 17, 2013 at 2:58 AM, steve <steve at steve-ss.com> wrote:> > > What command are you using to mount the nfs share? > > > > > > > > > > ==> mount -F nfs? as for Solaris 9. > > Hi > I had a quick look at the oracle docs but I don't think: > mount -F nfs... > will mount anything. Are you sure that this command worked with your > older version? > Steve > > >
Seemingly Similar Threads
- Allow insecure wide links = yes, wide links =yes; but I still can't "see" files from links to NFS mounts using 3.6.15, after upgrading from 2.2.8a
- Disk images and syslinux
- Upgrading samba 2.2.8a to 3.6.15 on Solaris 9 --> 3.6.15 brings all inetd services down
- Creating HD Boot Images
- Dovecot and SUSE 10: inotify_init()