LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-28-2007, 06:53 PM   #1
andy1974
Member
 
Registered: Jun 2007
Posts: 85

Rep: Reputation: 15
mapping a windows network drive


hello all

i am wanting to map a winxp shared drive to my linux machine, to perform backup using kbackup over the network is this possable?
 
Old 07-28-2007, 07:02 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yep, please read 'man mount' for the details and other options;
Code:
mount -t cifs /path/to/the/shared/drive  /mnt/someplace -o username=someuser password=mypassword -rw
 
Old 07-28-2007, 07:07 PM   #3
andy1974
Member
 
Registered: Jun 2007
Posts: 85

Original Poster
Rep: Reputation: 15
what do you mean by read 'man mount'
 
Old 07-29-2007, 02:28 AM   #4
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274

Rep: Reputation: 30
How do you specify a windows path in linux?

If its C:\test\mountme


What is the path in linux absolute path?
\c\test\mountme ????

THanks
 
Old 07-29-2007, 06:09 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
From the virtual console or xterm session type: man mount

Code:
MOUNT(8)                   Linux Programmer's Manual                  MOUNT(8)

NAME
       mount - mount a file system

SYNOPSIS
       mount [-lhV]

       mount -a [-fFnrsvw] [-t vfstype] [-O optlist]
       mount [-fnrsvw] [-o options [,...]] device | dir
       mount [-fnrsvw] [-t vfstype] [-o options] device dir
 
Old 07-29-2007, 03:18 PM   #6
andy1974
Member
 
Registered: Jun 2007
Posts: 85

Original Poster
Rep: Reputation: 15
where do the smaba drives reside???
 
Old 07-29-2007, 03:38 PM   #7
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274

Rep: Reputation: 30
Well there is no samba "drive". Samba is a utility to mount drives over a network.

So where ever you mount the windows drive to, is where it resides.
 
Old 07-29-2007, 10:02 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
maybe reviewing this thread will provide some additional insight;

http://www.linuxquestions.org/questi...d.php?t=573099
 
Old 02-01-2011, 06:09 PM   #9
fla_panther
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Rep: Reputation: 0
I thought I would post something here to help others who may find it. I'm currently running a Windows-based network but have built a linux box running CentOS 5.5 ... I was having trouble mapping to a folder on a NAS I have on my network (Buffalo Terastation, specifically). After reading this thread and the one Lenard linked to I felt I might be able to make it work using the command line, but considering how polished the CentOS desktop seems to be I was almost sure there had to be something set up in the CentOS GUI to accommodate this. I played around with it for awhile and figured it out. Interestingly, the final clue that put it together for me came from the Terastation's manual - but the section that showed how to map a drive to an Apple, not a Windows box.

If you're running CentOS, at the top of your screen it should say Applications, Places, and System. Under Places is "Connect to Server". When I clicked on that it brought up a menu. I played with the different service type selections, I tried using the NAS's IP address, the server name, the shared folder name, and combinations of all the above. There is a choice there for Windows Share, if that's what you need. In my case I chose Custom Location and in the Location field I had to put "smb://192.168.1.100/Buffalo1" ... It was the Terastation manual that used "smb" at the front. I'd seen other examples using this menu that had "file" or "network", but neither of those had worked. In my case the folder being shared was named "Buffalo1" but of course you'd have to change that to whatever yours is named.
 
  


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
Mapping a network drive mikepengelly Linux - Networking 1 08-31-2004 04:27 PM
Regarding Mapping to Network Drive ssnkumar Linux - General 3 06-18-2004 02:11 PM
Mapping a network drive from Windows 2k to an ftp, Apache/1.3.27 Server DumbWindow$User General 5 04-08-2004 01:16 PM
Mapping a network drive in linux jmarsh Linux - Networking 11 12-13-2002 12:08 PM
Mapping Network Drive at every boot? HOW TO? shassouneh Linux - Networking 0 11-06-2002 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration