How to mount network ntfs drive on linux server and add it on FSTAB
Hello everyone,
I need help mounting network NTFS drive on my linux server. I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder. Best regards, Rahil Maknojia. |
Have you tried something like this:
Code:
mount.cifs //server/share ~/mount_point/ -o username=user_here Fordeck |
Quote:
--- rod. |
Quote:
|
Okay, yet another possibility. I'm not very acquainted with the ins and outs of virtual OS's, but I'm going to guess that the host OS isn't going to expect there to be another OS using it's drive. Therefore, your most probable solution would be to create a network share in the Windows OS, and mount it with the Linux guest OS's SMB/CIFS. For that, start out with (as root):
Code:
mount -t cifs //the/windows/sharename /the/linux/mountpoint Code:
man mount.cifs Code:
//servername/sharename /mnt/sharename cifs uid=linuxUsername,gid=linuxGroupname,user=windowsUser,rw,directio,credentials=/etc/samba/smb.creds 0 0 If someone knows how to mount the NTFS drive directly, I hope they speak up. --- rod. |
The drive on the base machine was shared via network already, we were just trying to mount the network drive onto CentOS. This is the command we just used and it worked, thanks all.
Code:
mount.cifs //IP_address/Folder_name /mnt -o username=user_name |
Quote:
Thanks |
Quote:
|
All of the comma-separated items in the entry are the options passed to mount.cifs (standard fstab stuff). Many are optional, and most require local customization. All are explained in the man page for mount.cifs, along with the numerous other possible options.
--- rod. |
Quote:
|
All times are GMT -5. The time now is 07:08 PM. |