Re: mount_smb shows no files

2007-03-08 Thread Nikos Vassiliadis
On Wednesday 07 March 2007 18:35, Daniel Feenberg wrote:
 
 We are starting to use mount_smbfs to mount backup shares on our Windows 
 XP systems. Formerly we were using Linux successfully, but now many of our 
 mounts succeed, but don't show any files.  We can't tell what might be 
 different among the XP systems to explain the difference, or why FreeBSD 
 and Linux should be different in this regard.

They should not be different, but keep in mind that there is no code
sharing between FreeBSD kernel and Linux kernel, so the implementations
are different and will behave differently.

 
 Demonstration (note that ls /mnt shows no files, but there are files):

Never had such problems, though I can not comment about the windows
OS involved, since I am just a client to them. FreeBSD from 4.x to
6.2-STABLE work for me. I recall one problem with file sizes over 4GB,
which was corrected circa 4.8 - 4.9.

Did you try creating a file? Did you check dmesg for warnings?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_smb shows no files

2007-03-08 Thread Ken Williams

Derek Ragona wrote:
 It is not clear what you are trying to do.  Are you
mounting Windows 
 shares on a FreeBSD server?  Or mounting FreeBSD
samba shares onto a 
 Windows XP client?
 
 -Derek
 
 
 At 10:35 AM 3/7/2007, Daniel Feenberg wrote:
 
 We are starting to use mount_smbfs to mount backup
shares on our 
 Windows XP systems. Formerly we were using Linux
successfully, but now 
 many of our mounts succeed, but don't show any
files.  We can't tell 
 what might be different among the XP systems to
explain the 
 difference, or why FreeBSD and Linux should be
different in this regard.

 Demonstration (note that ls /mnt shows no files,
but there are files):

 backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt
 Password:
 backup2# ls /mnt
 backup2# df /mnt
 Filesystem1K-blocks UsedAvail
Capacity  Mounted on
 //[EMAIL PROTECTED]/BACKUP  36659328 13238176 23421152  
 36%/mnt
 backup2# mount_smbfs -v
 mount_smbfs: version 1.1.0
 backup2# uname -a
 FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0:
Fri Jan 12 
 10:40:27 UTC 2007 

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

 Thanks

 Daniel Feenberg
 feenberg isat nber dotte org


 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their
support.

 

 Hi Daniel,

 If you look at 'man mount_smbfs' you'll see in the
examples they recommend using the '-I' option to
specify the name (or IP address) of the host machine.
This method works for me, mounting Windows XP
shared-directories onto my FreeBSD 6.1-STABLE machine.

  So you would try a command like

 mount_smbfs -I rm316.DOMAINNAME.TLD  
//[EMAIL PROTECTED]/backup /mnt

  You can also mount the filesystem automatically by
adding a line to your /etc/fstab file,

//[EMAIL PROTECTED]/backup  /mnt   smbfs 
rw,noauto 0   0


  Hope this helps.

   Ken







___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mount_smb shows no files

2007-03-07 Thread Daniel Feenberg


We are starting to use mount_smbfs to mount backup shares on our Windows 
XP systems. Formerly we were using Linux successfully, but now many of our 
mounts succeed, but don't show any files.  We can't tell what might be 
different among the XP systems to explain the difference, or why FreeBSD 
and Linux should be different in this regard.


Demonstration (note that ls /mnt shows no files, but there are files):

backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt
Password:
backup2# ls /mnt
backup2# df /mnt
Filesystem1K-blocks UsedAvail Capacity  Mounted on
//[EMAIL PROTECTED]/BACKUP  36659328 13238176 2342115236%/mnt
backup2# mount_smbfs -v
mount_smbfs: version 1.1.0
backup2# uname -a
FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Thanks

Daniel Feenberg
feenberg isat nber dotte org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_smb shows no files

2007-03-07 Thread Derek Ragona
It is not clear what you are trying to do.  Are you mounting Windows shares 
on a FreeBSD server?  Or mounting FreeBSD samba shares onto a Windows XP 
client?


-Derek


At 10:35 AM 3/7/2007, Daniel Feenberg wrote:

We are starting to use mount_smbfs to mount backup shares on our Windows 
XP systems. Formerly we were using Linux successfully, but now many of our 
mounts succeed, but don't show any files.  We can't tell what might be 
different among the XP systems to explain the difference, or why FreeBSD 
and Linux should be different in this regard.


Demonstration (note that ls /mnt shows no files, but there are files):

backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt
Password:
backup2# ls /mnt
backup2# df /mnt
Filesystem1K-blocks UsedAvail Capacity  Mounted on
//[EMAIL PROTECTED]/BACKUP  36659328 13238176 2342115236%/mnt
backup2# mount_smbfs -v
mount_smbfs: version 1.1.0
backup2# uname -a
FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Thanks

Daniel Feenberg
feenberg isat nber dotte org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]