1825782 Members
2157 Online
109687 Solutions
New Discussion

How increase a FS

 
SOLVED
Go to solution
GRANDIERE
Frequent Advisor

How increase a FS

I would like to increase the size of a 30 Gb FS. How should i do that ?

Do i have to umount the FS before increasing the FS ?

Thanks for help.

Emmanuel
4 REPLIES 4
Bharat Katkar
Honored Contributor
Solution

Re: How increase a FS

HI Emmanuel,

If you do not have Online JFS then:

1. Umount Filesystem
2. lvextend
3. extendfs
4. mount Filesystems

If it is Online JFS:

1. No need to unmount
2. Use lvextend
3. fsadm -b

Hope that helps.
Regards,

See man lvextend,extendfs and fsadm
You need to know a lot to actually know how little you know
Steven E. Protter
Exalted Contributor

Re: How increase a FS

lvextend the volume logical volume
# example lvextend -L 1028 /dev/vg02/lvol1 /dev/dsk/c1t1d0

then you have a choice.

If you have online JFS you can use fsadm to extend the FS without umounting the FS.

Otherwise you must umount the FS and use extendfs to extend the fs.

# example extendfs /dev/vg02/rlvol1

swlist -l product | grep -i online

That will show you if Online JFS is installed. Its a pay for add on product, so you probably already know.

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
GRANDIERE
Frequent Advisor

Re: How increase a FS

Thanks you very much for your help.

>>>swlist -l product | grep -i online
OnlineJFS B.11.11 Online features of the VxFS File System
PHCO_25831 1.0 SCSI Ultra160 driver Online Addition script

I have the Online JSF installed. So i know what i have to do.

Thanks again.

Emmanuel
GRANDIERE
Frequent Advisor

Re: How increase a FS

To close the thread.
Thanks.