LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-04-2007, 12:47 PM   #1
razedk
LQ Newbie
 
Registered: Aug 2006
Location: Denmark
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
Share USB harddrive


Hi,

I have made a share on my normal harddrive which I can access from my Windows client with no problems. But when I mount my USB harddrive and shares it, I can't access it (mounted via fstab - /dev/sda1).

I have also tried to make a softlink from my normal share to the USB harddrive and a mount --bind, but the directory does not show up, when accessing it from Windows.

Does anyone know if it is possible to use a USB harddisk as a share with SAMBA, and maybe a description of how I do it ?
 
Old 01-04-2007, 01:29 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I have the /media directory shared on my desktop. I just need to open that and select the Memory card "TWiT". It may be better doing it that way for a removable device.
Code:
[media]
        comment = MediaShares
        path = /media
        read list = jschiwal@hpamd64
        write list = jschiwal@hpamd64
        read only = No
        inherit acls = Yes
I am using the USER security model on both my desktop and laptop.

There is a book "Samba 3 by Example" that you can download from the samba.org website. It is also supplies by a samba-doc package in SuSE. Your distro may offer it as well, either as a pdf file or a postscript file.
Code:
/usr/share/doc/packages/samba/Samba3-ByExample.pdf
/usr/share/doc/packages/samba/Samba3-Developers-Guide.pdf
/usr/share/doc/packages/samba/Samba3-HOWTO.pdf
 
Old 01-16-2007, 02:28 PM   #3
razedk
LQ Newbie
 
Registered: Aug 2006
Location: Denmark
Distribution: Fedora Core 5
Posts: 2

Original Poster
Rep: Reputation: 0
USB harddisk mounting

Hi,

thanks for the answer, but I'm not quite sure what you want me to do.

My USB harddisk isn't automounted in the /media directory, but it shows up on my desktop.

I didn't find any break-throughs in the SAMBA manual either, so I'm still a little lost !!!!
 
  


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
Unable to share Folders on a 2nd Harddrive ManRSA Linux - Server 2 10-03-2006 08:29 AM
USB External harddrive ashley75 Linux - General 1 10-28-2005 10:54 AM
Using second harddrive to share across local network. Best way to do so? mlsbraves Linux - Networking 2 04-18-2005 11:54 AM
USB Harddrive - NTFS mst700 Linux - Newbie 1 07-07-2004 04:26 PM
another USB Harddrive thread goatleg2 Linux - Hardware 2 09-24-2002 07:02 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration