Extended file systems under hp-unix11.31 systems (online and offline)

Source: Internet
Author: User

Before expanding a file system (online and offline) under a hp-unix11.31 system, first check the current file system capacity: dev/vg01/lvapp 143360000 135477278 7390172 95%/oradata before expanding: 14 MB to check whether the corresponding vg has an idle pe. If not, expand the vg first. In this example, if there is an idle pe: PE Size (Mbytes) 32 Total PE 8940 Alloc PE 8220 Free PE 720 capacity to be extended: 32*600 M = 19200M capacity after expansion: 140000 + 19200 = 159200 M Step 1 (offline expansion ): lvextend-L 159200 M/dev/vg01/lvapp note that this is the total capacity after expansion, that is, the capacity before expansion + the capacity. Umount/dev/vg01/lvapp unmount the file system extendfs/dev/vg01/rlvapp (extendfs-F vxfs/dev/vg01/rlvapp) expand the file system mount/dev/vg06/lvapp/oradata mount the file system step 2 (online expansion): Check whether it is a product with a vxfs file and an online extension file: swlist-l product | grep-I online swlist-l product | grep-I if online extended file system exists, you can expand lvextend-L 159200 M/dev/vg01/lvapp online. Expand the logical volume group fsadm-F vxfs-B 159200 M/oradata. Note that 1592000M is the original capacity + expansion capacity. results, if it is smaller than the original capacity, it will reduce the file system. Note that fsadm can only expand (contract) Type file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.