Page 1 of 1

I want to share my USB disk on the network

Posted: 24 Mar 2012, 20:33
by viking60
I have this USB-disk that I have finally managed to mount on boot.
But I need to share the entire disk so that I can access it via NFS and Samba. It is on my Mandriva 2010 box. How do we do this in Mandriva?
Edit:
I have gotten it to show up when I start the gnome nautilus network places but when I click it I get the it cannot be mounted. I have no problem accessing it via SSH in CLI.
So this is limited to NFS or SAMBA or draksomething I guess (I am in Gnome).
I have tried chmoding it to 777 - no luck.

My samba entry looks like this:

Code: Select all

[LaCie]
    path = /media/LaCie
    comment = extern 2TB USB disk
    public = yes
    browseable = yes
    guest ok = yes

Moving on to KDE to check the situation there. It is no problem to mount the directory in Dolphin with fish:

Code: Select all

fish://thomas@thomas-pc:22/media/LaCie/

Trying samba.....
Hm i wonder if it is an authentication problem :think:
Well mounting it in KDE as a ssh (fish) directory is no problem and even more secure, but there is a bug in Gnome that prevents me from doing that. So I guess I will play a bit with samba again.
.....
started MCC on the remote client

Code: Select all

ssh -f -Y thomas-pc mcc

And shared the disk according to the book. I am begining to think "bug" here.....

Re: I want to share my USB disk on the network  Topic is solved

Posted: 25 Mar 2012, 11:16
by viking60
Status:
I have my LaCie disk in Nautilus and I am prompted to fill out password - My user and the workgroup is already filled in.
When I fill in my user password it is not accepted, so the promt just stays there and is stubborn :wall:
......
Finally! I had the idea to actually fill in the root password :Doh: and guess what? That worked!
I was completely put off by the prompt with my regular username. which in my mind requires the regular corresponding password - it didn't. I needed the root password even if I am in the sudoers group.

So as so often the case with me and samba - I get it to work, and have no clue why :-D