You are not logged in.

#1 2007-12-11 12:12:04

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

NFS exports error [SOLVED]

Hey Forum.
As I'm trying to setup MythTV with Fontend/backends on different machines - I'm using nfs-utils to be able to mount the music,videos etc at once on all other macjhines in the house. So this is the setup:

I have in the root of the mainserver made a directory called storage:
In that directory there's several subdirectory's - one for movies, one for music, one for records and one for pictures
THe problem is that each time I start the nfsd I get a lot of errors, but first my settings:

In /etc/exports I have:

/storage 172.16.20.1/24(rw,sync,no_root_squash)

hosts.deny

ALL: ALL: DENY

hosts.allow

sshd: ALL
nfsd: ALL
portmap: ALL
mountd: ALL

The error I get is this one:

:: Starting nfsd                                                         [BUSY]
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "172.16.20.1/24:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: No options for /storage ;read: suggest ;read(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export ";read:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: ;read has non-inet addr
exportfs: ;read has non-inet addr
exportfs: No options for /storage and: suggest and(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "and:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: No options for /storage write: suggest write(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "write:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       write:/storage
exportfs:       and:/storage
exportfs: No options for /storage access: suggest access(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "access:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       access:/storage
exportfs:       and:/storage
exportfs: No options for /storage to: suggest to(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "to:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       to:/storage
exportfs:       and:/storage
exportfs: No options for /storage all: suggest all(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "all:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       all:/storage
exportfs:       and:/storage
exportfs: No options for /storage clients: suggest clients(sync) to avoid warnin
g
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "clients:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       clients:/storage
exportfs:       and:/storage
exportfs: No options for /storage on: suggest on(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "on:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       on:/storage
exportfs:       and:/storage
exportfs: No options for /storage the: suggest the(sync) to avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "the:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       the:/storage
exportfs:       and:/storage
exportfs: No options for /storage 172.16.20.1/24: suggest 172.16.20.1/24(sync) t
o avoid warning
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif
ied for export "172.16.20.1/24:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: incompatible duplicated export entries:
exportfs:       172.16.20.1/24:/storage (0x425) [IGNORED]
exportfs:       172.16.20.1/24:/storage (0x420)
exportfs: No options for /storage network: suggest network(sync) to avoid warnin                                                                            g
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specif                                                                            ied for export "network:/storage".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: duplicated export entries:
exportfs:       network:/storage
exportfs:       and:/storage
                                                                         [DONE]

What is the problem here - just followed the guide from wiki!
I have tried setting in the subtree_check and no_subtree_check option, but still getting the same error!

Thanks
P

EDIT: had a wrong outcommented line to describe what I was doing - didn't like that line!

Last edited by peque (2007-12-11 12:26:47)


Just getting better .... All the time

Offline

#2 2008-02-11 01:40:25

yassin
Member
From: Finland
Registered: 2008-02-11
Posts: 10
Website

Re: NFS exports error [SOLVED]

Just add the option subtree_check to /etc/exports like this:

/storage 172.16.20.1/24(rw,sync,no_root_squash,subtree_check)


"The real danger is not that computers will begin to think like men, but that men will begin to think like computers."

— Sydney J. Harris

Offline

Board footer

Powered by FluxBB