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 -- Alexander Nagel E-mail: alexander at acwn.de Homepage: http://www.acwn.de/ http://www.standspur-kadaver.de/
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 > > >
OCFS2 requires shared storage. Is /dev/sdb a shared device?> -----Original Message----- > From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users- > bounces at oss.oracle.com] On Behalf Of Alexander Nagel > Sent: Wednesday, July 14, 2010 12:03 PM > To: Ocfs2-users at oss.oracle.com > Subject: [Ocfs2-users] some beginner questions > > 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 > > > -- > > Alexander Nagel > E-mail: alexander at acwn.de > Homepage: > http://www.acwn.de/ > http://www.standspur-kadaver.de/ > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
Apparently Analagous Threads
- Multiple homedir entries in smb.conf ?
- MeetMe hardware dimensioning
- [Bug 93630] New: [NVE6] disrupted display, cannot switch VT, everything else still works, E[ PDISP] link training failed
- visibility of groups when multiple Samba servers use the same LDAP server
- visibility of groups when multiple Samba servers use the same LDAP server