Operating System - HP-UX
1855764 Members
11406 Online
104103 Solutions
New Discussion

Re: Logical volume manager

 
SOLVED
Go to solution
Rashid Hamid
Regular Advisor

Logical volume manager

How to increase /stand in /dev/vg00/lvol1?
I'm Parit Madirono/Parit Betak Boyz
7 REPLIES 7
K.Vijayaragavan.
Respected Contributor
Solution

Re: Logical volume manager

we cannot directly increase the /stand file system size.
We may have to take backup of the required user files and user filesystems and reinstall the OS. while on reinstalling we can decide the bigger size.

-K.Vijay.
"Let us fine tune our knowledge together"
JACQUET
Frequent Advisor

Re: Logical volume manager

Hi,

I agree with Vijay. The problem with /stand is that the lv /dev/vg00/lvol1 must be configured with contiguous PE. And because you've got certainly swap in /dev/vg00/lvol2 just behind /stand, the only possibility is to backup all the datas where your Os resides (by the utility "make_recovery"), and reinstall the Os from this bootable tape by choosing a different size for /stand.
For the others FS (/usr, /opt, /var), you can do it in single user mode, but not for /stand.

PJA.
PJA
eran maor
Honored Contributor

Re: Logical volume manager

Hi

the easy way to increase the /stand it to backup it with ignite backup .

do it with make_recovery -A command .

if you dont have ignite you need to install it and the install also the PAX patch .

after you backup your system to the tape drive boot from this cassete and restore the system , before restore it you can choose to config the size of the files system .
increase the /stand .

you need to have free PE in the vg00 to do it .

another way to do it is to boot in a single user mode ( because it this mode only / is mounted ) and then you can increase the /stand logical volume )

remember that /stand doesnt need to be big .

delete all the old file that you dont need (
dont delete the vmunix and vmunix.prev and the same on the file system and system.prev)

the easy way it to use ignite .

here is the link to download it :
http://www.software.hp.com/products/IUX/download.html
love computers
Krishna Prasad
Trusted Contributor

Re: Logical volume manager

You can unmount /stand if it is on it's own logical volume which I assume it is.

Rember /stand has to be a hfs file system not vxfs so you have to use extendfs.

The information in /stand is basically the kernal. Once your system is booted it shouldn't cause you to much of a problem to quickly unmount it, run extendfs and re-mount it. There are a few programs that may have a problem when it is unmounted but I have never seen it cause an entire application to stop running just a few programs will get minor errors until it is mounted again.
Positive Results requires Positive Thinking
Roger Baptiste
Honored Contributor

Re: Logical volume manager

<>

Hi,

You cannot increase /stand online or like other logical volumes, since it is the boot volume and needs to be in contiguous extents. The only way to do it is to use IGnite-UX tool. Download ignite-ux (free download ) and run make_tape_recovery -i ;
This will take a Ignite image on the tape.
Using the tape, you can boot the system and change the /stand size. Pls note it is as good as reinstalling the system.

Before you think of changing /stand, make sure whether you need to do it at all.
/stand of around 80Mb should be manageable.


HTH
raj
Take it easy.
harry d brown jr
Honored Contributor

Re: Logical volume manager

Follow Eran Maor's, Vijay's, JACQUET's, and RajMan's advice: "use ignite". And as RajMan said, /stand must be contigous.

live free or die
harry
Live Free or Die
Magdi KAMAL
Respected Contributor

Re: Logical volume manager

Hi Hamid,

You need to perform an Ignite-Tape with the following command :

#make_recovery -A -d /dev/rmt/#mn
Attention : you need to consider the No-Rewind device with the last character in the command which is "n" !

Then
#shutdown -ry 0

interrupt the automatique boot and interact with the ISL interpretaor;

ISL> sea

ISL> boot P5

While P5 stand for the path number for the sequential media which is the tape drive.

Follow instruction to install from Ignite-Tape previously generated and when creating the file systems increase your /stand to the value that you need.

Magdi