0% found this document useful (0 votes)
290 views4 pages

Mount ACFS Filesystem via NFS on Linux

You can mount an ACFS filesystem configured on two RAC nodes through NFS on a third Linux node. To do so, you export the ACFS filesystem on one of the RAC nodes, restart NFS services, create a mount point on the third node, and mount the exported ACFS filesystem remotely over NFS. The mount will then allow accessing and using the ACFS storage from the third non-ACFS Linux node.

Uploaded by

duraianbu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views4 pages

Mount ACFS Filesystem via NFS on Linux

You can mount an ACFS filesystem configured on two RAC nodes through NFS on a third Linux node. To do so, you export the ACFS filesystem on one of the RAC nodes, restart NFS services, create a mount point on the third node, and mount the exported ACFS filesystem remotely over NFS. The mount will then allow accessing and using the ACFS storage from the third non-ACFS Linux node.

Uploaded by

duraianbu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HowToMountAnACFSFilesystemThroughNFSOnLinux.(DocID1522878.

1)
Modified: 12Nov2014

Type: HOWTO

InthisDocument
Goal
Solution

CommunityDiscussions

References

APPLIESTO:
OracleDatabaseEnterpriseEditionVersion11.2.0.1to11.2.0.4[Release11.2]
Informationinthisdocumentappliestoanyplatform.

GOAL
[Link]
database,CanwemountacfsasNFSon3rdnode?.

SOLUTION
1)ACFS([Link])isconfiguredinthefollowing2RACnodes:

[root@asmgrid1etc]#hostname

asmgrid1

[root@asmgrid1etc]#crsctlstatresora.acfsdg_oh1.vol_oh1.acfs

NAME=ora.acfsdg_oh1.vol_oh1.acfs

TYPE=[Link]

TARGET=ONLINE,ONLINE

STATE=ONLINEonasmgrid1,ONLINEonasmgrid2

[root@asmgrid1etc]#crsctlstatrest

NAMETARGETSTATESERVERSTATE_DETAILS

LocalResources

.
.
.

ora.acfsdg_oh1.vol_oh1.acfs

ONLINEONLINEasmgrid1mountedon/u04acfs
ONLINEONLINEasmgrid2mountedon/u04acfs

Node#1:
[root@asmgrid1etc]#dfk/u04acfs

Filesystem1KblocksUsedAvailableUse%Mountedon

/dev/asm/vol_oh11153565158445901043106148013%/u04acfs

Node#2
[root@asmgrid2~]#dfk/u04acfs

Filesystem1KblocksUsedAvailableUse%Mountedon
/dev/asm/vol_oh11153565158445901043106148013%/u04acfs

2)OnthefirstRACnode(ACFSsourcenode),youneedtosharethedesiredACFSfilesystem(/u04acfs)as
follows:
2.1)Thenupdatethe/etc/exportsfilewiththenextentry:

[root@asmgrid1etc]#hostname

asmgrid1

[root@asmgrid1etc]#cat/etc/exports

/u04acfs*(rw,sync)

2.2)RestarttheNFSservice:

[root@asmgrid1etc]#hostname

asmgrid1

[root@asmgrid1etc]#/etc/init.d/nfsrestart

ShuttingdownNFSmountd:[FAILED]
ShuttingdownNFSdaemon:[FAILED]
ShuttingdownNFSquotas:[FAILED]
ShuttingdownNFSservices:[FAILED]
StartingNFSservices:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]

[root@asmgrid1etc]#/etc/init.d/nfsrestart

ShuttingdownNFSmountd:[OK]
ShuttingdownNFSdaemon:[OK]
ShuttingdownNFSquotas:[OK]
ShuttingdownNFSservices:[OK]
StartingNFSservices:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]

[root@asmgrid1etc]#

3)Andfinally,mounttheACFSfilesystemonthetargetnonACFSnodeasfollows:
3.1)CreateamountpointonthetargetnonACFSnode:

[root@asmstorage~]#hostname

[Link]

[root@asmstorage~]#mkdir/remoteACFS

[root@asmstorage~]#lsld/remoteACFS

drwxrxrx2rootroot4096Jan1116:00/remoteACFS

3.2)PingtheremoteACFSnodefromthetargetnonACFSnode:

[root@asmstorage~]#pingasmgrid1

[Link]([Link])56(84)bytesofdata.

[Link]([Link]):icmp_seq=0ttl=64time=0.880ms
[Link]([Link]):icmp_seq=1ttl=64time=0.143ms

3.3)OnthetargetnonACFSnode,restarttheNFSservice:

[root@asmstorage~]#/etc/init.d/nfsrestart

ShuttingdownNFSmountd:[FAILED]
ShuttingdownNFSdaemon:[FAILED]
ShuttingdownNFSquotas:[FAILED]
ShuttingdownNFSservices:[FAILED]
StartingNFSservices:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]

[root@asmstorage~]#/etc/init.d/nfsrestart

ShuttingdownNFSmountd:[OK]
ShuttingdownNFSdaemon:[OK]
ShuttingdownNFSquotas:[OK]
ShuttingdownNFSservices:[OK]
StartingNFSservices:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]

3.4)AndmounttheremoteACFSfilesystemonthetargetnonACFSnode:

[root@asmstorage~]#mounttnfsasmgrid1:/u04acfs/remoteACFS

[root@asmstorage~]#dfk/remoteACFS

Filesystem1KblocksUsedAvailableUse%Mountedon

asmgrid1:/u04acfs3565158445900803106150413%/remoteACFS

[root@asmstorage/]#cd/remoteACFS

[root@asmstorageremoteACFS]#lsl

total344

rwr11101100021244Aug1718:[Link]
drwx2rootroot65536Aug1419:17lost+found

rw1rootroot217655Nov111:28OCRDUMPFILE

drwxrxrx3110110004096Aug1714:00product

4)Tomakethefilesystemautomountpersistentoneveryreboot,youcanaddthefollowingentryinthe/etc/fstab
file(onthetargetnonACFSnode):

asmgrid1:/u04acfs/remoteACFSnfs
rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=3,timeo=60000

CommunityDiscussions
Stillhavequestions?Usethecommunitieswindowbelowtosearchforsimilardiscussionsorstartanewdiscussion
onthissubject.(Windowisthelivecommunitynotascreenshot)
Clickheretoopeninmainbrowserwindow

You might also like