[Ocfs2-users] re: ocfs2 filesystem and space usage?

Peter Santos psantos at cheetahmail.com
Fri Apr 20 06:11:00 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKLvkoyy5QBCjoT0RAiYFAKCIs3OfKDbgWAORLU+//wXA5+imtQCeJPzY
Fo5l4AauA3bcK8io3x5qupM=
=9bt7
-----END PGP SIGNATURE-----



More information about the Ocfs2-users mailing list