Visit Our UNIX and Linux User Community

Mounting ntfs through network???

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Mounting ntfs through network???
# 1  
Old 05-08-2002
Question Mounting ntfs through network???

Hi all,

I wonder if there is any possibility to mount NTFS or FAT32 from remote Windows* machine to, let's say, OpenBSD or RedHat??? Like Samba, but reverse.

Thank you all.
# 2  
Old 05-08-2002
That is exactly what Samba does -- allows you to mount a Windows drive on a Unix box.
# 3  
Old 05-09-2002

I thought Samba lets you mount Unix drive on the windows box, in other words making Unix drive readable by Windows machines. How about making Windows hard-drive readable by Unix machines. Does Samba do that?
# 4  
Old 05-09-2002
You just need to set the Windows share at the root dir of the partition in question. Under NT/2000 there is an administrative share such as c$, d$, etc.

At the house, I setup the Win98 machines with shares at the root level with names like "c_drive". You can then mount the share with samba and have full access to the drive.

Here is a sample of mounting another machine in the house with samba for full drive access:

FreeBSD:joeuser:/home/joeuser $ su
FreeBSD:root:/home/joeuser $ mount -t smbfs //targetmachine/c_drive /targetmachine/
FreeBSD:root:/home/joeuser $ cd /targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 6023
drwxr-xr-x   1 root  wheel    16384 Dec 31  1969 .
drwxr-xr-x  23 root  wheel      512 Apr 24 09:15 ..
-rwxr-xr-x   1 root  wheel       24 Sep  1  2001 AUTOEXEC.001
-rwxr-xr-x   1 root  wheel       72 Nov 12 18:11 AUTOEXEC.BAT
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BC5
drwxr-xr-x   1 root  wheel    16384 Dec 21 14:01 BDE
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BDE32
-rwxr-xr-x   1 root  wheel    56288 Nov 11 16:34 BOOTLOG.PRV
-rwxr-xr-x   1 root  wheel    57847 Nov 11 17:54 BOOTLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Banshee
drwxr-xr-x   1 root  wheel    16384 Apr  4 21:13 CDNOW
drwxr-xr-x   1 root  wheel    16384 Oct 31  2001 CHEESE
-rwxr-xr-x   1 root  wheel    93890 Apr 23  1999 COMMAND.COM
-rwxr-xr-x   1 root  wheel        0 Feb  5  2001 CONFIG.SYS
-rwxr-xr-x   1 root  wheel    68748 Jan  1  1997 DETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 EPSON
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 FOX
-rwxr-xr-x   1 root  wheel     1012 Jan  1  1997 FRUNLOG.TXT
-rwxr-xr-x   1 root  wheel   222390 Apr 23  1999 IO.SYS
drwxr-xr-x   1 root  wheel    16384 Jan  1 20:11 Images
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Internet
drwxr-xr-x   1 root  wheel    16384 Nov 12 18:11 KPCMS
-rwxr-xr-x   1 root  wheel  1047960 Nov 11 17:53 LANCopyFile.txt
-rwxr-xr-x   1 root  wheel      118 Nov 11 18:08 LANTest.Log
-rwxr-xr-x   1 root  wheel    24576 Nov 11 19:41 LANTest.exe
drwxr-xr-x   1 root  wheel    16384 Nov 11 14:21 Lantest
-rwxr-xr-x   1 root  wheel       22 Dec 31  1996 MSDOS.---
-rwxr-xr-x   1 root  wheel     1676 Jan  1  1997 MSDOS.SYS
drwxr-xr-x   1 root  wheel    16384 Dec 21 12:59 Music Videos
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 My Documents
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 My Music
-rwxr-xr-x   1 root  wheel     9014 Feb  5  2001 NETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Dec 31  1996 Program Files
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 RECYCLED
FreeBSD:root:/targetmachine $ cd /
FreeBSD:root:/ $ umount /targetmachine/
FreeBSD:root:/ $ cd targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 4
drwxr-xr-x   2 root  wheel  512 Apr 24 09:14 .
drwxr-xr-x  23 root  wheel  512 Apr 24 09:15 ..
FreeBSD:root:/targetmachine $

# 5  
Old 05-15-2002

can this be done with AIX (Unix)?

I try this:

mount -t smbfs -o username=foo,password=bar //windows_host/share /temp

(where temp is a directory on the AIX machine)

and get this error:

mount: '-o' 'Directory/File Name' invalid with the '-t' option.

It works perfectly well with Red Hat but for the life of me, I can't figure it out on AIX.
# 6  
Old 05-16-2002
smbfs is either compiled into the Linux kernel, or accessable via a loadable module.

Check the smbmount(8) man page:

# 7  
Old 05-16-2002
Samba is also available for AIX (not just Linux). Check, or get the binaries directly from:

Previous Thread | Next Thread
Test Your Knowledge in Computers #50
Difficulty: Medium
Matti Makkonen is considered to be the 'Father of SMS'.
True or False?

9 More Discussions You Might Find Interesting

1. Red Hat

Mounting NTFS Drive through JBOD

Very green to the world of Linux/Unix computing, as I have recently been tasked with getting out internal network set up for incoming data sets we are receiving. Unfortunately our system is Linux/Unix mainly, and the drives that are coming in are SATA NTFS formatted. I'm wondering if there... (0 Replies)
Discussion started by: cbrowne20
0 Replies

2. Emergency UNIX and Linux Support

Problem mounting NTFS file System in REDHAT Enterprise 5

When I am trying to mount my windows partitions in REDHAT Enterprise Linux 5 using these command mount -t ntfs-3g /dev/sda1 /mnt/ntfs I have encountered with the problem mentioned below FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root I have... (3 Replies)
Discussion started by: dearanik
3 Replies

3. Red Hat

mounting ntfs volume in RHEL5

Need a little help here. I am having trouble mounting an NTFS volume in RHEL5, here are the commands. root # mount -t ntfs-3g /dev/sda1 /media/my-volume FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root root # modprobe fuse FATAL: Module fuse... (5 Replies)
Discussion started by: etcpasswd
5 Replies

4. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

5. OS X (Apple)

Mounting USB NTFS External Disk R/W on OSX

Does anyone know an easy way to mount an NTFS (NT File System) external backup drive R/W on OSX? I use one backup drive for both my XP and OSX files via a USB interface. On XP it mounts R/W. On OSX it mounts Read Only :-( I'm growing weary of using flash drives and burning CDs to... (4 Replies)
Discussion started by: Neo
4 Replies

6. BSD

Mounting ext3 & NTFS on PC-BSD!!

I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS. Can anyone please help me out here. What are the changes required to be done in fstab?? Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies

7. Red Hat

Mounting NTFS filesystem

I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem. Also the... (9 Replies)
Discussion started by: woofie
9 Replies

8. UNIX for Dummies Questions & Answers

Mounting a Windows Network Drive on Solaris 10

Hi, I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command #mount /windows - ip address of my windows box content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies

9. UNIX for Dummies Questions & Answers

mounting across network

Ok I have 3 unix boxes all running Solaris 7 , 2 of them have storeedge a1000s on them. I want a nfsmount from the third system to both the a1000s accross the network. can this be done and if so how. i want to remote mount these so i can transwer data faster and easyer for backups. (3 Replies)
Discussion started by: Thump
3 Replies

Featured Tech Videos