<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
See the <a
href="https://oss.oracle.com/projects/ocfs2/dist/documentation/v1.2/ocfs2_faq.html">ocfs2
FAQ</a> - point #32 explains cluster size (the "-C 128K" parameter
in your mkfs.ocfs2), hence the 128k file size of smaller files. The
FAQ was written for OCFS2 1.2, but is still largely correct for 1.8.<br>
See also the <a
href="https://oss.oracle.com/projects/ocfs2/dist/documentation/v1.8/ocfs2-1_8_2-manpages.pdf">man
pages</a> for 1.8.<br>
<br>
Note that extN filesystems only allow sharing via NFS. I assume you
use ocfs2 because you want the benefits of a cluster filesystem.<br>
<br>
Regards,<br>
Richard.<br>
<br>
<div class="moz-cite-prefix">On 18/03/2015 19:00,
<a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users-request@oss.oracle.com">ocfs2-users-request@oss.oracle.com</a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.1.1426705207.16976.ocfs2-users@oss.oracle.com"
type="cite">
<pre wrap="">Send Ocfs2-users mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a>
To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="https://oss.oracle.com/mailman/listinfo/ocfs2-users">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users-request@oss.oracle.com">ocfs2-users-request@oss.oracle.com</a>
You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users-owner@oss.oracle.com">ocfs2-users-owner@oss.oracle.com</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ocfs2-users digest..."
Today's Topics:
1. Re: size increase (Zhen Ren)
2. Re: size increase (Umarzuki Mochlis)
3. Re: [Ocfs2-devel] size increase (Umarzuki Mochlis)
4. Re: [Ocfs2-devel] size increase (Sunil Mushran)
----------------------------------------------------------------------
Message: 1
Date: Tue, 17 Mar 2015 20:05:20 -0600
From: "Zhen Ren" <a class="moz-txt-link-rfc2396E" href="mailto:zren@suse.com"><zren@suse.com></a>
Subject: Re: [Ocfs2-users] size increase
To: "Umarzuki Mochlis" <a class="moz-txt-link-rfc2396E" href="mailto:umarzuki@gmail.com"><umarzuki@gmail.com></a>,
        <a class="moz-txt-link-rfc2396E" href="mailto:ocfs2-devel@oss.oracle.com"><ocfs2-devel@oss.oracle.com></a>,        <a class="moz-txt-link-rfc2396E" href="mailto:ocfs2-users@oss.oracle.com"><ocfs2-users@oss.oracle.com></a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:55094DE0020000D400003494@relay2.provo.novell.com"><55094DE0020000D400003494@relay2.provo.novell.com></a>
