Thursday, July 9, 2020

Creating an ACFS filesystem on Exadata Cloud Service

Below is an example on how to create an ACFS filesystem on an Exadata Cloud Service quarter rack.  This example creates a 2TB ACFS in the RECO1 disk group and is mounted at /scratch.



[opc@exacsphx-xyzn1 ~]$ sudo -s
[root@exacsphx-xyzn1 opc]# su - grid
Last login: Thu Oct 17 09:38:15 EDT 2019
[grid@exacsphx-xyzn1 ~]$ asmcmd
ASMCMD> volcreate -G RECOC1 -s 2000G upload_vol
ASMCMD> volinfo -G RECOC1 upload_vol
Diskgroup Name: RECOC1

         Volume Name: UPLOAD_VOL
         Volume Device: /dev/asm/upload_vol-58
         State: ENABLED
         Size (MB): 2048000
         Resize Unit (MB): 64
         Redundancy: HIGH
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage:
         Mountpath:

ASMCMD> exit
[grid@exacsphx-xyzn1 ~]$ logout

[root@exacsphx-xyzn1 opc]# /sbin/mkfs -t acfs /dev/asm/upload_vol-58
mkfs.acfs: version                   = 19.0.0.0.0
mkfs.acfs: on-disk version           = 46.0
mkfs.acfs: volume                    = /dev/asm/upload_vol-58
mkfs.acfs: volume size               = 2147483648000  (   1.95 TB )
mkfs.acfs: Format complete.
[root@exacsphx-xyzn1 opc]# /u01/app/19.0.0.0/grid/bin/srvctl add filesystem -d /dev/asm/upload_vol-58 -g RECOC1 -v upload_vol -m /scratch
[root@exacsphx-xyzn1 opc]# /u01/app/19.0.0.0/grid/bin/srvctl start filesystem -d /dev/asm/upload_vol-58

[root@exacsphx-xyzn1 opc]# df -h
Filesystem                    Size  Used Avail Use% Mounted on
devtmpfs                      355G     0  355G   0% /dev
tmpfs                         709G  1.5G  707G   1% /dev/shm
tmpfs                         355G  3.0M  355G   1% /run
tmpfs                         355G     0  355G   0% /sys/fs/cgroup
/dev/mapper/VGExaDb-LVDbSys1   24G   11G   12G  47% /
/dev/xvda1                    488M   82M  381M  18% /boot
/dev/xvdi                     1.1T   69G  959G   7% /u02
/dev/mapper/VGExaDb-LVDbOra1   20G  7.4G   12G  40% /u01
/dev/xvdb                      50G  9.3G   38G  20% /u01/app/19.0.0.0/grid
/dev/asm/acfsvol01-58         800G   39G  762G   5% /acfs01
tmpfs                          71G     0   71G   0% /run/user/2000
tmpfs                          71G     0   71G   0% /run/user/0
/dev/asm/upload_vol-58        2.0T  4.6G  2.0T   1% /scratch
[root@exacsphx-xyzn1 opc]#

No comments:

Post a Comment