07-05-2008
How to Mount a Remote NTFS Share for Read/Write under Linux
I've done this in the past, but I didn't save the syntax. I'm still kicking myself about that...
I am trying to mount \\server_name\share_name for read/write under CentOS 5.2 (a "generic" version of RedHat). As I recall, there was a fairly simple (maybe a oneline) command that would allow NTFS to mount under Linux for read/write, without having to install a bunch of RPMs, etc.
I've searched and searched on Google and found all sorts of references to smbfs and cifs. Nothing I've tried has worked this time around.
Can someone point me in the right direction? I'm looking for syntax that has not been (hopefully will not be) deprecated.
TIA,
J
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hie ,
I have a distrib Red Hat with a kernel-2.4.9-31 . I can't mount a ntfs fs with command :
#mount -t ntfs /dev/hda1 /windows
mount: fs type ntfs not supported by kernel
Why doesn't my kernel support a type ntfs ? How can I mount this FS ?
Merci d'avance.. (1 Reply)
Discussion started by: Romeo_91
1 Replies
2. Linux
How do I mount a Windows 2K share on Redhat Linux?
I tried this: mount -t smbfs -o username=administrator,password=mypassword //machine/share
But it just returns the help for the mount command:( (3 Replies)
Discussion started by: Spetnik
3 Replies
3. UNIX for Dummies Questions & Answers
welll, the title quite explains what i want to do
thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies
4. UNIX for Advanced & Expert Users
I've got a Sco 5.0.6 box and an Ubuntu box on my network. i want to backup certain directories onto a share on the Ubuntu box. how do i mount a linux share onto the Sco box? (1 Reply)
Discussion started by: sall
1 Replies
5. Linux
How Can I mount Windows NTFS Partation in to Linux ? (4 Replies)
Discussion started by: Amit Deore
4 Replies
6. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
7. Red Hat
Hi,
I am using redhat linux 5.1 - 64bit,
using command
mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test
I am getting below error.
mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only
mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
8. Red Hat
Dear all,
I have a server A and Client B.
I am mounting a folder which is Server A using read and write options in client B.
I have put entries in /etc/exports file as
/mnt1/load *(rw,sync)
In the client i cannot create any new file or delete any file eventhough it is read... (3 Replies)
Discussion started by: jegaraman
3 Replies
9. Windows & DOS: Issues & Discussions
Hi,
I would like to assign a 10TB LUN to multiple windows servers. On the LUN will be a folder assigned to each server to place its backup.
Is there any change of data corruption with this setup.
Thanks. (2 Replies)
Discussion started by: Mack1982
2 Replies
10. Shell Programming and Scripting
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies
LEARN ABOUT REDHAT
smbmnt
SMBMNT(8) SMBMNT(8)
NAME
smbmnt - helper utility for mounting SMB filesystems
SYNOPSIS
smbmnt mount-point [ -s <share> ] [ -r ] [ -u <uid> ] [ -g <gid> ] [ -f <mask> ] [ -d <mask> ] [ -o <options> ]
DESCRIPTION
smbmnt is a helper application used by the smbmount program to do the actual mounting of SMB shares. smbmnt can be installed setuid root
if you want normal users to be able to mount their SMB shares.
A setuid smbmnt will only allow mounts on directories owned by the user, and that the user has write permission on.
The smbmnt program is normally invoked by smbmount(8)
It should not be invoked directly by users.
smbmount searches the normal PATH for smbmnt. You must ensure that the smbmnt version in your path matches the smbmount used.
OPTIONS
-r mount the filesystem read-only
-u uid specify the uid that the files will be owned by
-g gid specify the gid that the files will be owned by
-f mask
specify the octal file mask applied
-d mask
specify the octal directory mask applied
-o options
list of options that are passed as-is to smbfs, if this command is run on a 2.4 or higher Linux kernel.
AUTHOR
Volker Lendecke, Andrew Tridgell, Michael H. Warfield and others.
The current maintainer of smbfs and the userspace tools smbmount, smbumount, and smbmnt is Urban Widmark <URL:mailto:urban@teststa-
tion.com>. The SAMBA Mailing list <URL:mailto:samba@samba.org> is the preferred place to ask questions regarding these programs.
The conversion of this manpage for Samba 2.2 was performed by Gerald Carter
19 November 2002 SMBMNT(8)