HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lofs filesystems and the find command
Operating System - HP-UX
1830910
Members
1751
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-22-2000 03:12 AM
07-22-2000 03:12 AM
This description is really long and hopefully this abreviated part make sense.
The backup scripts that I have created use the find command which then pipes to cpio. Recently I have been working on some mirror split backups which have a fail over that if there is no mirror or a failure the script will mount the filesystem as lofs and continue. The find command I use is " find ./DIR_NAME -xdev |cpio -omvB >> /dev/Tapedrive ". The -xdev makes sure I do not cross mount points as I have the filesystems each being backed up with separate commands in parallel. This works great on regular filesytems but when I run the find command in an lofs it will not cross any "directory" in the filesystem. It is qualifying each directory in an lofs filesystem as a mount point and the -xdev will not let the find cross it. If I use find ./DIR_NAME/* then the directories are expanded but then I loose the -xdev on my other normal filesystems. ( this is long ) Ultimately I need to use the same command no matter what kind of filesystem it is so I can stay dynamic.
Any ideas ??? Thanks !
The backup scripts that I have created use the find command which then pipes to cpio. Recently I have been working on some mirror split backups which have a fail over that if there is no mirror or a failure the script will mount the filesystem as lofs and continue. The find command I use is " find ./DIR_NAME -xdev |cpio -omvB >> /dev/Tapedrive ". The -xdev makes sure I do not cross mount points as I have the filesystems each being backed up with separate commands in parallel. This works great on regular filesytems but when I run the find command in an lofs it will not cross any "directory" in the filesystem. It is qualifying each directory in an lofs filesystem as a mount point and the -xdev will not let the find cross it. If I use find ./DIR_NAME/* then the directories are expanded but then I loose the -xdev on my other normal filesystems. ( this is long ) Ultimately I need to use the same command no matter what kind of filesystem it is so I can stay dynamic.
Any ideas ??? Thanks !
Solved! Go to Solution.
- Tags:
- LOFS
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2000 05:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2000 05:11 AM
07-23-2000 05:11 AM
Re: lofs filesystems and the find command
Did you try -local or -fsonly or -prune your nfs mount points (in combination).
e.g. find / ! -local -prune -print
e.g. find / ! -local -prune -print
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2000 10:35 PM
07-23-2000 10:35 PM
Re: lofs filesystems and the find command
Hi
I dont know whether its possible or not ,
but why dont you try fbackup with -l option which backus up lofs filesystems as well.
I dont know whether its possible or not ,
but why dont you try fbackup with -l option which backus up lofs filesystems as well.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP