Re: showmount how to find a nfs server?

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

 



On 06.05.2013 10:13, Frank Murphy wrote:
> How can "showmount -e" be used to find nfs-server 
> Name and ip unknown as yet.
> 
> I do know them, but as above q.
> man showmount hasn't helped in this
> 
> nagios(plugin) would probably find this stuff.
> But, want to keep it a close to default 
> Xfce install as possible.


This example certainly isn't for a "Name and ip unknown as yet." ;)
But once configured server - Gut, gut, super gut, alles super gut. :)
e.g. Two[1][2] NFS shares via Avahi publish/discovery schema.

NFS Server:

[1] /etc/avahi/services/nfs-share1.service:
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<!-- This is a custom avahi nfs service file -->

<service-group>
  <name replace-wildcards="yes">NFS share1 on %h</name>
  <service>
    <type>_nfs._tcp</type>
    <port>2049</port>
    <txt-record>path=/share1-dir</txt-record>
  </service>
</service-group>

[2] /etc/avahi/services/nfs-share2.service:
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<!-- This is a custom avahi nfs service file -->

<service-group>
  <name replace-wildcards="yes">NFS share2 on %h</name>
  <service>
    <type>_nfs._tcp</type>
    <port>2049</port>
    <txt-record>path=/share2-dir</txt-record>
  </service>
</service-group>

systemctl status avahi-daemon.service
man 5 avahi.service

NFS Client:

avahi-browse -altv
avahi-discover
man 1 avahi-browse
man 1 avahi-discover


poma

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux