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?


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

  • and that is done online? jfs2? ty! – LanceBaynes Nov 5 '11 at 2:02
  • 1
    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
  • 1
    also you can expand or shrinks LV online – Luciano Facchinelli Nov 5 '11 at 5:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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