[Ocfs2-users] some beginner questions

Alexander Nagel alexander at acwn.de
Fri Jul 16 11:53:18 PDT 2010


Hi,

and thank you for all your comments, that helped a lot.

Alexander

Am 14.07.2010 22:43, schrieb Angelo McComis:
> Alexander,
>
> What you're describing is more of a replicated disk (a la "drbd") rather
> than shared disk.
>
> Shared disk means a Fibre Channel disk presented to multiple hosts, or
> an iScsi disk presented to multiple hosts.
>
>
>
> On Wed, Jul 14, 2010 at 3:44 PM, Alexander Nagel <alexander at acwn.de
> <mailto:alexander at acwn.de>> wrote:
>
>     Hi,
>
>     Am 14.07.2010 21:08, schrieb Ulf Zimmermann:
>      > OCFS2 requires shared storage. Is /dev/sdb a shared device?
>     thanks for your quick response, and that clarify the situation.
>     /dev/sdb is a single harddisk in the servers, it is not a shared
>     storage. I thought that ocfs2 would work then like a single disk.
>     What type of storage must this shared device be?
>
>     thanks
>     Alexander
>
>      >
>      >
>      >> -----Original Message-----
>      >> From: ocfs2-users-bounces at oss.oracle.com
>     <mailto:ocfs2-users-bounces at oss.oracle.com> [mailto:ocfs2-users-
>     <mailto:ocfs2-users->
>      >> bounces at oss.oracle.com <mailto: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 <mailto: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 <mailto:alexander at acwn.de>
>      >> Homepage:
>      >> http://www.acwn.de/
>      >> http://www.standspur-kadaver.de/
>      >>
>      >> _______________________________________________
>      >> Ocfs2-users mailing list
>      >> Ocfs2-users at oss.oracle.com <mailto:Ocfs2-users at oss.oracle.com>
>      >> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>     --
>
>     Alexander Nagel
>     E-mail: alexander at acwn.de <mailto:alexander at acwn.de>
>     Homepage:
>     http://www.acwn.de/
>     http://www.standspur-kadaver.de/
>
>     _______________________________________________
>     Ocfs2-users mailing list
>     Ocfs2-users at oss.oracle.com <mailto:Ocfs2-users at oss.oracle.com>
>     http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>

-- 

Alexander Nagel
E-mail: alexander at acwn.de
Homepage:
http://www.acwn.de/
http://www.standspur-kadaver.de/



More information about the Ocfs2-users mailing list