Solved

map network drive to linux

Posted on 2004-04-14
8
3,377 Views
Last Modified: 2010-04-20
 How can I back up data from my linux machine to  windows machine on net work, How can I mount partition from windows machine drive into linux machine so I can back up data from linux machine
Thank
0
Comment
Question by:teera
8 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 125 total points
ID: 10821355
mount -t smbfs //windowsbox/sharename /mnt/mountpoint_on_linux_box
Ypu can then copy your data to the share on your windows box which is mounted under /mnt/mountpoint_on_linux_box (obviously your directory name will be different)
0
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 75 total points
ID: 10821365
Hi teera,

Create a samba user
smbpasswd -a username password
Run samba daemon on the linux machine
/etc/init.d/smbd start

from your windows machine
\\linux_machine_address

enter username and password ... right click the folder ... map netowrk drive

Sunnycoder
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10821418
He said he wants to mount his windows partition in linux.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 45

Expert Comment

by:sunnycoder
ID: 10821480
I thought the other way round :o)
0
 

Author Comment

by:teera
ID: 10821614
Yes i wnat to mount my windows partion on linux , Is it possible Please help
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10821628
Follow the instructions in the first reply.
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 75 total points
ID: 10822265
If you're running some form of "security" on your windows machine, you might need provide credentials... so (continuing foots perfectly OK example):
 mount -t smbfs //windowsbox/sharename /mnt/mountpoint_on_linux_box -o username=winuser,password=winuserpasswd,workgroup=windows_domain_or_workgroup

... And you'll need specify the correct values for your setup of course;)

You can "test things out" with the smbclient command:
smbclient -L //windowsbox -U winuser -W domain_or_workgroup
... will browse your windoze box.

smbclient should be capable of working in an ftpish manner too.

-- Glenn
0
 
LVL 3

Assisted Solution

by:tolgadalkilic
tolgadalkilic earned 75 total points
ID: 10847101
hi taera,

first you must share your windows drive or directory that you want to be mounted on the linux box. On windows
You can do it by:

-right click on the directory that you want to share
-click on "sharing and security" in the menu
-chose "share this folder" combo
-give  share name
-click on permissions
-remove "everyone" from list, add the user on the system and you want it to be used by linux box.
-press all accept, ok, apply buttons :)

after than do the steps on the linux side as other friends wrote above:

mkdir /mnt/mountpoint_on_linux_box

mount -t smbfs //windowsbox/sharename /mnt/mountpoint_on_linux_box -o username=winuser,password=winuserpasswd,workgroup=windows_domain_or_workgroup

thats all. /mnt/mountpoint_on_linux_box is the place that you want.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question