System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

increase root file system size

Karthik_Bang
Occasional Contributor

increase root file system size

HI All.

 

       Please provide the steps to increase the 11.23 root file system size

 

Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576  304400  738416   29% /

 

# vgdisplay
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      8
Open LV                     8
Max PV                      16
Cur PV                      1
Act PV                      1
Max PE per PV               4369
VGDA                        2
PE Size (Mbytes)            64
Total PE                    4359
Alloc PE                    541
Free PE                     3818
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

#

6 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: increase root file system size

Hi:

 

This question was asked yesterday, too.  See the commentary (suggested methods) here:

 

http://h30499.www3.hp.com/t5/System-Administration/how-to-extend-root-filesystem/m-p/4841799#M393440

 

Regards!

 

...JRF...

Patrick Wallek
Honored Contributor

Re: increase root file system size

Why do you think you need to increase root?  It is already at 1 GB in size, which is oversized in my opinion, and only 300MB or so is in use.

 

This file system looks to be in OK shape to me.

awsmile
Visitor

Re: increase root file system size

just use ignite to increase the root file system.

Bill Hassell
Honored Contributor

Re: increase root file system size

The root filesystem should be static, that is, does not grow and contains nothing but /etc, /dev and /bin. In fact, the / directory should not have any files at all, and certainly no applications or data directories should exist in /. There are a lot of baadly written application installers that place large files in /. Find the misplaced directories like this:

 

du -kx / | sort -rn | head -10

 

The two largest directories under / should be /sbin and /etc and for 11.23, about 300 MB occupied for an average system, possibly 500-600 MB for a system with hundreds of LUNs. So your current usage is normal and the 1GB size is reasonable. But wanting to increase it?  The / filesystem is far too critical to place random files and directories. It is why moving root's HOME directory is so important. One small mistake by a root user and the entire computer will have to be reinstalled. Applications are installed in /opt, large data directories have their own volume groups and lvols.

 

With all that said, trying to increase / is very invasive and would require a number of risky steps for a novice system administrator. It is far safer to enforce good sysadmin practices.



Bill Hassell, sysadmin
vjta
Regular Advisor

Re: increase root file system size

Take Ignite Backup & adust the filesystems while Ignite resotre.

 

Just ensure Ignite Depot is installed in the system.

 

Regards

Vjta

Vijeta Bhedi
f. halili
Trusted Contributor

Re: increase root file system size

Take an ignite backup or your host. Re-ignite it  but this time when you go to the tab for the Fielsystems change the size for the root VG.

 

Cheers,

f.halili

derekh