User Tools

Site Tools


aix:wpar_add_filesystem

Add jfs2 to the WPAR

On the Global: Create a new filesystem with INLINE log, like all other filesystems in the WPARs:

# crfs -v jfs2 -g<VG_name> -a size=<size_GB>G -m<mount_point_into_Global> -Ano -prw -a agblksize='4096' -a logname=INLINE -u<WPAR_name> 
# crfs -v jfs2 -g'datavg' -a size=6G -m/wpars/wpar10/oracle/wpar10/admin -Ano -prw -a agblksize='4096' -a logname=INLINE -u 'wpar10' 
# mount /wpars/wpar10/oracle/wpar10/admin

In the WPAR: Add in /etc/filesystems, an entry for the relative path of the filesystem (mount point into the WPAR):

/oracle/wpar10/admin:
        dev             = Global
        vfs             = jfs2
        log             = INLINE
        mount           = false
        type            = r6db10
        quota           = no
        account         = false

Add a directory from Global to WPAR

# crfs -vnamefs -d /var/core/wpar4 -m /wpars/wpar4/var/core -u wpar4 -Ano -prw
aix/wpar_add_filesystem.txt · Last modified: 2021/01/01 21:21 (external edit)