- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Finding a filesystem in several host machines
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:41 AM
06-06-2002 02:41 AM
I would like to find a particular filesystem i.e /fs13/wmt/shark but I do not know where this particular filesystem is residing on which machine.
Is there a command in UNIX or can anyone could provide a script to check for on which machine does a particular filesystem reside?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:48 AM
06-06-2002 02:48 AM
Re: Finding a filesystem in several host machines
Do you have a rlogin activate?
Then you can do a remsh to all the hosts looking for this.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:53 AM
06-06-2002 02:53 AM
Re: Finding a filesystem in several host machines
Is the filesystem NFS or hard mounted on a particular machine.
You could use showmount on the NFS server then
else
remsh ftp
Options enough.
You could even look at service control manager if you have a lot of machines.
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:54 AM
06-06-2002 02:54 AM
SolutionFor a find to work accross servers then all servers will require to be in /etc/hosts and an entry in the /.rhosts on the remote servers.
Then it is a matter of running through your local hosts file and doing a remote find.
The attached script is by Adreas Voss and deals with a remote BDF ---- with little work this can be ammended to do what you require.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:59 AM
06-06-2002 02:59 AM
Re: Finding a filesystem in several host machines
Perhaps something like this:
# for host1,host2,host3
for i in hp1 hp2 hp3 hp4
do
echo $i
#remsh $i -n find / -name /FS0115/gexp/script
remsh $i -n bdf | grep /FS0215
done
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 02:59 AM
06-06-2002 02:59 AM
Re: Finding a filesystem in several host machines
It's possibly on a shark array! at a guess! to which system is the shark attached?!
Good Luck,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 03:00 AM
06-06-2002 03:00 AM
Re: Finding a filesystem in several host machines
How do I search for the service control manager i.e what is the command to do that ?
Justo,
I've afraid I do not know the names of all machines in that particular domain. But showmount showed me all names of machine in a particular domain, am I right Steve??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 04:27 AM
06-06-2002 04:27 AM
Re: Finding a filesystem in several host machines
http://www.software.hp.com/products/SCMGR/
Will give you scm
Showmount will only show the machine which is
using a disk at that time or which machines can use the disc. see man
Do nslookup
enter ?
> ?
Commands: (identifiers are shown in uppercase, [] means optional)
NAME - print info about the host/domain NAME using default server
NAME1 NAME2 - as above, but use NAME2 as server
exit - exit the program, ^D also exits
finger [USER] - finger the optional NAME at the current default host
help or ? - print info on common commands; see nslookup(1) for details
ls [opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: output to FILE)
-a - list canonical names and aliases
-h - list HINFO (CPU type and operating system)
-s - list well-known services
-d - list all records
-t TYPE - list records of the given type (e.g., A,CNAME,MX, etc.)
ls domain > /tmp/file
All in that domain in file
exit
Steve Steel