Can I mount a local NTFS disc as SAMBA mount point?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Can I mount a local NTFS disc as SAMBA mount point?
here´s the deal:
I have a external USB Disc with ntfs. I use that disc to storage all my mp3, dvds, personal documents. the thing is that I use linux and win, both and I need access to the disc using either operating sistem.
But when using linux, I cant transfer data to that disc, the only solution i thought of is mounting it a samba mount point? is this possible.
Alex
ntfs-linux.org there you can find a kernel module to get read access on your ntfs hdd.
And then you can read it if you thought that you can read and write with cifs/smbfs on it you'll have to share it on windows and mount it with cifs/smbfs.
I've always heard that NTFS is read-only with Linux. Writing to the NTFS file system through linux can corrupt the file system, that's why. There might be software that can overcome this, maybe check the link from odcheck.
Maybe you can reformat the USB disk as a FAT filesystem. That would allow you to mount it with read/write capability in both Linux and Windows. If you don't even need Windows, format it as ext2.
Look into fuse which can give you rw access. (The fuse NTFS required programs are in the download section of the ntfs-linux project referenced above.)
The only way you could use samba would be if you had a network connection to another OS where the drive was attached. Theoretically, you could do this on a single processor that would to be running XEN with a Windows OS and a Linux OS both running, but I don't think XEN, as yet, supports a Windows kernel.
Last edited by PTrenholme; 09-29-2006 at 01:53 PM.
Maybe you can reformat the USB disk as a FAT filesystem. That would allow you to mount it with read/write capability in both Linux and Windows. If you don't even need Windows, format it as ext2.
--- rod.
I cant reformat to fat, I have files larger than 4gb... fat dont support those.
I need to use a filesystem accesible by both SO, and supports 4gb o more files. Thanks anyway
I've always heard that NTFS is read-only with Linux. Writing to the NTFS file system through linux can corrupt the file system, that's why. There might be software that can overcome this, maybe check the link from odcheck.
yes, thats why I asked.I know there is a experimental module that allows this... but I can risk to corrupt my data.
Look into fuse which can give you rw access. (The fuse NTFS required programs are in the download section of the ntfs-linux project referenced above.)
The only way you could use samba would be if you had a network connection to another OS where the drive was attached. Theoretically, you could do this on a single processor that would to be running XEN with a Windows OS and a Linux OS both running, but I don't think XEN, as yet, supports a Windows kernel.
There isn't any other filesystem supported by both. However, Windows Server 2003 R2 (not available in non-R2 Windows Server 2003) does support NFS. So you could actually approach the problem from the other direction as well.
There isn't any other filesystem supported by both. However, Windows Server 2003 R2 (not available in non-R2 Windows Server 2003) does support NFS. So you could actually approach the problem from the other direction as well.
I am aware of that, thats why I asked here if someone knew how to do this...
Haven't tried fuse myself, but it'll always be safer to read/write an NTFS formatted partition with Windows. And NFS is a better choice than Samba for a Linux IMHO. So while, yes, you can do it, why anyone would want to share a Windows formatted drive using a Windows protocol without actually using Windows is a little puzzling to me. If using Linux is an absolute requirement, then why not just share an EXT3 partition using Samba and copy everything over to it.
Another option I've been toying with (though somewhat unsuccessfully) is using WebDAV for shared win/lin storage.
The thing is that the usb disk is local on my computer... I dont have a networks. I want to mount it as a samba mount point, but using my local disk.
The thing is that I must use both disks, Perhaps anyone knows a filesistem sopported by both? allowing me to hace files>4gb
Haven't tried fuse myself, but it'll always be safer to read/write an NTFS formatted partition with Windows. ...
If you look at the fuse information for NTFS access, you'll see that fuse is using the Windows NTFS software to access the NTFS files (and that the Windows DLLs are copied from your system), so, when you use the fuse method, you are using Windows to access the NTFS partition. There are, of course, no guarentees, but several people, I believe, have used it with no (serious) problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.