1834483 Members
3374 Online
110067 Solutions
New Discussion

increase disk espace

 
SOLVED
Go to solution
kacou
Regular Advisor

increase disk espace

i want to increase my file system using the unallocated espace. you can see below my current config and the config i hope to have.
Is it possible to do that without reinstalling the system?

------------------------------------
current disk layout

File System layout

LVM Device file mount point size fs type
/dev/vg00:
/dev/vg00/lvol1 /stand 320 hfs
/dev/vg00/lvol2 swap 4096
/dev/vg00/lvol3 / 576 vxfs
/dev/vg00/lvol4 /tmp 6016 vxfs
/dev/vg00/lvol5 /home 10016 vxfs
/dev/vg00/lvol6 /opt 4672 vxfs
/dev/vg00/lvol7 /usr 3968 vxfs
/dev/vg00/lvol8 /var 20000 vxfs
/dev/vg00/lvol9 /appl 40000 vxfs
/dev/vg00/lvol10 /backup 30016 vxfs
/dev/vg00/lvol11 swap 12000
/dev/vg00 unallocated 16576

-------------------------------------
my system configuration (current)

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 589824 330568 257272 56% /
/dev/vg00/lvol1 314736 80664 202592 28% /stand
/dev/vg00/lvol8 20480000 1573000 18759376 8% /var
/dev/vg00/lvol7 4063232 3825800 235824 94% /usr
/dev/vg00/lvol4 6160384 192464 5922096 3% /tmp
/dev/vg00/lvol6 4784128 2900880 1868584 61% /opt
/dev/vg00/lvol5 10256384 2211504 7982088 22% /home
/dev/vg00/lvol10 30736384 3914114 25146327 13% /backup
/dev/vg00/lvol9 40960000 18698513 20870162 47% /appl

---------------------------------------
the new configuration that I wish to have (see below)


Types de données Espace
/ 2Gb
/santd 500Mb
/var 20Gb
/usr 40Gb
/home 2Gb
/tmp 5Gb
/opt 50.5Gb
swap 16Gb
/appl 10
-----------------------------
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: increase disk espace

Shalom,

lvextend
umount the filesystem
extendfs

Simple unless the umount won't work. Then you either take the system to single user mode or use OnlineJFS (fsadm) to expand the filesystem in question without umount.

Root fs, / must be contiguous, and you can't extend it. The only way to deal with this is to do an Ignite backup, restore it and during the restore, intervene to set up a larger root fs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
kacou
Regular Advisor

Re: increase disk espace

my files systems are vxfs. does the online JFS work?
Sharma Sanjeev
Respected Contributor

Re: increase disk espace

Hi

If ONLINEJFS is installed in System

lvextend
fsadm

if ONLINEJFS is not installed

lvextend
umount filesystem
extendfs

For root there is is way to extend but the best way is to ignite the box

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Ph. LAQUERRIERE
Occasional Advisor

Re: increase disk espace

Hi Kacou,
in your case, you want increase all the FS in a VG00, you must create a ignite tape, and resize all FS in install process.

regards.
Jeeshan
Honored Contributor

Re: increase disk espace

i think you only need at this moment is to increase the /usr file system.

use the above file system increase commands. But make sure you have OnlineJFS installed in your system.
a warrior never quits
Sharma Sanjeev
Respected Contributor

Re: increase disk espace

Hi

@my files systems are vxfs. does the online JFS work?

Yes ONLINE JFS will work

lvextend
fsadm

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
kacou
Regular Advisor

Re: increase disk espace

Hi

ONLINEJFS is not installed. i try to make " lvextend" command, and the result is ok. but when i umount filesystem, i have the error message below:
umount: cannot find /usr in /etc/mmttab
cannot umount /usr

------------------------------------
plesae help me!!