<div dir="ltr">Hello<br><br>Thanks a lot for all the replies.  It was really use full.<br><br>Finally I did what i wanted with samba, since it seems easier to share the disk with windows and I am a bit on a hurry to do a backup, but as soon as I have time I will look in more detail to both of them. <br>
<br>cheers<br><br>Felipe <br><br><div class="gmail_quote">On Tue, Oct 7, 2008 at 5:56 PM, Gilles Gravier <span dir="ltr"><<a href="mailto:gilles@gravier.org">gilles@gravier.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Felipe,<div class="Ih2E3d"><br>
<br>
Felipe DOMINGUEZ wrote:
<blockquote type="cite">
  <div dir="ltr">Hello.<br>
  <br>
I would like to share a hard disk on the network, I have tried with
samba, and follow the instruction on the ubuntu documentation. it works
to share a local folder on the computer but it does not work to share
the mounted hard disk.<br>
  <br>
Then reading around I discover that it may be better to use NFS, and
event that there is an NFS over TCP instead of UDP which is faster than
samba and more reliable. Is it this true?<br>
  <br>
can you recommend a nice NFS tutorial? again I have found many, is just
that some of them date on 2002, and I know there are new versions NFS. <br>
  <br>
When can I get good and updated documentation on NFS?<br>
  <br>
thanks in advance.<br>
  </div>
</blockquote></div>
NFS will work. There are even clients for Windows... but SAMBA is
simple as Windows will see it direct.<br>
<br>
Start by looking at <tt><b>/etc/samba/smb.conf</b></tt><br>
<br>
First, edit your "<b><tt>workgroup = XXXXX</tt></b>" line to reflect
the home workgroup.<br>
<br>
You might want to check the "<tt><b>unix password sync = <i>yes</i></b></tt>"
line so that SAMBA users have the same passwords as your UNIX users...
but not a requirement. You can have separate ones.<br>
<br>
Most importantly, at the end of a file, add a section looking like the
following :<br>
<br>
<b><tt>[<i>name-of-your-share</i>]<br>
  comment = <i>Details explaining the share</i><br>
  read only = no<br>
  locking = no<br>
  path = <i>/path/to/your/usb/mounted/device</i><br>
  guest ok = yes</tt></b><br>
<br>
Of course you want to ensure your USB disk always mounts in the same
place... edit <b>/etc/fstab</b> for that!<br>
<br>
Finally, keep in mind that most external USB disks power down to save
energy. This means that accessing the disk may take long, from time to
time if you have to wake it up... I've had that experience and didn't
like it at all!<br>
<br>
Gilles.<br>
<div>-- <br>



<span style="color: rgb(0, 0, 0);"></span>
<div style="text-align: left;">
<table style="text-align: left; background-color: rgb(102, 102, 102); width: 500px; height: 73px;" border="1" cellpadding="3" cellspacing="3">
  <tbody>
    <tr>
      <td style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204); white-space: nowrap;">
      <div style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font color="#7d6eaf"><i><b>Gilles Gravier</b></i> <b>=</b> </font><a href="mailto:Gilles@Gravier.org" target="_blank"><font color="#000000"><b>Gilles@Gravier.org</b></font></a></tt><br>

      </div>
      <div style="text-align: center; background-color: rgb(204, 204, 204);"><tt><font color="#009900"><span style="font-family: monospace; color: rgb(0, 0, 0); font-weight: bold;"></span></font><font color="#000099">ICQ :</font> <a href="http://www.icq.com/whitepages/about_me.php?Uin=77488526" target="_blank"><font color="#009900"><b>77488526</b></font></a></tt> <tt><font color="#009900"><b><span style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font color="#000099">MSN Messenger : <a href="http://members.msn.com/Gilles@Gravier.org" target="_blank"><span style="color: rgb(0, 153, 0); font-weight: bold;">Gilles@Gravier.org</span></a></font></tt><tt><font color="#009900"><b><span style="font-family: monospace; color: rgb(0, 0, 0);"><br>

      </span></b></font></tt><span style="font-family: monospace; color: rgb(0, 0, 153);">Skype</span><tt><font color="#000099"><span style="color: rgb(0, 0, 153);"> : </span><a href="callto://ggravier" target="_blank"><span style="font-weight: bold; color: rgb(0, 153, 0);">ggravier</span></a></font></tt><tt><font color="#009900"><b><span style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></b></font></tt><tt><font color="#000099"><span style="color: rgb(0, 153, 0);"></span><span style="font-weight: bold;"></span>Y! : <a href="http://profiles.yahoo.com/ggravier" target="_blank"><span style="color: rgb(0, 153, 0); font-weight: bold;">ggravier</span></a></font></tt><tt style="font-weight: bold;"><font color="#009900"><span style="font-family: monospace; color: rgb(0, 0, 0);"> || </span></font></tt><tt><font color="#000099">AOL : <a><span style="color: rgb(0, 153, 0); font-weight: bold;">gillesgravier</span></a><br>

      </font></tt><tt><font color="#000099">PGP Key ID :</font> <a href="http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index" target="_blank"><font color="#009900"><b>0x8DE6D026</b></font></a><br>
"<span style="font-style: italic;">Living on Earth is expensive, but it
does include a free trip around the sun.</span>"<br>
      </tt> </div>
      </td>
    </tr>
  </tbody>
</table>
</div>
</div>
</div>

<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jamón Ibérico de Bellota ( 3 años)<br>Entregas Gratuitas España, 15€ EU.<br><a href="http://www.TuJamonEnCasa.com">www.TuJamonEnCasa.com</a><br>
</div>