mounting network NTFS drive on FreeBSD

0 views
Skip to first unread message

Zbigniew Szalbot

unread,
Jun 25, 2009, 2:33:12 PM6/25/09
to freebsd-...@freebsd.org
Hello,

I am trying to figure out how to mount a network NTFS drive
(192.168.16.3\backups) on a FreeBSD system.

Can you point me to the appropriate documentation? The Handbook mentions
the mount command but I am not sure I can do it using mount? Or can I?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html

Thank you very much in advance!

Zbigniew Szalbot
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Manolis Kiagias

unread,
Jun 25, 2009, 2:47:51 PM6/25/09
to Zbigniew Szalbot, freebsd-...@freebsd.org
Zbigniew Szalbot wrote:
> Hello,
>
> I am trying to figure out how to mount a network NTFS drive
> (192.168.16.3\backups) on a FreeBSD system.
>
> Can you point me to the appropriate documentation? The Handbook
> mentions the mount command but I am not sure I can do it using mount?
> Or can I?
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html
>
>
> Thank you very much in advance!
>
> Zbigniew Szalbot

Effectively, you will be mounting a Samba (SMB) share and not an NTFS
drive (the latter would be the case if it were made available locally).
See the man page for mount_smbfs

Polytropon

unread,
Jun 25, 2009, 2:48:23 PM6/25/09
to Zbigniew Szalbot, freebsd-...@freebsd.org
On Thu, 25 Jun 2009 20:33:12 +0200, Zbigniew Szalbot <z.sz...@lcwords.com> wrote:
> Hello,
>
> I am trying to figure out how to mount a network NTFS drive
> (192.168.16.3\backups) on a FreeBSD system.
>
> Can you point me to the appropriate documentation? The Handbook mentions
> the mount command but I am not sure I can do it using mount? Or can I?
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mount-unmount.html
>
> Thank you very much in advance!

Because "Windows" does not conform to standards, you have to use
mount_smbfs. As far as I understood, it doesn't even matter which
file system is on the "Windows" disk.

I will give an example.

First, set up those in your /etc/fstab (makes things more easy):

//Administrator@NTWS2KXX/a$ /smb/a smbfs rw,noauto 0 0
//Administrator@NTWS2KXX/c$ /smb/c smbfs rw,noauto 0 0
//Administrator@NTWS2KXX/d$ /smb/d smbfs rw,noauto 0 0
//Administrator@NTWS2KXX/e$ /smb/e smbfs rw,noauto 0 0
//Administrator@NTWS2KXX/f$ /smb/f smbfs rw,noauto 0 0

Then, make /etc/nsmb.conf look like this:

[default]
workgroup=ARBEITSGRUPPE
[NTWS2KXX]
addr=192.168.16.3
[NTWS2KXX:Administrator]
password=

You can then simply issue

# mount /smb/c

You can check out manpages for:
mount_smbfs
fstab
nsmb.conf

Then, I'm sure, how you can add a directory name as you mentioned
above (\backups). I think that's possible, too.


--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Zbigniew Szalbot

unread,
Jun 25, 2009, 2:52:25 PM6/25/09
to Polytropon, freebsd-...@freebsd.org
Polytropon pisze:

> Because "Windows" does not conform to standards, you have to use
> mount_smbfs. As far as I understood, it doesn't even matter which
> file system is on the "Windows" disk.
>
> I will give an example.

Just want to thank you and Manolis for such immediate help!

I really appreciate it!

Zbigniew Szalbot

Reply all
Reply to author
Forward
0 new messages