Re: [Ocfs2-users] [Ocfs2-devel] size increase

2015-03-17 Thread Sunil Mushran
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 umarz...@gmail.com wrote:

 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 xuejiu...@huawei.com:
  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
 

 ___
 Ocfs2-users mailing list
 Ocfs2-users@oss.oracle.com
 https://oss.oracle.com/mailman/listinfo/ocfs2-users

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users

Re: [Ocfs2-users] size increase

2015-03-17 Thread Zhen Ren
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


 
 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 
 Ocfs2-users@oss.oracle.com 
 https://oss.oracle.com/mailman/listinfo/ocfs2-users 
  
  



___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] [Ocfs2-devel] size increase

2015-03-17 Thread Umarzuki Mochlis
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 xuejiu...@huawei.com:
 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


___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] size increase

2015-03-17 Thread Umarzuki Mochlis
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 z...@suse.com:
 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


___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users


[Ocfs2-users] size increase

2015-03-17 Thread Umarzuki Mochlis
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
Ocfs2-users@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-users