Do ls -l and get the actual size in bytes (and not in GB). The sizes
should be
exactly the same.
The link posted answers your questions regarding slots and cs.
Mehmet Can ÖNAL wrote:
Could you explain more about cluster sizes and number of slots? Also their
effects to sizes? I know not much about them so it's hard to understand the
effect for me :)
Another point that i want to mention is we "fscp" 250GB ocfs volume to another
250GB ocfs2 volume that is terminated. When look at the copied parts i see that we lost
nearly 8GB, the data is grown 8GB. Every 30GB datafile is become 31GB datafile in ocfs2.
What is this 8GB stand for? Is it all journal?
Thanx for your time
İ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
[EMAIL PROTECTED]
-----Original Message-----
From: Sunil Mushran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 27, 2008 8:16 PM
To: Mehmet Can ÖNAL
Cc: [email protected]
Subject: Re: [Ocfs2-users] ocfs2 migration
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
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
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
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users
_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users