M3B1 - NFS is broken

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

M3B1 - NFS is broken

Postby Lebarhon » Jan 4th, '13, 19:47

Hello,
NFS was working fine with my first M3B1 installation, but for some reason, I re-installed it and NFS is no more working.
I can see the shared partitions from the server in the MCC, if I select one and click on "Mount" the answer is " Mounting partition linux:/home/samageia/Documents in directory /mnt/documents failed"
In a konsole:
Code: Select all
# mount -a -f nfs
mount.nfs: Failed to resolve server linux: system error

Firewall is totally disabled and network-auth is running.
Code: Select all
[root@localhost ~]# journalctl -n
-- Logs begin at Sat, 2012-12-29 10:59:03 GMT, end at Mon, 2012-12-31 17:04:42 GMT. --
Jan 04 18:45:00 localhost.localdomain diskdrake[4549]: running: showmount --no-headers -e 192.168.0.1
Jan 04 18:45:04 localhost.localdomain diskdrake[4549]: running: showmount --no-headers -e 192.168.0.1
Jan 04 18:45:05 localhost.localdomain diskdrake[4549]: running: showmount --no-headers -e 192.168.0.1
Jan 04 18:45:05 localhost.localdomain diskdrake[4549]: running: showmount --no-headers -e 192.168.0.1
Jan 04 18:45:13 localhost.localdomain diskdrake[4549]: mount_part: device=linux:/home/samageia/Documents mntpoint=/mnt/documents isMounted=
Jan 04 18:45:13 localhost.localdomain diskdrake[4549]: mounting linux:/home/samageia/Documents on /mnt/documents as type nfs, options rsize
Jan 04 18:45:13 localhost.localdomain diskdrake[4549]: created directory /mnt/documents (and parents if necessary)
Jan 04 18:45:13 localhost.localdomain diskdrake[4549]: running: mount -t nfs linux:/home/samageia/Documents /mnt/documents -o rsize=8192,ws
Jan 04 18:45:13 localhost.localdomain diskdrake[4549]: error: mounting partition linux:/home/samageia/Documents in directory /mnt/documents
Jan 04 18:45:17 localhost.localdomain diskdrake[4549]: running: showmount --no-headers -e 192.168.0.1


Thanks
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: M3B1 - NFS is broken

Postby wintpe » Jan 4th, '13, 23:25

what does showmount -e servername show.

maybe portmap is not running

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: M3B1 - NFS is broken

Postby Lebarhon » Jan 4th, '13, 23:56

Hello Peter,

Code: Select all
[root@localhost ~]# showmount -e
Export list for localhost.localdomain:
/home/samageia/Documents 192.168.0.0/24
/home/samageia           192.168.0.0/24


I can't see portmap anywhere, neither on the server nor the client. I suppose it is a system service ?
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: M3B1 - NFS is broken

Postby Lebarhon » Jan 6th, '13, 17:54

I resolved my problem. I didn't change my server name
Code: Select all
[root@localhost ~]# hostname
localhost.localdomain
[root@localhost ~]#

However, the shared folder was exported that way :
Code: Select all
linux:/home/samageia/Documents /mnt/Documents nfs

and this automatic name "linux" can't be resolved. So in the file /etc/fstab, I replaced "linux" by the IP address and it works.
Where does this "linux" come from ? and why NFS can't resolve it ?
Is that a bug ?
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest