Increase The file System Size in HP Unix .

Posted on 2005-04-28
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

    Please read this HP Doc "Adjusting File System Sizes ":
    LVL 2

    Expert Comment

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    nodeip 9 60
    llcommand 6 70
    Correct syntax to upload file in a script using sftp 2 52
    Problem logging tar errors 11 16
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now