Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
 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
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.