[Ocfs-users] ocfs doesn't free space?

Andreas Piesk andreas.piesk at voeb-zvd.de
Wed Sep 1 06:14:00 CDT 2004


an ocfs-volume was nearly full (only 800MB free). i deleted some 
datafiles to free space:

$ df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdp1              10G  5.3G  4.8G  53% /db/DPS

so there are more than 4GB available.

$ sqlplus /nolog

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Sep 1 12:57:48 2004

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

SQL> connect / as sysdba;
Connected.
SQL> create tablespace data_dp
   datafile '/db/DPS/tablespaces/dp/data01.dbf'
     size 999m autoextend on
   segment space management auto;
create tablespace data_dp
*
ERROR at line 1:
ORA-01119: error in creating database file 
'/db/DPS/tablespaces/dp/data01.dbf'
ORA-27044: unable to write the header block of file
Linux Error: 28: No space left on device
Additional information: 3


what could be the reason for this error? looks like ocfs doesn't free 
the space from the deleted files. ocfs is mounted on 1 node only.

# fsck.ocfs -n /dev/sdp1
fsck.ocfs 1.1.2-PROD1 Fri Apr  2 14:04:10 PST 2004 (build 
2df841d19c031db220f8cfb73439339d)
/dev/sdp1: clean, 282 objects, 5344/10234 blocks

what are these 282 objects? the volume contains only 26 dirs/files:

# debugocfs -l /dev/sdp1
debugocfs 1.1.2-PROD1 Fri Apr  2 14:04:05 PST 2004 (build 
fcb0206676afe0fcac47a99c90de0e7b)
filelisting:
         File1 = /tablespaces/
         File2 = /tablespaces/vbv/
         File3 = /tablespaces/undo2_01.dbf
         File4 = /tablespaces/undo1_01.dbf
         File5 = /tablespaces/tools01.dbf
         File6 = /tablespaces/temp01.dbf
         File7 = /tablespaces/system01.dbf
         File8 = /tablespaces/dp/
         File9 = /tablespaces/dp/idx01.dbf
         File10 = /tablespaces/abo/
         File11 = /spfileDPS.ora
         File12 = /redologs2/
         File13 = /redologs2/log6a.rdo
         File14 = /redologs2/log5a.rdo
         File15 = /redologs2/log4a.rdo
         File16 = /redologs2/archive/
         File17 = /redologs1/
         File18 = /redologs1/log3a.rdo
         File19 = /redologs1/log2a.rdo
         File20 = /redologs1/log1a.rdo
         File21 = /redologs1/archive/
         File22 = /orapwDPS
         File23 = /mirror/
         File24 = /control02a.ctl
         File25 = /control01a.ctl
         File26 = /backup/


Any advices?


best,

-ap

-- 
Andreas Piesk
Systemadministration E-/M-Commerce
--------------------------------------------------------------
VÖB-ZVD
Bank für Zahlungsverkehrsdienstleistungen GmbH
Godesberger Allee 88

53175 Bonn

Tel.: +49 (0) 228 9377-535
Fax:  +49 (0) 228 9377-596
E-Mail: andreas.piesk at voeb-zvd.de
Internet: http://www.voeb-zvd.de


More information about the Ocfs-users mailing list