Operating System - HP-UX
1825010 Members
3679 Online
109678 Solutions
New Discussion юеВ

use of fsadm command to increase the filesystem space

 
SOLVED
Go to solution
whiteSox
Frequent Advisor

use of fsadm command to increase the filesystem space

Hello ,

I just run the command lvextend -L 500 /dev/vg00/lvol_number the command was completed successfully as i do have online jfs installed on that machine .But when i issue a
fsadm -F vxfx -b 51200 /tmp i try to shrink it instead of extending it ...Thanks all for your help...
8 REPLIES 8
Marvin Strong
Honored Contributor

Re: use of fsadm command to increase the filesystem space


b is blocks I believe

fsadm -F vxfs -b $(( (newsize * 1024) * 1024 )) /tmp

IT_2007
Honored Contributor
Solution

Re: use of fsadm command to increase the filesystem space


you need to specify in MB.

fsadm -F vxfs -b 500M /tmp

Sandman!
Honored Contributor

Re: use of fsadm command to increase the filesystem space

Jaime Bolanos Rojas.
Honored Contributor

Re: use of fsadm command to increase the filesystem space

WhiteSox,

Also this other thread might be of help:

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

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: use of fsadm command to increase the filesystem space

Shalom,

I've never understood why fsadm was not more clear so that one could use a size that makes sense for other utilities.

This one gets a lot of early users of fsadm.

The good news: It would never really try and shrink the fs that much.

The bad news: this "feature" is more or less explained on the man page.

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
Ninad_1
Honored Contributor

Re: use of fsadm command to increase the filesystem space

Hi,

The -b option specifies size in kb , so either mention the newsize in kb or better to use m or g along with the value to indicate MB or GB, thus
fsadm -F vxfs -b 500m /tmp

Regards,
Ninad
Geoff Wild
Honored Contributor

Re: use of fsadm command to increase the filesystem space

lvextend -L 500 /dev/vg00/lvol_number means extend to 500 MB

To extend tmp you need to:

fsadm -F vxfs -b 500M /tmp

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
whiteSox
Frequent Advisor

Re: use of fsadm command to increase the filesystem space

Thank you all for your reply the command
fsadm -F vxfs -b 500M /tmp worked for me...thank you ALL!!!!!

Have a great weekend