Hi Sunil, I'm looking into this thread now. Does this mean we cannot use FTP option to copy OCFS files to ext3? If so, is there any ftp version available for OCFS, similar to cp --o_direct? Also, is there any version of sync available for OCFS (in normal FS, sync does a refresh of FS from kernel cache so that the FS is consistent). By this can we say that the FS shard by both nodes is consistent? Regards, Shiva -----Original Message----- From: Shivaprasad Kambalimath Sent: Monday, August 30, 2004 1:55 PM To: Varghese Abraham Subject: RE: [Ocfs-users] Observations Varghese, This means we cannot use FTP at all. Pls ask them if there are any tools/commands to do ftp. Also ask abt options of sync (in normal FS, this does a refresh of FS from cache) if anything of that sort available for OCFS. -shiva -----Original Message----- From: Varghese Abraham Sent: Monday, August 30, 2004 1:46 PM To: Shivaprasad Kambalimath Subject: FW: [Ocfs-users] Observations -----Original Message----- From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] Sent: Monday, August 30, 2004 1:45 PM To: Varghese Abraham Cc: ocfs-users@oss.oracle.com Subject: RE: [Ocfs-users] Observations Yes. The buffer cache in kernel does not keep track of changes across the cluster. So, if node 1 has an image of the block on disk and node 2 changes that, the buffer cache in node 1 still reflects the old image. o_direct solves that as the disk always contains the current image. On Mon, 2004-08-30 at 13:31, Varghese Abraham wrote:> Hi Sunil , Wim > Thanks for your inputs. > > We are on Linux AS 2.1 kernel e38 > OCFS version > ---------------------------------- > [root@usingorcdb03 root]# rpm -qa | grep ocfs > ocfs-tools-1.0.10-1 > ocfs-2.4.9-e-enterprise-1.0.12-1 > ocfs-support-1.0.10-1 > [root@usingorcdb03 root]# > -------------------- > > > Regarding point 2, can you clarify a bit further. > > What I understand from your / wim's mail is that data blocks would bepresent somewhere in memory buffer> and when we copy / ftp , those Memory blocks are getting used. > Is my understanding right. ? > ( Should this be the case even when the database is shutdown , thatLinux would use memory buffers to do a copy /ftp. )> > R'gds > Varghese Abraham.
no sync sync dirty buffers to disk. that's all it does if you do it on ocfs it will do that as well but it doesn't do it across clusters or whatever. I guess we could invalidate all cache after a sync but.. hmm well that would not be a pretty sight On Mon, Aug 30, 2004 at 02:13:00PM -0700, Shivaprasad Kambalimath wrote:> Hi Sunil, > > I'm looking into this thread now. > > Does this mean we cannot use FTP option to copy OCFS files to ext3? If > so, is there any ftp version available for OCFS, similar to cp > --o_direct? > > Also, is there any version of sync available for OCFS (in normal FS, > sync does a refresh of FS from kernel cache so that the FS is > consistent). By this can we say that the FS shard by both nodes is > consistent? > > Regards, > Shiva > > -----Original Message----- > From: Shivaprasad Kambalimath > Sent: Monday, August 30, 2004 1:55 PM > To: Varghese Abraham > Subject: RE: [Ocfs-users] Observations > > Varghese, > > This means we cannot use FTP at all. Pls ask them if there are any > tools/commands to do ftp. > > Also ask abt options of sync (in normal FS, this does a refresh of FS > from cache) if anything of that sort available for OCFS. > > -shiva > > -----Original Message----- > From: Varghese Abraham > Sent: Monday, August 30, 2004 1:46 PM > To: Shivaprasad Kambalimath > Subject: FW: [Ocfs-users] Observations > > > > -----Original Message----- > From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] > Sent: Monday, August 30, 2004 1:45 PM > To: Varghese Abraham > Cc: ocfs-users@oss.oracle.com > Subject: RE: [Ocfs-users] Observations > > > Yes. The buffer cache in kernel does not keep track of > changes across the cluster. So, if node 1 has an image > of the block on disk and node 2 changes that, the > buffer cache in node 1 still reflects the old image. > o_direct solves that as the disk always contains the > current image. > > On Mon, 2004-08-30 at 13:31, Varghese Abraham wrote: > > Hi Sunil , Wim > > Thanks for your inputs. > > > > We are on Linux AS 2.1 kernel e38 > > OCFS version > > ---------------------------------- > > [root@usingorcdb03 root]# rpm -qa | grep ocfs > > ocfs-tools-1.0.10-1 > > ocfs-2.4.9-e-enterprise-1.0.12-1 > > ocfs-support-1.0.10-1 > > [root@usingorcdb03 root]# > > -------------------- > > > > > > Regarding point 2, can you clarify a bit further. > > > > What I understand from your / wim's mail is that data blocks would be > present somewhere in memory buffer > > and when we copy / ftp , those Memory blocks are getting used. > > Is my understanding right. ? > > ( Should this be the case even when the database is shutdown , that > Linux would use memory buffers to do a copy /ftp. ) > > > > R'gds > > Varghese Abraham. > > > > _______________________________________________ > Ocfs-users mailing list > Ocfs-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs-users
Hi Wim, Thanks for your reply. I would like to know your inputs on the FTP option. I'm not sure your first line 'no' meant for FTP or Sync. I guess it is for sync. Regards, shiva -----Original Message----- From: wim.coekaerts@oracle.com [mailto:wim.coekaerts@oracle.com] Sent: Monday, August 30, 2004 2:34 PM To: Shivaprasad Kambalimath Cc: Sunil.Mushran@oracle.com; ocfs-users@oss.oracle.com; Varghese Abraham Subject: Re: FW: [Ocfs-users] Observations no sync sync dirty buffers to disk. that's all it does if you do it on ocfs it will do that as well but it doesn't do it across clusters or whatever. I guess we could invalidate all cache after a sync but.. hmm well that would not be a pretty sight On Mon, Aug 30, 2004 at 02:13:00PM -0700, Shivaprasad Kambalimath wrote:> Hi Sunil, > > I'm looking into this thread now. > > Does this mean we cannot use FTP option to copy OCFS files to ext3? If > so, is there any ftp version available for OCFS, similar to cp > --o_direct? > > Also, is there any version of sync available for OCFS (in normal FS, > sync does a refresh of FS from kernel cache so that the FS is > consistent). By this can we say that the FS shard by both nodes is > consistent? > > Regards, > Shiva > > -----Original Message----- > From: Shivaprasad Kambalimath > Sent: Monday, August 30, 2004 1:55 PM > To: Varghese Abraham > Subject: RE: [Ocfs-users] Observations > > Varghese, > > This means we cannot use FTP at all. Pls ask them if there are any > tools/commands to do ftp. > > Also ask abt options of sync (in normal FS, this does a refresh of FS > from cache) if anything of that sort available for OCFS. > > -shiva > > -----Original Message----- > From: Varghese Abraham > Sent: Monday, August 30, 2004 1:46 PM > To: Shivaprasad Kambalimath > Subject: FW: [Ocfs-users] Observations > > > > -----Original Message----- > From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] > Sent: Monday, August 30, 2004 1:45 PM > To: Varghese Abraham > Cc: ocfs-users@oss.oracle.com > Subject: RE: [Ocfs-users] Observations > > > Yes. The buffer cache in kernel does not keep track of > changes across the cluster. So, if node 1 has an image > of the block on disk and node 2 changes that, the > buffer cache in node 1 still reflects the old image. > o_direct solves that as the disk always contains the > current image. > > On Mon, 2004-08-30 at 13:31, Varghese Abraham wrote: > > Hi Sunil , Wim > > Thanks for your inputs. > > > > We are on Linux AS 2.1 kernel e38 > > OCFS version > > ---------------------------------- > > [root@usingorcdb03 root]# rpm -qa | grep ocfs > > ocfs-tools-1.0.10-1 > > ocfs-2.4.9-e-enterprise-1.0.12-1 > > ocfs-support-1.0.10-1 > > [root@usingorcdb03 root]# > > -------------------- > > > > > > Regarding point 2, can you clarify a bit further. > > > > What I understand from your / wim's mail is that data blocks wouldbe> present somewhere in memory buffer > > and when we copy / ftp , those Memory blocks are getting used. > > Is my understanding right. ? > > ( Should this be the case even when the database is shutdown , that > Linux would use memory buffers to do a copy /ftp. ) > > > > R'gds > > Varghese Abraham. > > > > _______________________________________________ > Ocfs-users mailing list > Ocfs-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs-users