I am using my LINUX box as SAMBA Server and accessing it nicely from Windows Clients, but I am not able to access Windows Machines from Linux Box..
What should I do to get access to my networked Windows 98/nt/xp machine shared folders and printers from this LINUX box?.. I have heard that LINUX only supports NTFS reading and NTFS writing is under development, Is that true, is there anything I should do to get access to this file system?.. Please help... It is urgent..
I had gone through some Linux websites, but still a bit confused, can anybody give me a bit detailed help, thanks
Manu
OneNight
Oct 13 2003, 08:50 PM
My understanding is that linux is not compatible with NTFS file systems. But, both windows and linux are compatible with FAT32 file systems. So just reduce the windows ntfs partition and make most of the drive FAT32...
But i am sure google has lots more information on all this...
niko
Oct 13 2003, 11:51 PM
Suse professional 9 , coming out later this month (october 25 or so) now has support for NTFS.
-niko
hermel
Oct 14 2003, 07:36 AM
No Suse Pro 9.0 is out now
scooby
Oct 14 2003, 10:32 AM
well ntfs gets mounted alright but i'm not sure if u can write without corrupting data.I am trying to do this but so far have not succeded . U r already running samba matey in that case read here
Thanks for that link M8, Will be useful, But, I didnt get a good reply from anybody yet... Are you poepole saying, now I cant R/W NTFS from my Linux mechine?... Still under development?.. Well, hope that, i can hear good news from somebody..
Manu
scooby
Oct 14 2003, 04:30 PM
well i misunderstood you a bit read this on how to mount ntfs partitions but like u say its read only. To mount NTFS partitions, issue the command ?uname -p?. Note down the processor type and browse to http://linux-ntfs.sourceforge.net/info/redhat.html. From Download section>RedHat> 8.0 >kernel 2.4.18-24.8.0. Download the RPM for the processor type you had noted down aboveand install it.
#rpm -Uvh <name-of-rpm-file>
Now, issue modprobe ntfs, and mount the ntfs partition as:
#mount -t ntfs /dev/hdc1 /mnt/ntfs
It is mounted as read-only at the /mnt/ntfs directory you have already created.
manu
Oct 15 2003, 07:00 AM
A million thanks my friend.. Gr8 help.. I am going to read all those things..
Manu
packet
Oct 15 2003, 12:40 PM
Just to note reading and writing to NTFS is supported in the Linux kernel but I think the module is still marked as "experiemental". It works though, my Linux admin recovery boot disc uses that to rewrite the registry.
BUT, this has no bearing whatsoever on your Linux box mounting drives/printers on other systems. To do this you would use the Samba client to connect to the other systems using SMBMOUNT which mounts shares. The only time NTFS would come into play is if you physically removed the NTFS drive and stuck it in your Linux box then mounted it that way.
If you are into GUI type programs check out Linneighborhood which is a nice little front end to the Samba client. Plus KDE and GNOME both have built in support for mounting M$ shares (I don't use them so I can't help you there).
Hope that helps.
--P>G>>
320X
Dec 14 2003, 07:32 PM
Becarefull with the packet ntfs , module experimental than there is no problem to read files but to write ...
Deadlocked
Dec 14 2003, 08:03 PM
It's easy you can mount it as RO, ok. If you want to write, you have a module that may do so, but this module does not veil for the safety of your data, that means: if you write, is highly probable you'll have to reformat your NTFS partition and start once again. =)
Now if you find a way to make NTFS work under the virtual filesystem, you should patent it and become rich. $_$ (For a while hundreds of kernel hackers are looking for the answer and they didn't found anything). As far as i know the main problem lies in the NTFS architecture, the ACLs, alternate streams, etc.
ikkyu
Dec 14 2003, 11:43 PM
ntfs has worked for me, rw is experimental, read-only is stable, but that isn't relevant since once mounted it becomes part of the root (/) filesystem and is no different from xfs,jfs,ext(2-3),reiserfs etc. aside from a few technical details, but all of this doesn't answer your question
what you want is to use samba to get to windows shares, no? then you are looking for smbclient, smbmount, smbspool
smbclient lets you do all sorts of nifty things like -L for enumerating shares and a number of other low level stuff
smbmount is how you mount windows shares into your root fs
smbspool is used for spooling to a windows shared printer
the man pages are extremely usefull, so use them
teest
Dec 15 2003, 01:46 PM
It is possible but U need to turn on it in your kernel and I read somewhere that NTFS is only for Read.
ikkyu
Dec 15 2003, 05:56 PM
QUOTE (manu @ Oct 13 2003, 12:13 PM)
What should I do to get access to my networked Windows 98/nt/xp machine shared folders and printers from this LINUX box?..
He was confused, he isn't interested in ntfs
Deadlocked
Dec 17 2003, 01:36 AM
Think all problems should be solved if you share only VFAT partitions, is the most reliable thing to do, once then you only need to mount it with smbmount in your linux client or use smbclient to explore them.
To see the shares:
$ smbclient -L host
To connect a remote SMB server:
$ smbclient //SMBserver/share
Once then you can explore (cd, dir, ls,...) and transfer files (get, put, mget, mput,..)
If you want to mount the share:
$ smbmount //host/path /whereUmountIt
To unmount:
$ umount /whereUmountIt
To print:
$ smbclient //host/lp -P
(-P) Especify printers service name.
smb:\> print filetoprint
Enj0y ir ;P
ajayone
Dec 23 2003, 04:12 PM
i think u got all but if u read samba manual which come with documentation cd your pro will solve
Works for a large majority of the data i need to wright to ntfs locally, not sure if this will work on samba but i cant see why it wouldnt. I havnt had any problem with it corrupting data, it just gives me errors for data that wont let me write to the ntfs drive(which windows is installed).
cornstalk
Jan 2 2004, 08:35 PM
in the new stable linux kernel ( 2.6.0 ) ntfs write support isnt marked as experimental any more, but i havent tried it yet, so i cant say whether and how it works.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.