[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where to debug automount problem



> Apr 27 22:39:20 localhost rpc.mountd: refused mount request from
> localhost for /exports/TEST (/): no export entry

ok...
I 'have made a small test at my office. And I've logged all the step one by one here.



###################################################
# more /etc/auto.test
test_key localhost:/export/diskA1/test

cd /export/diskA1/

#
# create the data that will be automounted
more /etc/auto.test
mkdir /export/diskA1/test
touch /export/diskA1/test/success

#
# export this data
aptitude -R install portmap nfs-kernel-server
/etc/init.d/portmap start
/etc/init.d/nfs-kernel-server start
echo "/export/diskA1/test  127.0.0.1/32(rw)" >> /etc/exports
exportfs -a
# showmount -e
Export list for obslin15:
/data                            129.194.64.0/22
/export/diskA1/test              127.0.0.1/32
/export/diskA1/briner            129.194.64.0/22
/export/diskA1/steiner           129.194.64.0/22
/export/diskA1/schaerer_snapshot 129.194.64.0/22

#
#create the repertory that will be the mount point
mkdir /test

#
#check if there is an other automount running on this mount point
ps -ef | grep 'auto\.test'
kill -15 <the automount process>

#
#launch automount with the --ghost option
automount --ghost /test file /etc/auto.test
# ls /test/test_key/success
/test/test_key/success
##################################################

-- 

Cedric BRINER



Reply to: