LinuxQuestions.org
Visit Jeremy's Blog.
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 07-16-2010, 10:58 AM   #1
mpicaud
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
NFS server on embedded plateform : "possibly unsupported filesystem or fsid= required


Hi,



I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet)

but i can't mount my exports folders from my client. Here are messages :

-- server side :


$ tail /var/log/message

Dec 11 23:35:45 canyonlands mountd[1345]: authenticated mount request from 147.138.27.17:620 for /mnt/ssd (/mnt/ssd)

Dec 11 23:35:45 canyonlands mountd[1345]: Cannot export /mnt/ssd, possibly unsupported filesystem or fsid= required



-- client side :

$ moutn -t nfs 147.138.27.20:/mnt/ssd /mnt/nfs
mount: 147.138.27.20:/mnt/ssd failed, reason given by server: Permission denied




-- Lunch of the NFS services
$ /etc/init.d/nfs start

Starting NFS services: [ OK ]

Starting NFS daemon: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

[ OK ]

Starting NFS mountd: [ OK ]




--------------------------
Here some files conf :


$ cat /etc/exports

/mnt/ssd 147.138.0.0/16(rw,fsid=0,no_root_squash)



$ showmount -e 147.138.27.20

Export list for 147.138.27.20:

/mnt/ssd 147.138.0.0/16



$ rpcinfo -p

program vers proto port

100000 4 tcp 111 portmapper

100000 3 tcp 111 portmapper

100000 2 tcp 111 portmapper

100000 4 udp 111 portmapper

100000 3 udp 111 portmapper

100000 2 udp 111 portmapper

100000 4 0 111 portmapper

100000 3 0 111 portmapper

100000 2 0 111 portmapper

100024 1 udp 48852 status

100024 1 tcp 39361 status

100021 1 udp 44444 nlockmgr

100021 3 udp 44444 nlockmgr

100021 4 udp 44444 nlockmgr

100021 1 tcp 53401 nlockmgr

100021 3 tcp 53401 nlockmgr

100021 4 tcp 53401 nlockmgr

100003 2 udp 2049 nfs

100003 3 udp 2049 nfs

100003 4 udp 2049 nfs

100003 2 tcp 2049 nfs

100003 3 tcp 2049 nfs

100003 4 tcp 2049 nfs

100005 1 udp 50855 mountd

100005 1 tcp 34396 mountd

100005 2 udp 50855 mountd

100005 2 tcp 34396 mountd

100005 3 udp 50855 mountd

100005 3 tcp 34396 mountd



$ mount

/dev/nfs on / type nfs (rw)

none on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

nfsd on /proc/fs/nfsd type nfsd (rw)

147.138.27.17:/LOCAL/tftp/nas on /mnt/nfs type nfs (rw,nfsvers=3,addr=147.138.27.17)

/dev/sda1 on /mnt/ssd type ext2 (rw)



$ cat /var/lib/nfs/rmtab

147.138.0.0/16:/mnt/ssd:0x00000001



$ cat /var/lib/nfs/etab

/mnt/ssd 147.138.0.0/16(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks, acl,fsid=0,anonuid=65534,anongid=)



$ cat /var/lib/nfs/xtab

empty



$ cat /proc/fs/nfs/exports

# Version 1.1

# Path Client(Flags) # IPs

Some informations
---------------
* OS : ELDK 2.2
* Kernel version :

Linux canyonlands 2.6.33.1 #5 Thu Jun 24 16:00:50 CEST 2010 ppc ppc ppc GNU/Linux


* NFS server is activated in the kernel.

* Both v4 and v3 don't work


------------
Thanks a lot !

Math
 
Old 07-20-2010, 11:57 AM   #2
mpicaud
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Ok i have found...

Very stupid but not easy :

My clock was not set (just set to the epoch time). So i made these commands :

$ date 072011512010
$ /etc/init.d/nfs restart

And it work.
 
Old 12-28-2010, 08:33 AM   #3
peutipoix
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
Well done!!!

I confirm, "Very stupid but not easy"...
 
  


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
[SOLVED] NFS server on embedded plateform mpicaud Linux - Networking 6 07-20-2010 04:58 AM
Freelance Server Administrator Required for "Odd Jobs" coyos LQ Job Marketplace [Archive] 8 10-24-2008 07:00 AM
NFS: is 'fsid' allowed in /etc/fstab? stefanlasiewski Linux - Server 1 07-26-2007 06:43 PM
mount the filesystem from the remote NFS server. UltraSoul Solaris / OpenSolaris 8 08-12-2005 07:51 AM
connecting openbsd to linux nfs mount - "unsupported protocol" error animehair *BSD 4 03-28-2005 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration