Operating System - HP-UX
1833861 Members
1881 Online
110063 Solutions
New Discussion

Re: Increasing the size of the root file system

 
Gary Cooper_1
Esteemed Contributor

Increasing the size of the root file system

It hadn't really occurred to me before, but our main application actually stores data in the root file system (shock, horror!).

It was brought to my attention when the utilistion jumped from 73% to 91% in the last 24 hours.

Although it's not likely to increase again for some time, I thought I might increase the size of the root file system (until I can sort out moving the data into a different file system).

As this machine is a mission critical 24/7 machine, what I wanted to know was can I do this on the fly using OnlineJFS (the fstype is VxFS)?

Thanks,

Gary
8 REPLIES 8
Gary Cooper_1
Esteemed Contributor

Re: Increasing the size of the root file system

Sorry, I realise now that this posting should be in the LVM and VxVM forum.

Gary
MarkSyder
Honored Contributor

Re: Increasing the size of the root file system

I would not recommend increasing root to accommodate application data. A new filesystem specifically for this data, preferably not on vg00, would be a preferable option.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: Increasing the size of the root file system

Hi Gary, A good thread to read

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=505209

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Gary Cooper_1
Esteemed Contributor

Re: Increasing the size of the root file system

Hi mark,

Unfortunately, I won't have chance to tweak the application on this machine until the next shutdown, which may be in 6 weeks time or later. This is why I was looking for a quick fix.

Thanks,

Gary

Shameer.V.A
Respected Contributor

Re: Increasing the size of the root file system

Hi Gary,
It is not recommended to keep your data on root file system. Create a new lvol and mount the lvol to same directory used by your application after copying the whole data.

if you want to increase the root file system, please refer the following thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983018

Regards,

Shameer
.... See invisible, feel intangible and achieve impossible as everything is possible ....
Joseph Loo
Honored Contributor

Re: Increasing the size of the root file system

hi,

be it increasing the / (root) file system or re-locate the current application to another file system, it will still require a shutdown.

as the rest have suggested, apps or database should never be located in the vg00 (boot) and definitely not the / file system. recommended to create new volume group with the new file system to contain the apps and db.

regards.
what you do not see does not mean you should not believe
MarkSyder
Honored Contributor

Re: Increasing the size of the root file system

Whichever solution you go for you will have to either shut the server down or at least stop the application. Given that this is necessary, I think it would be best to go for the recommended solution of keeping application data out of root.

Mark
The triumph of evil requires only that good men do nothing
Gary Cooper_1
Esteemed Contributor

Re: Increasing the size of the root file system

Thanks guys.

You confirmed my suspicions that whichever way I go, I would need to shut the machine down.

I'll wait until the shutdown and look into moving the application data at that time.

Cheers,

Gary