Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
 oslevel -s

IF I have a Logical Volume that I need to shrink, then how can I do it? [there could be several FileSystems on it...]. What is the process?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

you can use chfs like :

chfs -a size=*newsize* /filesystem

For example

chfs -a size=2G /tmp

That will set /tmp to 2Gb of space

For more info take a look at chfs' man page

share|improve this answer
and that is done online? jfs2? ty! –  LanceBaynes Nov 5 '11 at 2:02
Yes, with JFS2 you can do that online –  Luciano Facchinelli Nov 5 '11 at 2:06
and what about the LV? :P :O TY! –  LanceBaynes Nov 5 '11 at 3:47
also you can expand or shrinks LV online –  Luciano Facchinelli Nov 5 '11 at 5:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.