[SOLVED] Cannot mount NFS drive from Ubuntu

Discussion about using NAS on Linux and Unix OS.

[SOLVED] Cannot mount NFS drive from Ubuntu

Postby Essavant » Fri Jan 18, 2008 11:18 am

I am not able to mount my TS109Pro from my Ubuntu PC. I type in:
Code: Select all
derek@lancia:~$ sudo mount -t nfs stratos:/share/HDA_DATA/optware/Public /home/derek/movies

and it returns this:
Code: Select all
mount: wrong fs type, bad option, bad superblock on stratos:/share/HDA_DATA/optware/Public,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


What gives? :? This should be really simple I think! Please help. Thanks.
User avatar
Essavant
Starting out
 
Posts: 20
Joined: Fri Jan 04, 2008 11:02 pm
Location: California

Re: Cannot mount NFS drive from Ubuntu

Postby AndyChuo » Fri Jan 18, 2008 7:46 pm

try replacing the server name to ip address maybe
=============================================================>>>
TS-659-Pro [RAID6][Transmission][MLDonkey][SABnzbdplus+SickBeard=Best PVR]
TS-509-Pro [RAID6][Pentium Dual-Core][Twonkymedia+PMS+SubSonic=Ultimate Streamer]
NMP-1000P [Media Adptor/Playback] Buffalo WHR-HP-G54 [DD-WRT] D-Link DGS-1005D [Gbit Network]
=============================================================>>>
User avatar
AndyChuo
Experience counts
 
Posts: 2396
Joined: Thu Sep 13, 2007 11:56 am
Location: Taipei, Taiwan
NAS Model: TS-459 Pro

Re: Cannot mount NFS drive from Ubuntu

Postby Essavant » Fri Jan 18, 2008 10:22 pm

QNAPAndy wrote:try replacing the server name to ip address maybe


I've already tried that. I just added the server name to the /etc/hosts file, correctly. The problem lies somewhere else. Any thought about using sshfs?
User avatar
Essavant
Starting out
 
Posts: 20
Joined: Fri Jan 04, 2008 11:02 pm
Location: California

Re: Cannot mount NFS drive from Ubuntu

Postby cute_l » Sun Jan 20, 2008 7:13 pm

Hi,
I had the same problem (mount: wrong fs type ...), also on Ubuntu (Gutsy).
I installed the package nfs-common, now nfs works fine !
See thread :
http://forum.qnap.com/viewtopic.php?f=11&t=2423


Hope this helps !

L.
cute_l
New here
 
Posts: 4
Joined: Sat Jan 19, 2008 9:39 pm

Re: Cannot mount NFS drive from Ubuntu

Postby Essavant » Mon Jan 21, 2008 11:17 pm

cute_l wrote:Hi,
I installed the package nfs-common, now nfs works fine !
See thread :
http://forum.qnap.com/viewtopic.php?f=11&t=2423


Excellent! I will try this evening. I am running Gutsy too. Hope this works.
Thanks.
User avatar
Essavant
Starting out
 
Posts: 20
Joined: Fri Jan 04, 2008 11:02 pm
Location: California

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby bru » Thu Sep 11, 2008 5:43 am

for troubleshooting on UNIX systems, the showmount command will
help, as well as making sure you have a command called mount_nfs,
that will tell you that you have the NFS mount capabilities.

showmount - e <server>

should show something like this:

$ showmount -e 192.168.0.142
Exports list on 192.168.0.142:
/Network Recycle Bin 1
/Public
/Qdownload
/Qmultimedia
/Qrecordings
/Qusb
/Qweb

And if the automounter is turned on you should have the
/net mount points showing up like

/net/192.168.0.142/Qweb .... etc

if you do not have the NFS package installed it will not work, but it
also ought to give you a better error message.

I found that on Macs one must use the "resvport" option, like
this example:

sudo mount -o resvport -t nfs QNAP:/Qweb /QNAP/Qweb
bru
Starting out
 
Posts: 40
Joined: Wed Sep 10, 2008 5:52 am
Location: CA, USA
NAS Model: TS-409U

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby corndog » Mon Dec 15, 2008 3:53 am

Essavant wrote:I am not able to mount my TS109Pro from my Ubuntu PC. I type in:
Code: Select all
derek@lancia:~$ sudo mount -t nfs stratos:/share/HDA_DATA/optware/Public /home/derek/movies

and it returns this:
Code: Select all
mount: wrong fs type, bad option, bad superblock on stratos:/share/HDA_DATA/optware/Public,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


What gives? :? This should be really simple I think! Please help. Thanks.


Have you tried to mount stratos:/Public instead of stratos:/share/HDA_DATA/optware/Public? That's what works for me on the 509
User avatar
corndog
Starting out
 
