Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Seeing Windows File System From Linux, Is it possible?
brock
post Jul 15 2005, 05:01 AM
Post #1


Grub-er
**

Group: Members
Posts: 29
Joined: 15-July 05
Member No.: 5,271



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.
Go to the top of the page
 
+Quote Post
Corey
post Jul 15 2005, 01:01 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



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.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
brock
post Jul 19 2005, 07:21 AM
Post #3


Grub-er
**

Group: Members
Posts: 29
Joined: 15-July 05
Member No.: 5,271



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.
Go to the top of the page
 
+Quote Post
DS2K3
post Jul 19 2005, 07:37 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



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


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
brock
post Jul 19 2005, 09:53 AM
Post #5


Grub-er
**

Group: Members
Posts: 29
Joined: 15-July 05
Member No.: 5,271



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
Go to the top of the page
 
+Quote Post
DS2K3
post Jul 19 2005, 11:29 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



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


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
Corey
post Jul 20 2005, 01:28 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



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


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 09:19 AM