Content-Type: text/plain; charset=US-ASCII
Hi Umarzuki,
1) Does it always occur, or sometime?
2) Could you give more info to reproduce this issue?
3) And could you have a try on ext3? Frankly,most of suse people (if I don't make a mistake) use ext3.
Also,I add the devel mail list. Hope experts there can help.
--
Best regards,
Eric, Ren
HA team, SUSE
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
</blockquote>
<pre wrap="">I noticed a few folders copied over from ext4 partition to ocfs2
partition increased it total size to more than double.
Any document explaining this that I could refer to?
_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="https://oss.oracle.com/mailman/listinfo/ocfs2-users">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
</pre>
</blockquote>
<pre wrap="">
------------------------------
Message: 2
Date: Wed, 18 Mar 2015 10:50:24 +0800
From: Umarzuki Mochlis <a class="moz-txt-link-rfc2396E" href="mailto:umarzuki@gmail.com"><umarzuki@gmail.com></a>
Subject: Re: [Ocfs2-users] size increase
To: Zhen Ren <a class="moz-txt-link-rfc2396E" href="mailto:zren@suse.com"><zren@suse.com></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a>, <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAHW9mbxD7DhZt=eed50WJ4UNSHkRXjxdAXHG_8COsFCQUJWJMQ@mail.gmail.com"><CAHW9mbxD7DhZt=eed50WJ4UNSHkRXjxdAXHG_8COsFCQUJWJMQ@mail.gmail.com></a>
Content-Type: text/plain; charset=UTF-8
1) yes
even 36K text html file in ext4 became 128K inside ocfs2
2) I installed ocfs-tools on Ubuntu 14.04 amd64
A LUN added to a newly created LVM group, so no other physical volume
added other than this one and formatted as ocfs2 with below command
sudo mkfs.ocfs2 -b 4K -C 128K -L "Web Cluster" /dev/webvg/weblv
/dev/webvg/weblv mounted on /var/www
I'll check with ext3 later
2015-03-18 10:05 GMT+08:00 Zhen Ren <a class="moz-txt-link-rfc2396E" href="mailto:zren@suse.com"><zren@suse.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Umarzuki,
1) Does it always occur, or sometime?
2) Could you give more info to reproduce this issue?
3) And could you have a try on ext3? Frankly,most of suse people (if I don't make a mistake) use ext3.
Also,I add the devel mail list. Hope experts there can help.
--
Best regards,
Eric, Ren
HA team, SUSE
</pre>
</blockquote>
<pre wrap="">
------------------------------
Message: 3
Date: Wed, 18 Mar 2015 11:03:32 +0800
From: Umarzuki Mochlis <a class="moz-txt-link-rfc2396E" href="mailto:umarzuki@gmail.com"><umarzuki@gmail.com></a>
Subject: Re: [Ocfs2-users] [Ocfs2-devel] size increase
To: <a class="moz-txt-link-abbreviated" href="mailto:xuejiufei@huawei.com">xuejiufei@huawei.com</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a>, <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAHW9mbx73AuENu-CQo++2kxBOR+HMv_GLr-taxbRjFHp6syboQ@mail.gmail.com"><CAHW9mbx73AuENu-CQo++2kxBOR+HMv_GLr-taxbRjFHp6syboQ@mail.gmail.com></a>
Content-Type: text/plain; charset=UTF-8
Hi,
What I meant by total size is output of 'du -hs'
I can see output of fdisk on mpath1 of ocfs2 LUN similar to logical
volume of ext4 partition (255 head & 63 sectors)
It is a 2 nodes ocfs cluster.
2015-03-18 10:50 GMT+08:00 Xue jiufei <a class="moz-txt-link-rfc2396E" href="mailto:xuejiufei@huawei.com"><xuejiufei@huawei.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Umarzuki,
What is the meaning of total size, file size or disk usage?
If you means the disk usage, I think maybe the difference of
cluster size(the minimum allocation unit) is the case.
Have you notice the cluster size or block size of your ocfs2
and ext4 filesystem?
Thanks,
Xuejiufei
</pre>
</blockquote>
<pre wrap="">
------------------------------
Message: 4
Date: Tue, 17 Mar 2015 20:26:49 -0700
From: Sunil Mushran <a class="moz-txt-link-rfc2396E" href="mailto:sunil.mushran@gmail.com"><sunil.mushran@gmail.com></a>
Subject: Re: [Ocfs2-users] [Ocfs2-devel] size increase
To: Umarzuki Mochlis <a class="moz-txt-link-rfc2396E" href="mailto:umarzuki@gmail.com"><umarzuki@gmail.com></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:xuejiufei@huawei.com">xuejiufei@huawei.com</a>, <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a>,
        <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-devel@oss.oracle.com">ocfs2-devel@oss.oracle.com</a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAEeiSHX-U+t+5j218FF58gEujpf4rDJLs4ipr1XbUhPptN0RyA@mail.gmail.com"><CAEeiSHX-U+t+5j218FF58gEujpf4rDJLs4ipr1XbUhPptN0RyA@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"
This is because you are specifying a 128k cluster size. Refer to man
mkfs.ocfs2 for more.
On Mar 17, 2015 8:04 PM, "Umarzuki Mochlis" <a class="moz-txt-link-rfc2396E" href="mailto:umarzuki@gmail.com"><umarzuki@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
What I meant by total size is output of 'du -hs'
I can see output of fdisk on mpath1 of ocfs2 LUN similar to logical
volume of ext4 partition (255 head & 63 sectors)
It is a 2 nodes ocfs cluster.
2015-03-18 10:50 GMT+08:00 Xue jiufei <a class="moz-txt-link-rfc2396E" href="mailto:xuejiufei@huawei.com"><xuejiufei@huawei.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Umarzuki,
What is the meaning of total size, file size or disk usage?
If you means the disk usage, I think maybe the difference of
cluster size(the minimum allocation unit) is the case.
Have you notice the cluster size or block size of your ocfs2
and ext4 filesystem?
Thanks,
Xuejiufei
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="https://oss.oracle.com/mailman/listinfo/ocfs2-users">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
</pre>
</blockquote>
<pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-freetext" href="http://oss.oracle.com/pipermail/ocfs2-users/attachments/20150317/3ead2592/attachment-0001.html">http://oss.oracle.com/pipermail/ocfs2-users/attachments/20150317/3ead2592/attachment-0001.html</a>
------------------------------
_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="https://oss.oracle.com/mailman/listinfo/ocfs2-users">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
End of Ocfs2-users Digest, Vol 132, Issue 3
*******************************************
</pre>
</blockquote>
<br>
</body>
</html>