[Last Call] Learn how to a build a cloud-first strategyRegister Now


Increase The file System Size in HP Unix .

Posted on 2005-04-28
Medium Priority
Last Modified: 2013-12-16
Hi Experts,
  How can we increase the file systems sizes in HP Unix by using SAM or any other tool. I want to see any unallocated space left in my file system under HP Unix .

Question by:ratnaprasad123
LVL 38

Accepted Solution

yuzh earned 2000 total points
ID: 13892212
Please read this HP Doc "Adjusting File System Sizes ":

Expert Comment

ID: 14888671
If you are adding a new disk altogther , the process is

- pvcreate "new disks raw device name"

pvcreate /dev/rdsk/c0t0d0s0

- Suppose the new disk is to be added to VG1
- vgextend VG1 /dev/dsk/c0t0d0s0

- vgdisplay VG1 ( to see how many free PEs, Physical Extents )

- VG should be having LVs , so extend the particular Logical Volume by giving following command

 # lvextend -l "Total # of PEs " /dev/<vg name>/<lvol name>

In case you have Online JFS, you can extend the file system online other wise you will need to unmount the file system

now extend the file system

# fsadm -F vxfs -b <PEs * PE size*1024> /<mount point>

The PE size would come from vgdisplay command.



Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question