Operating System - HP-UX
1833325 Members
2698 Online
110051 Solutions
New Discussion

Removing unwanted filesets - reason is space needed

 
SOLVED
Go to solution
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Hi Peter,
Here I have a version of july 2003 and it supports both syntax...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

I ment you have both commands in /opt/ignite/bin...
Geoff Wild
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Run it Pete's way.

If you can afford it, you can also setup an Ignite server....then run:

/opt/ignite/bin/make_net_recovery -s ignsvr1 -x inc_entire=vg00

As an aside, make_recovery is being deprecated - use make_tape_recovery as Pete mentioned.

For tape:

/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Hi,

I ran this command:

# ioscan -fknCtape

The output is attached. Yes it seems as though the tape is /dev/rmt/0m

I have to go ask for a tape and then I'll proceed...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Type the command Pete suggested but be sure you put a tape before...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Geoff,

Ok I will put in a blank tape and run:

# /opt/ignite/bin/make_tape_recovery -x
inc_entire = vg00

Will this also backup my data or just the root volume?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Just the root volume group,
But it will be bootable and you can use it to reconfigure vg00...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

This is what is called a true recovery tape, so my advice would be once created, protect it against write and try to boot from it, if its a good one then it will be your most precious good to keep...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

Thanks. I just got a tape from my supervisor and the capacity is 4GB (this should be enough right?).

I will now go and do the backup. He (my supervisor) already did a backup of the data files so I'll go ahead with my exercise now...

Will post progress...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

I entered:

# /opt/ignite/bin/make_tape_recovery -x
inc_entire = vg00

got the following message:

insufficent # of arguments in input file for inc_entire. List expander command failed. Could be problem with -x option specified.

Huh?
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Backup is running...

problem was spaces, i took them out :(

*banging head agaisnt wall*
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Did you type all on the current line?
no blanks both side of =
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Once this backup is completed how do I verify it's success?

Also, did anyone look at my previous question about my new tape drive...you know SLOT 1 etc?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Next step:
I dont know how you system is configured, here I configure tape as alternate path so for me its dead easy: boot alt...
You may have to do at ISL
(You remember the stop system boot to be in single user...)
you will have to enter the command sea
to see bootable devices and look for the P that is sequential access which should be your tape
and then type bo P

Boot:
Displays:
ISL Revision
ISL Booting hpux ;0):INSTALL
Boot
: tape (its path...): INSTALL

You will fall on a welcome like
@ Welcome to Ignite Ux
...
press enter to stop batch install (or something equivalent)
a menu driven display should appear like:

[ Install HPUX ]
[ Run a recovery shell ]
I dont remember the rest but you should see somewhere
Reboot
So choose reboot to come out of it

Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

About your slot 1 I dont know what to say for now...
Waiting to see your recovery tape business become another success...
Because I would like to see if you installed the support tools like online diags.
This can be seen you type cstm or xstm & if in XWindows...
From this application we can see how you are installed, firmware revs etc...

Robert-Jan Goossens_1
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Adrian,

As soon as your ignite test is finished, could you open a new thread for your new tape drive ? This one is getting a bit to long.

Best regards,
Robert-Jan
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Ok I'll open a new one for the tape drive...

About the tape backup though...

The console just went blank and now when I press enter I just get nothing, just green block moving down screen....

what's up with that?
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Ok it was successful...

Message said:

make_tape_recovery successful!

I will now follow the steps Victor posted before...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

I'm at ISL prompt...

What do I do to test the tape?

This is what I did:

Booted to single user mode...

At the prompt entered:

bo P9 (tape)

carried me to:

ISL>

How do I test tape now?
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Funny..
Dont know where you are, I expected it to say:
"HARD BOOTED" and see it continue with it displaying ISL Revision and ISL booting...
type boot and see what happens
You sould have seen something like:
Boot
: tape (tape-address):INSTALL beeing displayed...
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

I typed:

ISL> ?

it gave me

HELP
LS
AUTOBOOT
AUTOSEARCH
PRIMPATH
ALTPATH
CONSPATH
DISPLAY
LSAUTOFL
FASTSIZE
800SUPPORT
700SUPPORT
READNVM
READSS
LSBATCH
BATCH
LSEST
EST

I'm assuming those are the available commands. Does this help you?

I typed boot also at ISL prompt but it said not an ISL command or utility...
Victor BERRIDGE
Honored Contributor

Re: Removing unwanted filesets - reason is space needed

Type again bo P9
Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

ISL > bo P9

No ISL command or utility.
No ISL command or utility.

:(
Victor BERRIDGE
Honored Contributor
Solution

Re: Removing unwanted filesets - reason is space needed

What happens if you type hpux (;0):INSTALL

Adrian Sobers2
Super Advisor

Re: Removing unwanted filesets - reason is space needed

Victor,

That did it!

ISL> hpux (;0):INSTALL

takes me to the Ignite UX menu

I just reboot and back out...

Thanks, closing thread. Very happy. Now onto new thread with tape drive ;)