SERVER FOG STORAGE FAILS WHEN ADDING AN NFS UNIT



  • I have a structure of:

    FOG server master + server01Storage 100GB + server02Storage 10GB System + (NFS disk drive 100Gb storage "/images)

    with the server01 storage there is no problem, but in the storage2 that has the “/images” folder in a NFS 172.30.0.4 /images unit I have the following error all the time.

    reason: mount : mounting 172.30.0.3/images/dev on /images failed: Permission denied
    nov 09 11:18:13 fogstor01 rpc.mountd[20650]: authenticated mount request from 172.30.0.122:830 for /images/dev (/images/dev)
    nov 09 11:18:13 fogstor01 rpc.mountd[20650]: Cannot export /images/dev, possibly unsupported filesystem or fsid= required



  • In nas server:

    root@nasmad00:/# cat /etc/exports
    /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
    /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
    
    root@nasmad00:/# df -h
    S.ficheros Tamaño Usados Disp Uso% Montado en
    /dev/mapper/centos_centos-root 8,0G 1,6G 6,5G 20% /
    devtmpfs 905M 0 905M 0% /dev
    tmpfs 915M 0 915M 0% /dev/shm
    tmpfs 915M 8,4M 907M 1% /run
    tmpfs 915M 0 915M 0% /sys/fs/cgroup
    /dev/xvda1 1014M 235M 780M 24% /boot
    /dev/mapper/centos_centos-images 90G 33M 90G 1% /images
    tmpfs 183M 0 183M 0% /run/user/0
    

    in fogstorage:

    root@fogstor01:/# df -h
    S.ficheros Tamaño Usados Disp Uso% Montado en
    /dev/mapper/centos_centos-root 8,0G 3,1G 5,0G 39% /
    devtmpfs 905M 0 905M 0% /dev
    tmpfs 915M 8,4M 907M 1% /run
    tmpfs 915M 0 915M 0% /sys/fs/cgroup
    172.30.0.4:/images/ 90G 33M 90G 1% /images
    

  • Senior Developer

    What is the contents of your /etc/exports file?


Log in to reply
 

388
Online

5.8k
Users

13.0k
Topics

123.1k
Posts