From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 10:51:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B184516A400 for ; Thu, 8 Mar 2007 10:51:55 +0000 (UTC) (envelope-from finsbury5000@yahoo.co.uk) Received: from web25502.mail.ukl.yahoo.com (web25502.mail.ukl.yahoo.com [217.12.10.148]) by mx1.freebsd.org (Postfix) with SMTP id 2C8D613C441 for ; Thu, 8 Mar 2007 10:51:49 +0000 (UTC) (envelope-from finsbury5000@yahoo.co.uk) Received: (qmail 33496 invoked by uid 60001); 8 Mar 2007 10:25:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W7AM5gJHchWakQdPavlpTls64pZHCu924HKXupf8CeGneD9Rk04LyjPgfuye+w8q/k5HcoqZGShZBsbiPT9IzcVjiKvXtbwdEUjO28Mc5j3igN6TuXfZGRsVzJiOuZj1vEF/iYdHkWSfFDMMJOSqryt6FEt8mbz+s0neuAE8f2U=; X-YMail-OSG: Swx7Oj8VM1k0xYbY5Q_EIvibjMXckCI2NKI4zaG.3dnybygJTqK19dudrQZIm_Psi3ScB5Hu9Fd376p6P7ovKDCIT_If4QLGTSM0rKKFvcei4rSfgIm7qwsrZwEJyw4l8A8tFqJCyoql4J0a1rQ_AbI- Received: from [87.194.70.116] by web25502.mail.ukl.yahoo.com via HTTP; Thu, 08 Mar 2007 10:25:08 GMT Date: Thu, 8 Mar 2007 10:25:08 +0000 (GMT) From: Ken Williams To: freebsd-questions@freebsd.org, feenberg@nber.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <756027.33168.qm@web25502.mail.ukl.yahoo.com> Cc: Subject: Re: mount_smb shows no files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 10:51:55 -0000 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 //backup@rm316/backup /mnt >> Password: >> backup2# ls /mnt >> backup2# df /mnt >> Filesystem 1K-blocks Used Avail Capacity Mounted on >> //BACKUP@RM316/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 >> root@dessler.cse.buffalo.edu:/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 >> "freebsd-questions-unsubscribe@freebsd.org" >> >> -- >> 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 //backup@rm316/backup /mnt You can also mount the filesystem automatically by adding a line to your /etc/fstab file, //backup@rm316.DOMAINNAME.TLD/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