mount acfs filesystem

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

mount acfs filesystem

Roshan
Hello Erman,

drwxr-xr-x   33 root   root      1060 Apr  3 17:47  run
drwxr-xrwx   18 grid        903 32768 Apr  3 17:53  osashare

I am not able to write in /osashare. The source is an Exadata server. I have mounted it on an X8 server on KVM.

I tried below command
 acfsutil repl terminate standby /osashare
acfsutil repl terminate: ACFS-00164: Cannot set the replication configuration.

it fails

mount was done using command:
/bin/mount -t acfs /dev/asm/interface01-433 /osashare

Please advise.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: mount acfs filesystem

ErmanArslansOracleBlog
Administrator
What steps did you take? What is your purpose? Please give me detail.

Did you create an ACFS filesystem? (/sbin/mkfs -t acfs )
Did you registered it?  /sbin/acfsutil registry
Did you change the ownership of your main mount directory according to your needs? (chown -R)
You said you can not write-- What error are you getting there?
Why do you try to stop all replication activity on the Oracle ACFS file system?  (by using acfsutil repl terminate)
The ACFS is coming from an Exadata and how did you map it to that KVM running on top of an X8 Server ? (NFS mount or what? -- What is the device /dev/asm/interface01-433, where is that device located on X8 server or on Exadata)

I just couldn't understand the exact situation, sorry.
Reply | Threaded
Open this post in threaded view
|

Re: mount acfs filesystem

Roshan
I checked again. Yes we created an ACFS filesystem and registered it. It's a replica of DR server(not on exadata but on X8): the ACFS file systems are local on server

When I touch a file, I get Permission denied.

If I stop all replication activities, will this allow writing to this filesystem?


initially the volumes are disabled.

asmcmd volinfo -G INTERFACE INTERFACE01
Diskgroup Name: INTERFACE

         Volume Name: INTERFACE01
         Volume Device: /dev/asm/interface01-433
         State: DISABLED
         Size (MB): 261120
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage: ACFS
         Mountpath: /osashare

asmcmd volinfo -G OSASHARE OSASHARE01

Diskgroup Name: OSASHARE

         Volume Name: OSASHARE01
         Volume Device: /dev/asm/osashare01-2
         State: DISABLED
         Size (MB): 261120
         Resize Unit (MB): 64
         Redundancy: UNPROT
         Stripe Columns: 8
         Stripe Width (K): 1024
         Usage: ACFS
         Mountpath: /interface

then i enable the volume
asmcmd volenable -G INTERFACE INTERFACE01
asmcmd volenable -G OSASHARE OSASHARE01


then i mount
 /bin/mount -t acfs /dev/asm/osashare01-2 /interface
 /bin/mount -t acfs /dev/asm/interface01-433 /osashare

Device is on X8 (ASM)
Reply | Threaded
Open this post in threaded view
|

Re: mount acfs filesystem

ErmanArslansOracleBlog
Administrator
Maybe it is due to selinux.
Please disable selinux and try the touch again.
Reply | Threaded
Open this post in threaded view
|

Re: mount acfs filesystem

Roshan
selinux was already disabled. but when i disable replication on acfs, I was able to write. How is it possible?
 acfsutil repl terminate standby /osashare
Reply | Threaded
Open this post in threaded view
|

Re: mount acfs filesystem

ErmanArslansOracleBlog
Administrator
Yes. Roshan.

After acfsutil repl terminate standby has been run, you can use the standby file system in read-write mode.