NFS4 problems -

Bob Goodwin - Zuni, Virginia, USA bobgoodwin at wildblue.net
Fri Nov 30 15:15:31 UTC 2012


    I have a problem writing to one nfs4 server from this F-17/64
    computer, /etc/fstab is as follows:

        [bobg at box7 ~]$ cat /etc/fstab

        #
        # /etc/fstab
        # Created by anaconda on Tue Aug  7 08:37:16 2012
        #
        # Accessible filesystems, by reference, are maintained under
        '/dev/disk'
        # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8)
        for more info
        #
        UUID=4ce86523-2d45-4174-85e9-fd298e4516c8
        /                       ext4    defaults        1 1
        UUID=1a9d0937-2247-4cbc-b27d-4775c7453dba
        /boot                   ext4    defaults        1 2
        UUID=96a666e2-73ac-4f5f-98bc-4a6a9383491f
        /home                   ext4    defaults        1 2
        UUID=9cb5a7e0-c752-4563-b7f5-663980e090e3
        swap                    swap    defaults        0 0


        192.168.1.8:/nfs4exports/home/   /mnt/HOME1      nfs4
        defaults,rw,user 0 0
        192.168.1.8:/nfs4exports/data/   /mnt/DATA1      nfs4
        defaults,rw,user 0 0
        192.168.1.48:/SRVR1              /mnt/BOX48      nfs4
        defaults,rw,user 0 0



    Everything I can think of on the server is set "rw" Obviously I have
    missed something but I can't find it, get "Read-only file system."

        [root at box7 HOME1]# cp -r /mnt/BOX48/digicam/* /mnt/HOME1/digicam/
        cp: cannot create regular file
        `/mnt/HOME1/digicam/DSCN0001.JPG': Read-only file system
        cp: cannot create regular file
        `/mnt/HOME1/digicam/DSCN0002.JPG': Read-only file system
        cp: cannot create regular file
        `/mnt/HOME1/digicam/DSCN0003.JPG': Read-only file system
        cp: cannot create regular file
        `/mnt/HOME1/digicam/DSCN0004.JPG': Read-only file system
        cp: cannot create regular file
        `/mnt/HOME1/digicam/DSCN0005.JPG': Read-only file system


        [root at box7 HOME1]# chmod 777 *
        chmod: changing permissions of `bobg': Read-only file system
        chmod: changing permissions of `digicam': Read-only file system
        chmod: changing permissions of `lost+found': Read-only file system

    I can ssh into the server, mkdir [digicam] and "touch" a test file
    [footest].

        $ ll /mnt/HOME1/digicam
        total 0
        -rw-rw-r--. 1 500 500 0 Nov 30 08:06 DSCN0103-scaled.JPG
        -rw-rw-r--. 1 500 500 0 Nov 30 07:50 footest

    It appears the problem is in nfs but I don't know where else to
    look, I've set all the exported files to "777." Obviously I have
    missed something. The other server, box48 works, it's o/s was
    installed from the same flash drive

    Also it will not connect server box8 at boot, I have to mount it
    manually, the other one, box48, works normally, both are different
    hardware but box 8 worked until I re-installed SL-6.2. I even
    re-installed everything and updated again yesterday morning to no avail.

    Any ideas?

    Bob

    -- 
    http://www.qrz.com/db/W2BOD

    box7



More information about the users mailing list