Forums

Resolved
0 votes
Hi,

I have ClearOS 7.1.0 and I'd like to know how to proceed to get a working nfs client on it. I'd like to schedule backups on my NAS using nfs.
Anyone has info or experience on this matter? The nfs packages seems to be absent completely.

Thanks.
a.
Monday, February 08 2016, 12:37 PM
Share this post:

Accepted Answer

Tuesday, February 09 2016, 02:00 PM - #Permalink
Resolved
1 votes
Use:

yum -y --enablerepo=clearos-centos install nfs-utils


The verified clearos-centos and clearos-epel are not full mirrors...stupid...and soon to be changed, but for now, that's what you need to do.

B.
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    Tuesday, February 09 2016, 03:10 PM - #Permalink
    Resolved
    1 votes
    Not me....99% Nick H...1% me.

    I don't know if most people know it, but without Nick and a few others tirelessly helping users out here, this forum wouldn't be nearly as valuable a resource as it is.

    @Nick...In case you don't hear it enough...kudos for doing what you do.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 09 2016, 11:55 AM - #Permalink
    Resolved
    0 votes
    Hi

    Not run it on 7.1, but should work out of the box

    e.g

    mount -t nfs 192.168.1.6:/opt/ltsp /mnt


    192.168.1.6 is remote server
    /opt/ltsp is remote directory that has been shared/exported
    /mnt is local mount point


    Duncan
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 09 2016, 12:48 PM - #Permalink
    Resolved
    0 votes
    Hi,

    already done. It was not a question about how to use nfs. the shared folder is already mounted on other hosts.
    Anyway the error message for the above command is:

    mount: wrong fs type, bad option, bad superblock on 10.150.0.6:/firewall,
    missing codepage or helper program, or other error
    (for several filesystems (e.g. nfs, cifs) you might
    need a /sbin/mount.<type> helper program)

    In some cases useful info is found in syslog - try
    dmesg | tail or so.

    And mount.nfs is not there (and in any package)

    Thanks,
    a.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 09 2016, 01:11 PM - #Permalink
    Resolved
    0 votes
    Do you need to install nfs-utils first?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 09 2016, 01:52 PM - #Permalink
    Resolved
    0 votes
    I thought so:

    [root@gateway ~]# yum search all nfs
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-amsterdam.clearos.com
    * clearos-centos-verified: mirror1-amsterdam.clearos.com
    * clearos-contribs: mirror1-amsterdam.clearos.com
    * clearos-epel-verified: mirror1-amsterdam.clearos.com
    * clearos-fast-updates: download4.clearsdn.com
    * clearos-infra: mirror1-amsterdam.clearos.com
    * private-clearcenter-ad: download2.clearsdn.com:80
    * private-clearcenter-business: download2.clearsdn.com:80
    * private-clearcenter-dyndns: download4.clearsdn.com:80
    * private-clearcenter-master-slave: download2.clearsdn.com:80
    * private-clearcenter-rbs: download4.clearsdn.com:80
    * private-clearcenter-verified-updates: download4.clearsdn.com:80
    ================================================================================== Matched: nfs ===================================================================================
    anaconda-dracut.x86_64 : The anaconda dracut module
    app-backuppc.noarch : BackupPC
    app-backuppc-core.noarch : BackupPC - Core
    dracut.x86_64 : Initramfs generator using udev
    sysstat.x86_64 : Collection of performance monitoring tools for Linux
    [root@gateway ~]# yum search all nfs-utils
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-amsterdam.clearos.com
    * clearos-centos-verified: mirror1-amsterdam.clearos.com
    * clearos-contribs: mirror1-amsterdam.clearos.com
    * clearos-epel-verified: mirror1-amsterdam.clearos.com
    * clearos-fast-updates: download2.clearsdn.com
    * clearos-infra: mirror1-amsterdam.clearos.com
    * private-clearcenter-ad: download2.clearsdn.com:80
    * private-clearcenter-business: download4.clearsdn.com:80
    * private-clearcenter-dyndns: download2.clearsdn.com:80
    * private-clearcenter-master-slave: download2.clearsdn.com:80
    * private-clearcenter-rbs: download2.clearsdn.com:80
    * private-clearcenter-verified-updates: download4.clearsdn.com:80
    Warning: No matches found for: nfs-utils
    No matches found
    [root@gateway ~]#
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 09 2016, 03:04 PM - #Permalink
    Resolved
    0 votes
    Thank you Ben,

    it did the trick.
    I owe you one.

    Cheers,
    a.
    The reply is currently minimized Show
Your Reply