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.