Colin.Farley@ecarecenters.com
2007-Jan-16 12:00 UTC
[Ocfs2-users] Missing over 100GB of disk space
We have a 300GB ocfs2 filesystem shared by two unbreakable linux 2.0 nodes. The filesystem is to be used to store FTP data for a Peoplesoft CRM application. Data is being rared up on the current production windows FTP server then FTPed over to the new server and unrared. After unrared the source rar file is deleted. There is a large amount of files in a few directories, some directories have near 2 million files. Problem is that we have run out of space early. "df -h" reports 18GB free when unrar reports that there is no space left on the disk. Also, doing a "du -hc ." reports that there is only 159GB used. Anyone have any ideas on how to proceed with this? I've tried unmounting the filesystem and running "fsck.ocfs2 -f /dev/sdb". Filesystem was formatted with 4k blocks 64k cluster size. Any help is greatly appreciated. Thanks, Colin Farley Network Administrator E-Care Contact Center Services Phone:(204) 940-6244 Fax:(204) 940-7394
Colin, space for files are allocated in cluster units. A 64k block is allocated even if the file is few bytes. You might want to consider lower cluster size if the file are small. thanks, --Srini Colin.Farley@ecarecenters.com wrote:> We have a 300GB ocfs2 filesystem shared by two unbreakable linux 2.0 nodes. > The filesystem is to be used to store FTP data for a Peoplesoft CRM > application. Data is being rared up on the current production windows FTP > server then FTPed over to the new server and unrared. After unrared the > source rar file is deleted. There is a large amount of files in a few > directories, some directories have near 2 million files. Problem is that > we have run out of space early. "df -h" reports 18GB free when unrar > reports that there is no space left on the disk. Also, doing a "du -hc ." > reports that there is only 159GB used. > > Anyone have any ideas on how to proceed with this? I've tried unmounting > the filesystem and running "fsck.ocfs2 -f /dev/sdb". Filesystem was > formatted with 4k blocks 64k cluster size. > > Any help is greatly appreciated. > > Thanks, > > Colin Farley > Network Administrator > E-Care Contact Center Services > Phone:(204) 940-6244 > Fax:(204) 940-7394 > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >