You cannot. ocfs2 works in a fully clustered mode (write-able on
all nodes) or a local mode (like ext3). There is no active/passive mode.

Wilfredo Ocasio wrote:
> How (in heartbeat) can I specify only one node at any one time can mount 
> OCFS2, in a active / passive 2 node configuration?
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Guy
> Sent: Tuesday, October 27, 2009 10:48 AM
> To: [email protected]
> Subject: [Ocfs2-users] Space not reclaimed after deletion of files.
>
> Hi,
>
> I've got two machines connecting to an ocfs2 filesystem on an iSCSI target 
> provided by our hosting company (the iSCSI target is on an HP SAN). After a 
> bit of usage any deleted files disappear, but checking the usage with "df" 
> shows that space is not being reclaimed.
> I've unmounted the partition from both nodes and run "fsck.ocfs2 -fy 
> /dev/sdb1" which found a whole lot of orphaned inodes which is apparently 
> fixed.
> Remounting showed that the space still was not reclaimed. I did some testing 
> to see whether the information supplied by "df" was simply incorrect, but 
> once the partition showed as full I could not write anything more to it.
>
> After the weekend I tried to remount the full partition and had the attached 
> kernel errors splash across the screen. I had to power cycle the server 
> through the hosting company's interface to get it responsive again. I then 
> had to do a mkfs.ocfs2 to be able to mount the partition without those kernel 
> errors.
>
> OS: Ubuntu 9.04 (Jaunty)
> ocfs2: 1.5.0 (from "modinfo ocfs2")
> ocfs2-tools: 1.3.9-0ubuntu3
>
> Is there any more information I can provide that might help with this?
>
> Thanks
> Guy
>
> --
> Don't just do something...sit there!
>
> The information contained in this e-mail message is intended only for the 
> personal and confidential use of the recipient(s) named above. This message 
> may be an attorney-client communication and/or work product and as such is 
> privileged and confidential. If the reader of this message is not the 
> intended recipient or an agent responsible for delivering it to the intended 
> recipient, you are hereby notified that you have received this document in 
> error and that any review, dissemination, distribution, or copying of this 
> message is strictly prohibited. If you have received this communication in 
> error, please notify us immediately by e-mail, and delete the original 
> message.
>
> _______________________________________________
> Ocfs2-users mailing list
> [email protected]
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   


_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to