Operating System - HP-UX
1753876 Members
7387 Online
108809 Solutions
New Discussion юеВ

How to exclude file systems while running make_sys_image

 
SOLVED
Go to solution
Shouvik Basak
Occasional Advisor

How to exclude file systems while running make_sys_image

The system (Golden System) of which I am trying to create a Golden Image of has number of local disks and disks connected to SAN. Thus it has many volume groups and mount points. What I really need is to have a Golden Image having just the file systems in vg00 as part of the image i.e. /, /opt, /home, /var, /usr, /stand, /tmp; ignoring all other mount points. I am tying to pass "-g file_list" to restrict the image to my desired file systems - but its tending to include everything in the image. My file_list has /, /opt, /home, /var, /usr, /stand, /tmp all listed in lines one after another. is this correct ?

I would really appreciate if somebody can help me out with a solution.
Thanks in advance,
Shouvik
Think, think and think...before you jump
5 REPLIES 5
Sanjay_6
Honored Contributor
Solution

Re: How to exclude file systems while running make_sys_image

Hi,

Take a look at this thread,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972903

The itrc doc id is KBRC00000365.

Hope this helps.

Regds
Marvin Strong
Honored Contributor

Re: How to exclude file systems while running make_sys_image

hmm I haven't used the -g option but by reading the man page it seems like it should work.

You could use the -p and v options to get a verbose preview listing I think.

I use -f

with a file that contains

+ ONLY NO_ARCHIVE
/list
/of
/filesystems
/to/exclude
Uday_S_Ankolekar
Honored Contributor

Re: How to exclude file systems while running make_sys_image

You can also try by using -p -d option.

make_tape_recovery -p -d /dev/rmt/#mn

This is just a preview mode and generates the list of file that are going to archive in tape. You can remove the one you don't wanted.
File flist will be created in /var/opt/ignite/recovery/timestamp(2004-11-05,11:13) directory.

Also look the log file for more info in same directory

-USA..

Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: How to exclude file systems while running make_sys_image

Hi (Again)
I forgot to mention other important file in the very same directory, archive_cfg. This file has the list of all the filesystem in vg00 those are going to archive..

-USA..
Good Luck..
Shouvik Basak
Occasional Advisor

Re: How to exclude file systems while running make_sys_image

Thanks Sanjay and Marvin. I used -f and it worked great.

Uday, Actually I was looking for make_sys_image. Thanks anyway.
Think, think and think...before you jump