Here's the situation: * I have two boxes using OCFS2 * One was is running Ubuntu Dapper, and the other is running Ubuntu Gutsy (upgraded from Dapper) * modinfo ocfs2 on both boxes lists version number: 1.3.3 My questions: * It's possible to mount an ocfs2 filesystem across a gutsy box and a dapper box at the same time? * Will an on disk format upgrade that needs to take place? I think it should mount and no format upgrade will take place, but I would like to be sure. Thanks, -Eric
OCFS2 is always backward compatible as far as the on-disk format goes. So no issue on that front. However, the net protocol has changed. So you will not be able to mount it concurrently on kernels 2.6.15 (dapper) and 2.6.22 (gutsy). Sunil Eric Ross wrote:> Here's the situation: > > * I have two boxes using OCFS2 > > * One was is running Ubuntu Dapper, and the other is running Ubuntu > Gutsy (upgraded from Dapper) > > * modinfo ocfs2 on both boxes lists version number: 1.3.3 > > > My questions: > > * It's possible to mount an ocfs2 filesystem across a gutsy box and a > dapper box at the same time? > > * Will an on disk format upgrade that needs to take place? > > > I think it should mount and no format upgrade will take place, but I > would like to be sure. > > Thanks, > -Eric > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
On Fri, Dec 14, 2007 at 11:55:50AM -0600, Eric Ross wrote:> * One was is running Ubuntu Dapper, and the other is running Ubuntu Gutsy > (upgraded from Dapper) > > * modinfo ocfs2 on both boxes lists version number: 1.3.3What kernel versions are those machines running?> My questions: > > * It's possible to mount an ocfs2 filesystem across a gutsy box and a > dapper box at the same time?There's a network protocol version which occasionally gets bumped if there's protocl-related bug fixes or new features added. So long as your two Ocfs2 versions speak the same protocol, you should be fine. If they speak different ones, you'll get a message to the console indicating so when the 2nd node fails to mount. The other thing that may prevent a mount is if heartbeat/network timeouts are different on the nodes, but that's easily fixed by just setting the timeouts consistently accross the cluster.> * Will an on disk format upgrade that needs to take place?The only time you should ever have to upgrade your disk format is to get access to new features. All new versions of Ocfs2 know how to read and write all old versions of the disk format. --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com