[ubuntu-uk] Mounting NAS

Simon Greenwood sfgreenwood at gmail.com
Tue Dec 21 10:59:47 GMT 2010


On 21 December 2010 10:41, Graham Smith <myotistwo at gmail.com> wrote:

> My notes from 2008! say to  mount my NAS by runnng this command
>
> sudo mount -t cifs //192.168.1.10/Public <http://192.168.1.11/Public> /media/public
> -o user=QNAP/username%password
>
>
> BUT I am getting an error that media/public does not exist.
>
> I assumed that this would create media/public, do I need to create this in
> advance and indeed is this the best place to mount it.
>
> And is that "%" correct
>
>
> Additionally, my notes suggest that to mount it everytime I boot needs the
> following added to  etc/fstab
>
> //192.168.1.10/ <http://192.168.1.110/MyFiles>Public /home/name/Server1 cifs username=adminz,password=
>
>
>
> But I am now not sure what this means
>
> Should I be adding
>
> //192.168.1.10/ <http://192.168.1.110/MyFiles>Public /home/media/public cifs username=username,password=
>
> Many thanks,
>
>
> Graham
>
>
>
No, mount doesn't create a mount point, you have to do that. /media is now
the standard though.

/media is in the root file system by default and makes the disc available to
everyone, so the fstab entry should be
//192.168.1.10/Public /media/public cifs username=username,password=password

s/

-- 
Twitter: @sfgreenwood
"Is this your sanderling?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20101221/fbeb2aa1/attachment.htm 


More information about the ubuntu-uk mailing list