[Ocfs2-users] some beginner questions

Sunil Mushran sunil.mushran at oracle.com
Wed Jul 14 12:05:50 PDT 2010


ocfs2 is a shared disk cfs. Meaning it expects the disk/vol to be
accessible by all nodes. Using fiber channel, iscsi, etc.

On 07/14/2010 12:03 PM, Alexander Nagel wrote:
> Hi,
>
> I'am new to ocfs2 filesystem and I have some questions about it.
>
> I installed three server according to the user guide from
> http://oss.oracle.com/projects/ocfs2/dist/documentation/v1.4/ocfs2-1_4-usersguide.pdf
>
> For every single server I have a working ocfs2 partition
> /dev/sdb1 on /mnt/oc1 type ocfs2 (rw,_netdev,heartbeat=local)
>
> As I understand the ocfs2 system I can use now these partition as a
> single data storage. But it doesn't work. When I create a file or
> directory on the ocfs2 partition, it doesn't "appear" on the other servers.
>
> SERVER01:
> server01:~# echo "sdhfksjdhfskhskjgh">>  /mnt/oc1/testfile
> server01:~# cat /mnt/oc1/testfile
> sdhfksjdhfskhskjgh
> server01:~# ls -lh /mnt/oc1/
> insgesamt 0
> drwxr-xr-x 2 root root 3,9K 13. Jul 16:53 lost+found
> -rw-r--r-- 1 root root   19 14. Jul 20:48 testfile
>
>
> SERVER02
> server02:~# ls -lh /mnt/oc1/
> insgesamt 0
> drwxr-xr-x 2 root root 3,9K 13. Jul 16:34 lost+found
>
>
> server03 same result
>
> The config file is the same on all three servers. I made it and copied
> it with the gui program on all three servers. So all server have the
> absolutly same file.
>
> What did I miss? Can somebody give me a hint? Or did I misunderstand the
> ocfs2?
>
> thanks
> Alexander
>
>
>    




More information about the Ocfs2-users mailing list