Posts: 39
Joined: Fri Sep 19, 2008 6:16 am
Location: Toronto
NAS Model: TS-509 Pro

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby paolo » Thu Feb 26, 2009 6:21 am

I am sorry, but I have the same problem, I cannot mount the nas from Ubuntu.

Code: Select all
xxxxx@paolo-desktop:~$ sudo mount -t nfs 192.168.1.8:/Public /mnt/Public
mount.nfs: mount point /mnt/Public does not exist



What can I do?
TS109-Pro - v.3.1.0 Build 0708T

The strawbale house
http://www.paesaggio.net/strawbales.htm
Image
User avatar
paolo
Getting the hang of things
 
Posts: 73
Joined: Wed Oct 15, 2008 6:52 am
Location: South Sardinia
NAS Model: TS-109/209

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby petur » Thu Feb 26, 2009 4:29 pm

paolo wrote:I am sorry, but I have the same problem, I cannot mount the nas from Ubuntu.

Code: Select all
xxxxx@paolo-desktop:~$ sudo mount -t nfs 192.168.1.8:/Public /mnt/Public
mount.nfs: mount point /mnt/Public does not exist



What can I do?


read the error message?
mount.nfs: mount point /mnt/Public does not exist <- how clear can the error be?

You need to create a Public directory in /mnt
User avatar
petur
Moderator
 
Posts: 4458
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
NAS Model: TS-x69 Pro

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby paolo » Sun Mar 01, 2009 4:37 pm

Ok, I have created the directory, how do I get it a Public one ?
TS109-Pro - v.3.1.0 Build 0708T

The strawbale house
http://www.paesaggio.net/strawbales.htm
Image
User avatar
paolo
Getting the hang of things
 
Posts: 73
Joined: Wed Oct 15, 2008 6:52 am
Location: South Sardinia
NAS Model: TS-109/209

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby petur » Sun Mar 01, 2009 6:59 pm

paolo wrote:Ok, I have created the directory, how do I get it a Public one ?


No, I meant that the name should be 'Public' or whatever is the name you give in the mount command. If you have created /mnt/Public then your mount command should now work, and you can access the files if you go into /mnt/Public
User avatar
petur
Moderator
 
Posts: 4458
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
NAS Model: TS-x69 Pro

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby natalie » Sat Aug 01, 2009 6:45 pm

What is the easiest way to install Ubuntu? I am planning to dual boot Windows XP and Ubuntu 9.04, I have already burned Ubuntu into a CD and have also downloaded the ISO. But when I go to My Computer to start the installation, a different icon appears. And when I open it with ISO Buster, it opens up separately. I'm confused on what to click.. just to start the installation. Are there any other things I need to download to install Ubuntu? What is the easiest way to install Ubuntu?
___________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com
Last edited by natalie on Fri Aug 07, 2009 1:32 am, edited 1 time in total.
natalie
New here
 
Posts: 3
Joined: Thu Jul 30, 2009 1:11 pm
NAS Model: TS-411U

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby petur » Tue Aug 04, 2009 4:49 am

natalie wrote:What is the easiest way to install Ubuntu? I am planning to dual boot Windows XP and Ubuntu 9.04, I have already burned Ubuntu into a CD and have also downloaded the ISO. But when I go to My Computer to start the installation, a different icon appears. And when I open it with ISO Buster, it opens up separately. I'm confused on what to click.. just to start the installation. Are there any other things I need to download to install Ubuntu? What is the easiest way to install Ubuntu?


[offtopic]
0) backup
1) defrag the XP partition
2) boot the ubuntu live-CD
3) let it shrink the XP partition to make room
4) install ubuntu
[/offtopic]
User avatar
petur
Moderator
 
Posts: 4458
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
NAS Model: TS-x69 Pro

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby Collete » Sat Aug 08, 2009 1:10 am

It's a great tip as I am new in using Ubuntu.

Great job guys and I will take note of this because I might also try mounting my Ubuntu to NTFS.


Pret immobilier
Collete
First post
 
Posts: 1
Joined: Sat Aug 08, 2009 1:08 am
NAS Model: TS-809 Pro

Re: [SOLVED] Cannot mount NFS drive from Ubuntu

Postby petur » Sun Aug 09, 2009 4:42 am

FYI, Ubuntu will read/write the NTFS partition of windows fine, so whatever data is on there is also available while running ubuntu.

And indeed, you can run ubuntu in some mode that stores its data on the NTFS partition, but I'd rather keep it pure :)
User avatar
petur
Moderator
 
Posts: 4458
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
NAS Model: TS-x69 Pro


Return to Linux & Unix (NFS)

Who is online

Users browsing this forum: No registered users and 0 guests