Help - Search - Members - Calendar
Full Version: Seeing Windows File System From Linux
Linuxhelp > Support > Technical Support
brock
Hi all - a newbie here so please be gentle with me!! smile.gif

I need to see files on a Window 2000 server from Linux - I use Samba so Windows can see our Linux files server files and it works fine but I need to see Windows files from Linux - is this possible? They are not locally attached disks so I guess I cannot use mount easily? Ideally I would like Linux destop users to able to see the Windows file system system. The Linux file server is running SuSE7.2 most desktops are running 8.0.

Should also add - I do all of my server admin via the command line, I do sometimes use SWAT for Samba though, so I'm looking for possible command line options.
Corey
In this case, you would still use mount, but it will tie into samba. You need to have certain samba packages installed (which i believes differs from system to system). But, you can test this out on your current install with something like this:

QUOTE
mount -t smbfs //computername/sharename /mnt/mountpont -o username=name,password=pass


Give that a shot, see if it works.
brock
Thanks for that Corey - it worked a treat. smile.gif

I now remember the command and recognised but it had just gone straight out of my head!

One odd thing, when I try to umount it reports that the 'device is busy' - I tried it several times over 30mins or so, in the end I just killed the process ID, it was still mounted after killing but the umount command worked after that.
DS2K3
Might be a software bug, or maybe another process was reading/writing the share. It'll be forcefully unmounted when your shutdown the system though, so unless your server is really low on resources, it shouldnt do any harm.

You could try upgrading samba, but there probably isnt a lot of point.

D
brock
Well, hopefully I'll be ordering several new servers soon - probably running the lastest SuSE so hopefully things will be better with Samba3. I've inherited a lot of problems with our current Linux server - the file system was imported from a old Unix system many years ago and is all over the place and out of step. It is just too mcuh work to sort out so I came to the conclusion that buying new would be the best move. we have a batch of 40 PCs for batch processing (all running Linux) which pull data from one of our Llinux servers. I have difficulties in intergrating our Windows Sever 2000 with the Linux so I'm probably going to ditch the Windows Server 2000 altogether. I pretty sure we can do most things with Linux - still be running XP desktops though. Any big pitfalls out there with this one?

I'm pretty sure once things get going I'll be on here a lot!! biggrin.gif
DS2K3
QUOTE
Any big pitfalls out there with this one?


I guess you mean apart from running XP desktops... tongue.gif

Cant think of any big ones. Things normally seem to work out. I'm not sure how you go about setting up authentication, although i'm sure it can be done.

D
Corey
As a bit of a tip, if you find that when you unmount a filesystem and it says that it's in use, you can use the fuser command to see what's locking it. The same goes for devices. For example, if you're trying to unload your sound module and it says that it's busy, you can find what process is locking it with:

fuser /dev/dsp

This also works, afaik, with mounted filesystems:

fuser /mnt/smbdrive
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.