The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mounting USB NTFS External Disk R/W on OSX Neo OS X (Apple) 4 09-30-2007 05:26 PM
Mounting ext3 & NTFS on PC-BSD!! void_man() BSD 1 09-19-2007 03:17 AM
Mounting NTFS filesystem woofie Linux 9 09-09-2006 02:04 AM
Mounting a Windows Network Drive on Solaris 10 annointed3 UNIX for Dummies Questions & Answers 3 02-09-2006 03:40 PM
mounting across network Thump UNIX for Dummies Questions & Answers 3 03-01-2001 10:26 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
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.
Forum Sponsor
  #2 (permalink)  
Old 05-08-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
That is exactly what Samba does -- allows you to mount a Windows drive on a Unix box.
  #3 (permalink)  
Old 05-08-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
hmmm

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 (permalink)  
Old 05-09-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
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:

Code:
FreeBSD:joeuser:/home/joeuser $ su
Password:
FreeBSD:root:/home/joeuser $ mount -t smbfs //targetmachine/c_drive /targetmachine/
Password:
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 $
__________________
Not quite as cool as all the other Kids...
  #5 (permalink)  
Old 05-15-2002
Registered User
 

Join Date: Apr 2002
Posts: 4
Lightbulb

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 (permalink)  
Old 05-16-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
smbfs is either compiled into the Linux kernel, or accessable via a loadable module.

Check the smbmount(8) man page:
http://us2.samba.org/samba/docs/man/smbmount.8.html

Sorry...
  #7 (permalink)  
Old 05-16-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
Samba is also available for AIX (not just Linux). Check www.samba.org, or get the binaries directly from: http://va.samba.org/samba/ftp/Binary_Packages/AIX/
Google UNIX.COM
Closed Thread

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0