Pre-checks
Make a note of volume name and volume device of the new volume. The volume device will be used in the next step.
1. The disk space of acfs
file system which you want to create will be allocated in asm diskgroup. so
please make sure that that much free space is available in the diskgroup.
Procedure:
Here we are creating a
acfs file system of 2gb in +DATA01 diskgroup.
1. First create a volume of
2GB in +DATA01 diskgroup.
ASMCMD [+] > volcreate -G DATA01
-s 2G volume01
The volume name is volume01.
2. Check the details of new
created volume.
ASMCMD [+] > volinfo -G DATA01
volume01
Diskgroup Name: DATA01
Volume Name: VOLUME01
Volume
Device: /dev/asm/volume01-123
State: ENABLED
Make a note of volume name and volume device of the new volume. The volume device will be used in the next step.
3. Create the acfs file
system
/sbin/mkfs -t acfs /dev/asm/volume01-123
4. Register a new volume created
for file system in acfs mount registry.
/sbin/acfsutil
registry -a /dev/asm/volume01-123
/acfsmounts/acfs1
Here,
/acfsmounts/acfs1 is the directory which the acfs
file systems is mounted.
5. Check if the file system
is mounted by acfs mount registry service. If not, then manually mount the file
system wrt the new volume device.
/bin/mount -t acfs
<volume_device> /acfsmounts/acfs1
Post Checks
1. df –hP|grep asm; check that the acfs file system is showing up in df command.
2.
Check the alertlogs of asm for
any error.