AIX - filesystem
AIX Logical Volume Manager (LVM)
http://www.datadisk.co.uk/html_docs/hp/aix_lvm.htm
Volume Groups and Filesystems
Find out the VG.# lslv hd1 LOGICAL VOLUME: hd1 VOLUME GROUP: rootvg LV IDENTIFIER: 0007b8420000d9000000011f2491100e.8 PERMISSION: read/write VG STATE: active/complete LV STATE: opened/syncd TYPE: jfs2 WRITE VERIFY: off MAX LPs: 512 PP SIZE: 128 megabyte(s) COPIES: 1 SCHED POLICY: parallel LPs: 20 PPs: 20 STALE PPs: 0 BB POLICY: relocatable INTER-POLICY: minimum RELOCATABLE: yes INTRA-POLICY: center UPPER BOUND: 32 MOUNT POINT: /home LABEL: /home MIRROR WRITE CONSISTENCY: on/ACTIVE EACH LP COPY ON A SEPARATE PV ?: yes Serialize IO ?: NO #
How much space is available in the VG?
# lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 0007b8420000d9000000011f2491100e VG STATE: active PP SIZE: 128 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 599 (76672 megabytes) MAX LVs: 256 FREE PPs: 282 (36096 megabytes) LVs: 13 USED PPs: 317 (40576 megabytes) OPEN LVs: 11 QUORUM: 2 (Enabled) TOTAL PVs: 1 VG DESCRIPTORS: 2 STALE PVs: 0 STALE PPs: 0 ACTIVE PVs: 1 AUTO ON: yes MAX PPs per VG: 32512 MAX PPs per PV: 1016 MAX PVs: 32 LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no HOT SPARE: no BB POLICY: relocatable #
Use chfs command to expand
chfs -a size=3G /home chfs -a size=3000M /home chfs -a size=+1G /home chfs -a size=+500M /home
Mounting an NFS file system explicitly
To mount an NFS directory explicitly, use the following procedure:Verify that the NFS server has exported the directory: showmount -e ServerName where ServerName is the name of the NFS server. This command displays the names of the directories currently exported from the NFS server. If the directory you want to mount is not listed, export the directory from the server. Note: The showmount command will not work for file systems that were exported only as NFS version 4 file systems. For NFS version 4, the client can mount the root filesystem for the server and traverse the exported directory structure. Individual exported file systems do not have to be explicitly mounted to be accessed by the client. Establish the local mount point using the mkdir command. A null (empty) directory that acts as the mount point (or place holder) of an NFS mount must be present for NFS to complete a mount successfully. This mount point can be created like any other directory, and no special attributes are needed. Type: mount ServerName:/remote/directory /local/directory where ServerName is the name of the NFS server, /remote/directory is the directory on the NFS server you want to mount, and /local/directory is the mount point on the NFS client. On the client machine, type the following SMIT fast path: smit mknfsmnt Make changes to the following fields that are appropriate for your network configuration. Your configuration might not require completing all of the entries on this screen. Note: If the SMIT interface is being used, press the Tab key to change to the correct value for each field, but do not press Enter until completing step 7. PATHNAME of mount point. PATHNAME of remote directory. HOST where remote directory resides. MOUNT now, add entry to /etc/filesystems or both? /etc/filesystems entry will mount the directory on system RESTART. MODE for this NFS file system. Change or use the default values for the remaining entries, depending on your NFS configuration. When you finish making all the changes on this screen, SMIT mounts the NFS file system. When the Command: field shows the OK status, exit SMIT. The NFS file system is now ready to use. SOURCE: https://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.networkcomm/nfs_mounting_xplicit.htm
Comments
Post a Comment