- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- possible to make_sys_image without backing up /hom...
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-31-2010 09:20 AM
08-31-2010 09:20 AM
1) We tried with default and hoping make_sys_image won't pick up /home since it's not part of vg00, but it included it.
2) Then we created excluded file and use -f option trying to exclude it, but it included it again.
Is /home a must to have file system to create the golden image? Is there a way to get around with it?
Thanks,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 10:26 AM
08-31-2010 10:26 AM
Re: possible to make_sys_image without backing up /home?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 10:36 AM
08-31-2010 10:36 AM
Re: possible to make_sys_image without backing up /home?
+NO_ARCHIVE
/home/*
or
+NO_ARCHIVE
/home/user1
/home/user2
.
.
.
/home/userN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 10:38 AM
08-31-2010 10:38 AM
Re: possible to make_sys_image without backing up /home?
+NO_ARCHIVE
/home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 01:21 PM
08-31-2010 01:21 PM
Re: possible to make_sys_image without backing up /home?
*try* commenting out /home from /etc/fstab
-> don't unmount /home!
and then run your command, and see if it works.
If the command is checking /etc/fstab (and a lot of things do), then it might just work.
Don't forget to put it back!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 01:26 PM
08-31-2010 01:26 PM
Re: possible to make_sys_image without backing up /home?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 01:53 PM
08-31-2010 01:53 PM
Re: possible to make_sys_image without backing up /home?
So, when you run the make_sys_image command, if the /home directory is *not* backed up, the command "worked". All you have to do then, is just uncomment the line for the /home directory. No harm, no foul.
If you get my meaning: in between mounting a file system, and unmounting a file system, the /etc/fstab entry for /home isn't doing anything, and has nothing to do with whether or not that file system is in use, available, etc.
However, some commands (for example, possibly make_sys_image) may read /etc/fstab
to figure out what to save. If so, commenting it out of /etc/fstab may work for you. However, it may not - it may get its list of what to back up from other methods (lots of ways to get that info), and commenting it out won't have any effect on your problem, or be even remotely helpful.
Anyways, that's why I suggested it - as it has no more risk to it than running your command (make_sys_image) like now. Only if you forget to uncomment when you're done would you notice a difference (like next time you reboot - you'd have to manually mount /home because the OS would miss it). Even that's not a disaster, because all you'd do is uncomment it from the /etc/fstab file and type "mount /home" as root before you start running things and letting users on. Still, not a big deal.
Oh well, do as you wish, it was a remote chance for success anyways. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 03:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 07:19 PM
08-31-2010 07:19 PM
Re: possible to make_sys_image without backing up /home?
since HP suggests minimum server usage while running make_sys_image, we have to shutdown all the applications before hand. That's what I mean I don't have the window to run the test. I just can't ask for more windows to run the test on this production server. If your suggestion doesn't work, I waste another valuable server outage window and it's hard to explain to the manager. I know we should have a test/dev server, but the reality is we don't.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 06:36 AM
09-01-2010 06:36 AM