Solved

map network drive to linux

Posted on 2004-04-14
8
3,374 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
Comment Utility
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
Comment Utility
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
Comment Utility
He said he wants to mount his windows partition in linux.
0
 
LVL 45

Expert Comment

by:sunnycoder
Comment Utility
I thought the other way round :o)
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

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

Expert Comment

by:owensleftfoot
Comment Utility
Follow the instructions in the first reply.
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 75 total points
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now