LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-29-2006, 07:55 AM   #1
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Rep: Reputation: 30
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
 
Old 09-29-2006, 09:30 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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.
 
Old 09-29-2006, 09:36 AM   #3
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 532

Rep: Reputation: 30
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.
 
Old 09-29-2006, 09:39 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
Old 09-29-2006, 01:51 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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.
 
Old 09-30-2006, 01:26 PM   #6
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by theNbomr
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
 
Old 09-30-2006, 01:27 PM   #7
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Avatar
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.
 
Old 09-30-2006, 01:28 PM   #8
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by PTrenholme
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.
I ll check fuse. thanks!
 
Old 09-30-2006, 01:47 PM   #9
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
You could do what you're describing with an external NAS appliance that supports USB, NTFS and SMB/CIFS. Here's one that should work: http://www.meritline.com/lanshare-enclosure-me740k.html

I'm looking for the exact same thing but with Firewire 800 instead of USB 2.0, if you happen to run across one while surfing.
 
Old 09-30-2006, 02:02 PM   #10
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Crito
You could do what you're describing with an external NAS appliance that supports USB, NTFS and SMB/CIFS. Here's one that should work: http://www.meritline.com/lanshare-enclosure-me740k.html

I'm looking for the exact same thing but with Firewire 800 instead of USB 2.0, if you happen to run across one while surfing.
I am looking for a software solution here, modules, or perhaps using a diferente filesystem supperoted by both os. Anyway...thanks!
 
Old 09-30-2006, 02:12 PM   #11
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.
 
Old 09-30-2006, 02:36 PM   #12
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Crito
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...
 
Old 09-30-2006, 03:57 PM   #13
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.
 
Old 09-30-2006, 04:24 PM   #14
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 254

Original Poster
Rep: Reputation: 30
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
 
Old 09-30-2006, 09:10 PM   #15
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Quote:
Originally Posted by Crito
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.

Having back-ups is always a "good thing."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
mount local ntfs with samba blas Linux - General 2 10-30-2005 03:28 PM
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 06:21 AM
samba mount point problems novacrasher Linux - Wireless Networking 1 12-02-2004 09:58 PM
SuSe 8 makes NTFS mount point, but doesn't create directories, error when mounting... BlackDogg Linux - Distributions 5 08-01-2002 05:08 AM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration