Re: showmount how to find a nfs server?

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

 



On 06.05.2013 15:59, Ed Greshko wrote:
> On 05/06/13 21:50, poma wrote:
>> On 06.05.2013 15:31, Ed Greshko wrote:
>>> On 05/06/13 20:40, poma wrote:
>>>> On 06.05.2013 10:58, Ed Greshko wrote:
>>>>
>>>>> I suppose you could always do something like this.....  But it will take a fair amount of time....
>>>>>
>>>>> for i in `seq 1 254`; do echo Address 10.10.156.${i}; /sbin/showmount -e 10.10.156.${i}; done;
>>>> time nmap -n --open -T5 -p 2049 192.168.1.* | grep report
>>>> Nmap scan report for 192.168.1.1
>>>>
>>>> real	0m1.970s  :)
>>>> …
>>>>
>>>> 1st&only:
>>>> nmap -n --open -T5 -p 2049 192.168.1.* | awk '{print $5}' | showmount -e
>>>>
>>> Of course you do realized that you're assuming NFSv4.
>> Do you have problems with v4? :)
> 
> I personally don't.  But, you shouldn't assume a single user, single admin environment.

HQ expectations. :)
Let the OP do some lifting. ;)

>>> And.....
>>>
>>> [egreshko@meimei ~]$ nmap -n --open -T5 -p 2049 192.168.0.* | awk '{print $5}' | showmount -e
>>> Export list for meimei:
>>>
>>> Which didn't show....
>> Well, do shows for me. :)
> 
> Lucky for you...

Of course. :)

>>> [egreshko@meimei ~]$ showmount -e 192.168.0.55
>>> Export list for 192.168.0.55:
>>> /nfs4exports          192.168.0.0/24
>>> /nfs4exports/myhome   192.168.0.0/24
>>> /nfs4exports/syntegra 192.168.0.0/24
>>>
>>> So, maybe you need to refine your methods.
>> Probably your "cat" shows to another port,
>> I guess we don't play cat and mouse. =)
>>
> 
> Everything in my home environment is NFSv4 and your examples failed to show the mounts on 192.168.0.55.
> 
> Not everything in one of my client's environment is NFSv4. 
> 
> I suppose I prefer all encompassing solutions.

I understand you, but you're a little too serious. ;)


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