[Ocfs2-users] re: ocfs2 filesystem and space usage?
Sunil Mushran
Sunil.Mushran at oracle.com
Fri Apr 20 10:41:34 PDT 2007
# wget http://oss.oracle.com/~smushran/.debug/scripts/stat_sysdir.sh
# chmod +x stat_sysdir.sh
# ./stat_sysdir.sh -d sdb1 >/tmp/sdb1.out
Email sdb1.out
Peter Santos wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Actually,
>
> I just found some small log files on that same file system that
> with "du" reports about 6MB, but when we removed them, they totaled 400MB.
> I'm still investigatin, but I was just concerned that ocfs2 might be slowly consuming
> space (ie memory leak).
>
> I don't think this is the case anymore, but I'll keep monitoring it closer.
>
> - -peter
>
>
>
> Peter Santos wrote:
>
>> Sunil,
>>
>> I've been reading some threads on this mailing list dating back to
>> Sep 2006 and can't seem to make head/tails about how/what is taking up
>> space in my ocfs2 filesystem. I had setup a partition /dev/sdb1 that was
>> just under 2GB. The files used by oracle crs take up about 270MB, but "df -k"
>> says that a over 1 GB of space has already been used? What is using up that space?
>>
>>
>> dbo1:/ocfs2 # df -k
>>
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/sda2 1035692 539320 443760 55% /
>> tmpfs 2019736 4 2019732 1% /dev/shm
>> /dev/sda7 15488716 12770464 1931472 87% /data
>> /dev/sda8 6071904 63992 5699468 2% /home
>> /dev/sda5 4134900 624472 3300380 16% /usr
>> /dev/sda6 4134900 298408 3626444 8% /var
>> /dev/sdb1 1959872 1039328 920544 54% /ocfs2
>>
>>
>> dbo1:/ocfs2 # du -ks
>> 283499 .
>>
>>
>> dbo1:~ # echo "ls -l //" | debugfs.ocfs2 /dev/sdb1
>> debugfs.ocfs2 1.2.1
>> 18 drwxr-xr-x 6 0 0 4096 19-Mar-2007 09:56 .
>> 18 drwxr-xr-x 6 0 0 4096 19-Mar-2007 09:56 ..
>> 19 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 bad_blocks
>> 20 -rw-r--r-- 1 0 0 851968 19-Mar-2007 09:56 global_inode_alloc
>> 21 -rw-r--r-- 1 0 0 32768 19-Mar-2007 09:56 slot_map
>> 22 -rw-r--r-- 1 0 0 1048576 19-Mar-2007 09:56 heartbeat
>> 23 -rw-r--r-- 1 0 0 2006908928 19-Mar-2007 09:56 global_bitmap
>> 24 drwxr-xr-x 2 0 0 4096 19-Mar-2007 09:56 orphan_dir:0000
>> 25 drwxr-xr-x 2 0 0 4096 19-Mar-2007 09:56 orphan_dir:0001
>> 26 drwxr-xr-x 2 0 0 4096 19-Mar-2007 09:56 orphan_dir:0002
>> 27 drwxr-xr-x 2 0 0 4096 19-Mar-2007 09:56 orphan_dir:0003
>> 28 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 extent_alloc:0000
>> 29 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 extent_alloc:0001
>> 30 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 extent_alloc:0002
>> 31 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 extent_alloc:0003
>> 32 -rw-r--r-- 1 0 0 20971520 19-Mar-2007 09:56 inode_alloc:0000
>> 33 -rw-r--r-- 1 0 0 20971520 19-Mar-2007 09:56 inode_alloc:0001
>> 34 -rw-r--r-- 1 0 0 20971520 19-Mar-2007 09:56 inode_alloc:0002
>> 35 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 inode_alloc:0003
>> 36 -rw-r--r-- 1 0 0 67108864 19-Mar-2007 09:56 journal:0000
>> 37 -rw-r--r-- 1 0 0 67108864 19-Mar-2007 09:56 journal:0001
>> 38 -rw-r--r-- 1 0 0 67108864 19-Mar-2007 09:56 journal:0002
>> 39 -rw-r--r-- 1 0 0 67108864 19-Mar-2007 09:56 journal:0003
>> 40 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 local_alloc:0000
>> 41 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 local_alloc:0001
>> 42 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 local_alloc:0002
>> 43 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 local_alloc:0003
>> 44 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 truncate_log:0000
>> 45 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 truncate_log:0001
>> 46 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 truncate_log:0002
>> 47 -rw-r--r-- 1 0 0 0 19-Mar-2007 09:56 truncate_log:0003
>>
>>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGKMA8oyy5QBCjoT0RAq5pAJ0eXqL/0Q4IXKhOM17quj2AxHsCPQCfdmU+
> tRda0qyd1dzFtipOZ7aRhXQ=
> =FRyy
> -----END PGP SIGNATURE-----
>
More information about the Ocfs2-users
mailing list