[Ocfs2-users] allow only one node to mount

Wilfredo Ocasio Wilfredo_Ocasio at ncci.com
Tue Oct 27 12:45:20 PDT 2009


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: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of Guy
Sent: Tuesday, October 27, 2009 10:48 AM
To: ocfs2-users at oss.oracle.com
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.



More information about the Ocfs2-users mailing list