- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_net_recovery exclude option
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
08-08-2011 11:26 PM
08-08-2011 11:26 PM
Hi Gurus,
I want to take network recovery backup for one of my HP-UX system (vg00) but I want to exclude some file system / mount point which are not HP-UX core mount point. Please let me know from the bdf outpur what command I should run from client.
/# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 1428136 663832 68% /
/dev/vg00/lvol1 2097152 340984 1742528 16% /stand
/dev/vg00/lvol8 8912896 3759264 5113688 42% /var
/dev/vg00/lvol9 16777216 70345 15662699 0% /var/adm/crash
/dev/vg00/lvol7 8912896 2905112 5960888 33% /usr
/dev/vg00/lvol4 4194304 1793672 2382320 43% /tmp
/dev/vg00/lvol10 31457280 10795239 19370722 36% /oracle
/dev/vg00/RDO04 2097152 1066189 966535 52% /oracle/redo04/MVNOODSD
/dev/vg00/RDO03 2097152 1066189 966535 52% /oracle/redo03/MVNOODSD
/dev/vg00/RDO02 2097152 1066189 966535 52% /oracle/redo02/MVNOODSD
/dev/vg00/RDO01 2097152 1066189 966535 52% /oracle/redo01/MVNOODSD
/dev/vg00/lvol11 10485760 320163 9530270 3% /oracle/admin
/dev/vg00/DAT04 33554432 16771658 15733856 52% /oracle/MVNOODSD/d04
/dev/vg00/DAT03 33554432 16783794 15722478 52% /oracle/MVNOODSD/d03
/dev/vg00/DAT02 33554432 25435794 7611227 77% /oracle/MVNOODSD/d02
/dev/vg00/DAT01 33554432 19597946 13084210 60% /oracle/MVNOODSD/d01
/dev/vg00/lvol6 8912896 5408304 3477280 61% /opt
/dev/vg00/MVNO 41943040 21022206 19614186 52% /mvno
/dev/vg00/lvol5 4194304 405496 3759232 10% /home
DevFS 7 7 0 100% /dev/deviceFileSystem
I want to exclude below file system / mount point:
/var/adm/crash
/oracle
/oracle/redo04/MVNOODSD
/oracle/redo03/MVNOODSD
/oracle/redo02/MVNOODSD
/oracle/redo01/MVNOODSD
/oracle/admin
/oracle/MVNOODSD/d04
/oracle/MVNOODSD/d03
/oracle/MVNOODSD/d02
/oracle/MVNOODSD/d01
/mvno
So what will be the correct command ?
1.
/opt/ignite/bin/make_net_recovery -Av -s IgniteServer -x inc_entire=/dev/vg00 -x exclude=/var/adm/crash /oracle /oracle/redo04/MVNOODSD /oracle/redo03/MVNOODSD /oracle/redo02/MVNOODSD /oracle/redo01/MVNOODSD /oracle/admin /oracle/MVNOODSD/d04 /oracle/MVNOODSD/d03 /oracle/MVNOODSD/d02 /oracle/MVNOODSD/d01 /mvno
OR
2.
/opt/ignite/bin/make_net_recovery -Av -s IgniteServer -x exclude=/var/adm/crash /oracle /oracle/redo04/MVNOODSD /oracle/redo03/MVNOODSD /oracle/redo02/MVNOODSD /oracle/redo01/MVNOODSD /oracle/admin /oracle/MVNOODSD/d04 /oracle/MVNOODSD/d03 /oracle/MVNOODSD/d02 /oracle/MVNOODSD/d01 /mvno -x inc_entire=/dev/vg00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 04:15 AM
08-09-2011 04:15 AM
Re: make_net_recovery exclude option
I was going to say only include /dev/vg00. But you seem to have everything under there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 04:55 AM - edited 08-09-2011 04:57 AM
08-09-2011 04:55 AM - edited 08-09-2011 04:57 AM
SolutionI believe you need to repeat the -x exclude keywords:
opt/ignite/bin/make_net_recovery -Av -s IgniteServer -x inc_entire=/dev/vg00 -x exclude=/var/adm/crash -x exclude=/oracle /oracle/redo04/MVNOODSD -x exclude=/oracle/redo03/MVNOODSD -x exclude=/oracle/redo02/MVNOODSD -x exclude=/oracle/redo01/MVNOODSD -x exclude=/oracle/admin /oracle/MVNOODSD/d04 -x exclude=/oracle/MVNOODSD/d03 -x exclude=/oracle/MVNOODSD/d02 -x exclude=/oracle/MVNOODSD/d01 -x exclude=/mvno
Other than that, I don't think it makes any difference whether your includes come before or after your excludes.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 08:30 AM - edited 08-09-2011 08:31 AM
08-09-2011 08:30 AM - edited 08-09-2011 08:31 AM
Re: make_net_recovery exclude option
Hi Pete
I tried the below command in the morning but it is only excluded /var/adm/crash mount point.
/opt/ignite/bin/make_net_recovery -Av -s IgniteServer -x inc_entire=/dev/vg00 -x exclude=/var/adm/crash /oracle /oracle/redo04/MVNOODSD /oracle/redo03/MVNOODSD /oracle/redo02/MVNOODSD /oracle/redo01/MVNOODSD /oracle/admin /oracle/MVNOODSD/d04 /oracle/MVNOODSD/d03 /oracle/MVNOODSD/d02 /oracle/MVNOODSD/d01 /mvno
Please have a look on the archive_content file from Ignite server.
#cat archive_content
inc_all_affected
inc_entire /dev/vg00
exclude /var/adm/crash
As suggested by you I will try the command and let you know.
Thanks for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 08:38 AM
08-09-2011 08:38 AM
Re: make_net_recovery exclude option
> it is only excluded /var/adm/crash
As expected, given the way the command was written. The man pages state that the file name to be excluded can not end with a space, which is basically what you've got. See what you get when you try the command the way I suggested.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 09:37 AM - edited 08-09-2011 09:38 AM
08-09-2011 09:37 AM - edited 08-09-2011 09:38 AM
Re: make_net_recovery exclude option
Hi Pete,
Thanks a lot... It's worked... I have faced a little issue because the whole command is longer than one line. So it was not excluding the all mount point.
So I have executed the command as below:
/opt/ignite/bin/make_net_recovery -Av -s IgniteServer -x inc_entire=/dev/vg00 -x exclude=/var/adm/crash \ -x exclude=/oracle -x exclude=/oracle/redo04/MVNOODSD -x exclude=/oracle/redo03/MVNOODSD \ -x exclude=/oracle/redo02/MVNOODSD -x exclude=/oracle/redo01/MVNOODSD -x exclude=/oracle/admin \ -x exclude=/oracle/MVNOODSD/d04 -x exclude=/oracle/MVNOODSD/d03 -x exclude=/oracle/MVNOODSD/d02 \ -x exclude=/oracle/MVNOODSD/d01 -x exclude=/mvno &
I have checked the archive_content and recovery.log in the Ignite server and it excluded all the mount point based on the above command.
#cat archive_content
inc_all_affected
inc_entire /dev/vg00
exclude /var/adm/crash
exclude /oracle
exclude /oracle/redo04/MVNOODSD
exclude /oracle/redo03/MVNOODSD
exclude /oracle/redo02/MVNOODSD
exclude /oracle/redo01/MVNOODSD
exclude /oracle/admin
exclude /oracle/MVNOODSD/d04
exclude /oracle/MVNOODSD/d03
exclude /oracle/MVNOODSD/d02
exclude /oracle/MVNOODSD/d01
exclude /mvno
recover.log *******************************
* Pax type = tar In? dsk/vg name minor# Associated disks/mountpoints 1 v /dev/vg00 0x00 /dev/disk/disk1_p2 /dev/vg00/lvol1 /stand 2 /dev/vg00/lvol2 /dev/vg00/lvol3 / 2 /dev/vg00/lvol4 /tmp 2 /dev/vg00/lvol5 /home 2 /dev/vg00/lvol6 /opt 2 /dev/vg00/lvol7 /usr 2 /dev/vg00/lvol8 /var 2 /dev/vg00/lvol9 /var/adm/crash 0 /dev/vg00/lvol10 /oracle 0 /dev/vg00/lvol11 /oracle/admin 0 /dev/vg00/RDO01 /oracle/redo01/MVNOODSD 0 /dev/vg00/RDO02 /oracle/redo02/MVNOODSD 0 /dev/vg00/RDO03 /oracle/redo03/MVNOODSD 0 /dev/vg00/RDO04 /oracle/redo04/MVNOODSD 0 /dev/vg00/DAT01 /oracle/MVNOODSD/d01 0 /dev/vg00/DAT02 /oracle/MVNOODSD/d02 0 /dev/vg00/DAT03 /oracle/MVNOODSD/d03 0 /dev/vg00/DAT04 /oracle/MVNOODSD/d04 0 /dev/vg00/MVNO /mvno 0 /dev/vg00/spare ** 0 - The Volume Group or Filesystem is Not included in the System Recovery Archive ** 1 - The Volume Group or Filesystem is Partially included in the System Recovery Archive ** 2 - The Volume Group or Filesystem is Fully included in the System Recovery Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 09:40 AM
08-09-2011 09:40 AM
Re: make_net_recovery exclude option
You can also specify a content file which contains all your include/exclude information. See "man make_net_recovery" under the -f flag for specifics.
Pete