Jump to content
 English      
???en.wpa.text.hpweb2003.home??? ???en.wpa.text.hpweb2003.prodserv??? ???en.wpa.text.hpweb2003.support??? ???en.wpa.text.hpweb2003.solutions??? ???en.wpa.text.hpweb2003.buy???
» ???en.wpa.text.hpweb2003.contact???
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > ignite-ux

make_sys_image hung, what is the right way to exclude file? - This thread has been closed

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: make_sys_image hung, what is the right way to exclude file?      Add to my favorites  This thread has been closed
Stan_du
Oct 6, 2009 23:11:48 GMT    Attachment is 341402.doc 

Hi,

When I issue the command, it will prompt the CLEAN-LEVEL message(the first NOTE in the attachment) and hang, I wait for a while and issue CTRL-C, it will display the DISALLOW message(the second NOTE ) and start to work, but it will never end. In the vg00, there is a application installation SRC file system which has been exclued by adding a line in the EXCLUDE portion of /tmp/make_sys_image file. e.g. /app_install_src/* , is it the suggested way to exclude it?
Here is the related info I have posted before: http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1254867714409+28353475&threadId=1374412

Thanks,

Stan
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
JASH Expert in this area This member has accumulated 500 or more points
Oct 7, 2009 12:48:28 GMT  5 pts

From your previous post it appears that you are using make_sys_image to create a tape on a different server from the one you are actually igniting. I would have said that it would be a far better thing to do to create the server with the tape drive into an ignite server and run make_net_recovery on all the servers you need to ignite backup, onto the server with the tape drive. This can then be used to recreate the servers in case of any crashes etc.

If this is not possble, I would be interested in seeing the actual command you input to start your make_sys_image.

Regards, Jash
Scot Bean Expert in this area This member has accumulated 2500 or more points
Oct 7, 2009 16:11:46 GMT  5 pts

Tell us what you are really trying to do.

Your make_sys_image command has '-d /cdrom' in it.

It appears you are trying to create an image to DVD? If so, this is not the way to do that. Read http://docs.hp.com/en/5992-6584/ch14s03.html instead about this.
Stan_du
Oct 8, 2009 11:21:10 GMT    N/A: Question Author

Hi,Scot,

/cdrom is just a mountpoint of a separate file system. I want to backup the system thru make_sys_image script. At first I tried to backup it by make_net_recovery but not succeeded. There is another file system (mounted at /app_install_src) in vg00 which is only the installation source of the application, we want to exclude it during the OS backup as it has no relationship with it.

Thanks for your kind support,

Stan
Stan_du
Oct 8, 2009 12:45:36 GMT    N/A: Question Author

Hi, Jash,

The complete command is /tmp/make_sys_image -s local -d /cdrom

it is also listed in the attachment. At first I tried to place the image in the Ignite server by -s IP_of_IUX_Server, it completed with error because there wasn't enough space in NFS exported FS in the server. So I changed to place it in local FS and excluded a FS which isn't necessary for system recovery. It is strange that this command is always hanging.

Best Regards,

Stan
Scot Bean Expert in this area This member has accumulated 2500 or more points
Oct 9, 2009 19:45:17 GMT  7 pts

It looks like putting /app_install_src/* in the LEVEL2_NO_ARCHIVE section of the script is supposed to work.

Not sure why the hang.

Just wondering why you are running 'make_sys_image' directly, most folks prefer 'make_net_recovery' to archive a client.

Things to try:
- make_net_recovery instead
- adding the -v option, see if you can find out what it is doing when it hangs
- could unmount /app_install_src instead, see if better
- make sure /cdrom really is a writable filesystem, the name sounds like media
Stan_du
Oct 10, 2009 00:09:47 GMT    N/A: Question Author

Hi,Scot,

It is true that I have placed EXCLUDE_FILES in LEVEL2_NO_ARCHIVE section. At the beginning I tried the make_net_recovery but failed for some reason. From yesterday we start to seek the possibility to backup the system thru any one of the following:
1. make_net_recovery, 2. Write to USB DVD 3. make_sys_image

BTW, I once tried the debug mode(added a line "set -x" into make_sys_image script), we have the command running in the background so that it it possible to monitor it even if it hang as we deliver the support by remote dial-in. Here is the complete command: /tmp/make_sys_image -s local -d /cdrom -v –L –w /cdrom/ig.txt &

this command will quit after the following message, the first portion of it were omitted:

+ (( LIF_BKUP_ONLY ))
+ backup_lif
* LIF disk /dev/disk/disk1_p2 found, with contents:
volume ISL10 data size 7984 directory size 8 09/01/11 13:49:28
filename type start size implement created
===============================================================
ISL -12800 584 242 0 09/01/11 13:49:28
AUTO -12289 832 1 0 09/01/11 13:49:28
HPUX -12928 840 1024 0 09/01/11 13:49:28
PAD -12290 1864 1468 0 09/01/11 13:49:28
LABEL BIN 3336 8 0 09/07/15 03:23:25
+ exit 0
+ restore_keepsafe

[1] + Done /tmp/make_sys_image -s local

Many Thanks,

Stan
Stan_du
Oct 17, 2009 00:45:49 GMT   Thread closed by author  

sucessfully Backed up the system thru make_net_recvoery. Thanks Scot!!
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.