Hi Guys and Girls
Got some wonderful help here on my last post so thought id ask for more :-)
I am trying to mount a windows ntfs share to centos 5.7
The windows share is the C drive of a seperate server (includes windows sys files). I wish to access this using the internal IP address (192 range) so the traffic is not going through the firewall and other monitor software.
I have made it work to an empty FAT32 partition but not NTFS. This is what i have done so far:
yum install fuse fuse-ntfs-3g
yum install ntfs-3g
I have this in fstab
//192.168.1.15/LocalDisk /mnt/win ntfs-3g rw,user=USERNAME,password=PASSWORD 0 0
I then run
and i get:
[root@test ~]# mount -a
ntfs-3g: Failed to access volume '//192.168.1.15/LocalDisk': No such file or directory
ntfs-3g 2010.10.2 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
Ntfs-3g news, support and information: http://ntfs-3g.org
I have also tried mounting it without using fstab, I have tried this
mount -t ntfs-3g //192.168.1.15/LocalDisk /mnt/cf10
mount -t ntfs-3g //192.168.1.15/LocalDisk /mnt/cf10 user=USER,password=PASSWORD
Both give me the same error - ntfs-3g: Failed to access volume '//192.168.1.15/LocalDisk': No such file or directory. Im not sure if i am calling this properly, if i was doing this from a windows machine i would specify the admin share ie //192.168.1.15/c$ - should i be doing this in centos and if so how?
I have also tried
ntfs-3g //192.168.1.15 /mnt/windows
ntfs-3g //192.168.1.15/LocalDrive /mnt/windows
ntfs-3g //192.168.1.15/LocalDrive /mnt/windows user=USER, password=PASSWORD
and other variations such as
ntfs-3g user=USER,password=PASSWORD //192.168.1.15/LocalDrive /mnt/windows
I am aware that using a credentials file for passwords is seen as best practise, but i just want to make it work as is before fiddling!
This is what i have for FAT32 in FSTAB and it works but the server is hosted elsewhere and is using the full internet IP if it helps...
//xx.xxx.xx.xxx/linux /mnt/win cifs user=USER,password=PASSWORD 0 0
Thanks for your time and help