LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2010, 12:19 PM   #1
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 93

Rep: Reputation: 17
Drive Mapping in Linux


Dear LQ member,
How do I map a cd drive in Linux Mint 9 that is on the same lan connection to another pc?I have 2 system running Linux Mint 9 and would like to know how to map for example the CD-ROM drive in my dell pc to the oem pc for use.

Thank u
 
Old 12-02-2010, 07:36 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: Ontario, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 225

Rep: Reputation: 51
Well,

Off the top of my head, I think you would want to set it up as an NFS share or a Samba/CIFS share.

If you decide to do Samba, then an example for your share definition in smb.conf would be:
Code:
[cdrom]
        comment = System-1's CD-Rom
        path = /mnt/cdrom
        read only = yes
        fake oplocks = yes
        guest ok = yes
As long as the CD-ROM is already mounted on the Dell machine, the above configuration worked between two of my boxes.

A quick note: If you forget to use the "guest" option in your mount command from the OEM system (to stop the password prompt for the 'guest' share), just hit 'Enter' at the password prompt. It should mount without error.

HTH. Let us know.
 
Old 12-02-2010, 10:23 PM   #3
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 17
CD ROM is already install in the 'dell desktop'.SSH is also already install in both system("oem" and "dell").I don't know about NFS or Samba share.Would be glad if you can provide a step by step installation in Linux Mint 9 so that i can follow and report back here if I have problems during the installation.

Appreciate your kind help.
Thank you
 
Old 12-03-2010, 12:54 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
NFS is a std Unix protocol; it'll already be 'installed'. See Chap 18 http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 06-20-2011, 03:07 AM   #5
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 17
Hi ShadowCat,
I have got samba install on the Dell system.2 things I do not understand and would like to do that need your assist.First, in my Dell, there are 2 HDD, a 320GB and another 500GB. I can share the folders on the 320GB but I cannot share the folders that are in the 500GB. I do not know why. Second thing, can I share my cd-rom drive out so that my laptop without a cdrom is able to use it(something like drive mapping in window).Can you assist me in a step by step process.

Appreciate and look forward your immediate reply
Thanks
 
Old 06-20-2011, 01:59 PM   #6
scott8035
LQ Newbie
 
Registered: Nov 2010
Posts: 14

Rep: Reputation: 4
What is the symptom? You need to describe what you mean by "I cannot share the folders". What were you doing when it failed, and do you get some type of output or error message?
 
Old 06-20-2011, 02:33 PM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,202

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
if they are both running Linux then samba would be a poor choice since samba is for interoperability with windows, yes it will work but it would be inefficient, you want NFS or SSHFS, with nfs you would have to define an export in /etc/exports, sshfs on the other hand uses sftp as a backend, thus does not require any configuration on the server.
 
Old 06-21-2011, 06:23 AM   #8
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by scott8035 View Post
What is the symptom? You need to describe what you mean by "I cannot share the folders". What were you doing when it failed, and do you get some type of output or error message?
Hi Scott,
No error on the ubuntu system. In my Dell PC,I have got 2 HDD install,a 320GB and a 500GB.The 320 is with OS install while the 500 is for my data in it.After the samba installation,I can share the folder that is together with OS(example:dell/home/Music) but when I try to share the folders that is in the 500GB,I am unable to do. File sharing between the ubuntu dell system and linux mint 9 oem system is okay with files copying working ok.When I try to copy files from window 7 laptop to either linux system(ubuntu or linux mint),I got the below error

You need permission to do this action appearing on the window 7 laptop.

Therefore I do not know where is the problem.

Appreciate your help.
Thanks
 
Old 06-21-2011, 06:29 AM   #9
GJQ
Member
 
Registered: Jun 2009
Location: Malaysia
Distribution: Ubuntu 11.04
Posts: 93

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by frieza View Post
if they are both running Linux then samba would be a poor choice since samba is for interoperability with windows, yes it will work but it would be inefficient, you want NFS or SSHFS, with nfs you would have to define an export in /etc/exports, sshfs on the other hand uses sftp as a backend, thus does not require any configuration on the server.
Hi frieza,
I just got started with samba.For Linux system knowledge,I am average.Luckily both the system work out of the box when linux os is install on it.I would very much would like to learn more but it would require a lot of your help and guidance

Look forward to your reply
Thanks
 
  


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 linux folder to windows drive Linux Fan Linux - Networking 2 02-04-2010 09:42 AM
Windows to Linux - Remote Desktop / Mapping Linux home directory as drive. goldenmongoose Linux - Server 2 05-02-2007 03:15 AM
Mapping a windows drive to a Linux box tbthorpe Linux - Networking 6 02-21-2005 02:48 PM
Mapping drive from Windows to Linux rkingndayton Linux - Networking 1 10-15-2003 11:24 AM
Mapping a network drive in linux jmarsh Linux - Networking 11 12-13-2002 12:08 PM


All times are GMT -5. The time now is 06:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration