The biggest difference in metadata usage between ocfs and ocfs2 would be
the journal. We use larger journals in ocfs2 (for performance). Also,
we use a default of 4 slots, which may be more than you require. If so,
reduce.
The other thing would be clustersize. If the volume only has large files,
then this will not be an issue. If, however, you have many small files
and are using a large clustersize, reduce cs.
To see the journal sizes, do:
$ debugfs.ocfs2 -R "ls -l //" /dev/sdX
To see the clustersize/numslots, do:
$ tunefs.ocfs2 -Q "Clustersize=%T, Slots=%N\n" /dev/sdX
For more, refer:
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#FORMAT
Sunil
Mehmet Can ?NAL wrote:>
> Hi all,
>
>
>
> I am trying to migrate my system to ocfs2 and i am testing the methods
> recommended from oracle. I tried fscat tool to migrate (copy) my ocfs
> data to another ocfs2 formatted disk. The copying processes is
> terminated because of not enough space.
>
> My source disk ora1 is 250 GB total space and 536 MB is free for
> usage. I have clone of this source disk (using EMC storages) and I
> tried to fscp from this clone. My destination disk is 250 GB total
> space and as I see copying process is terminated because of not enough
> space. I checked what is copied or not and I see not copied part is
> not too small.
>
>
>
> I want to ask
>
> - Is this a special case for fscat (fscp) or is data extended while
> migration from ocfs to ocfs2?
>
> - do you know another method for migration apart from fscat and
> backup/restore methods?
>
>
>
> Thanx
>
>
>
> ?yi ?al??malar
>
>
>
> Mehmet Can ?NAL
>
> Sistem Uzman Yard?mc?s?
>
> Merkezi Sistem Y?netimi M?d?rl???
>
>
>
> Eski?ehir Yolu 4.Km. 2.Cad. No:63 C Blok
>
> S???t?z? 06520 ANKARA
>
> Tel : 312 289 1053
>
> Voip : 6432
>
> Faks : 312 2891450
>
> mconal@fintek.com.tr <mailto:mconal@fintek.com.tr>
>
>
>
> ------------------------------------------------------------------------
>
> Bu elektronik posta ve ekleri sadece adreste belirtilen kisi veya
> kurulusun kullanimi icin gonderilmektedir. Bu mesaj tarafiniza
> yanlislikla ulasirsa, lutfen gonderen kisiyi bilgilendiriniz ve mesaji
> sisteminizden siliniz. Mesajda ve eklerinde yer alan bilgilerin her ne
> sekilde olursa olsun ucuncu kisiler ile paylasilmasi hukuki ve cezai
> sorumluluk dogurabilir.Fintek A.S.'nin bu mesaj ve eklerinin icerigi
> ve yayimi ile ilgili hicbir sorumlulugu bulunmamaktadir.
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users