[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: corrupt inode



The continuation, as promised:

Most of the problematic files had something to do with Maildirs. I have a
script that runs daily and checks the home directory usage. We don't have
quotas but like to monitor home directory space consumption. My script
e-mailled me this (and this is how I found out about the problem):

On Mon, 6 Aug 2001 at 14:01, Cron Daemon wrote:
> du: `/home/jay/Maildir/shared-folders/HylaFAX/Processed/cur/996213125.18801_0.gusi,S=81858:2,': No such file
> or directory
> du: `/home/jay/Maildir/.Sent Mail/cur/996213085.18763_0.gusi,S=82442:2,S': No such file or directory
> du: `/home/jijo/documents-tlc/home-snoop/ellaine/.profile/History/History.IE5/MSHist012001072720010728': No
> such file or directory
> du: `/home/jijo/Maildir/.local PLUG/cur/996164084.11790_0.gusi,S=3380:2,S': No such file or directory
> du: `/home/jijo/Maildir/.local PLUG/cur/996226707.21320_0.gusi,S=4731:2,S': No such file or directory

And the list goes on and on and on with Maildir entries and some MSIE
cache stuff. Thank God this is not our Samba data repository. Mail is
critical but I can live with losses.

I am using Linux kernel 2.4.7 that was made from a CVS snapshot dated
20010726. I have not yet upgraded the server's kernel to the latest CVS,
although two of my Linux workstations are running 2.4.8-pre2. I'd rather
not risk it further. I'm hoping there aren't any major issues with the CVS
copy as of my snapshot date. This was running pretty smoothly until now.
Maybe it has something to do with the 3ware controller? I hope not.

Another observation: I cannot unmount any mounted XFS partition. None of
them (I have five). I did an "lsof /home" and nothing was shown. What
could be wrong?

Some other things that may be related:
 o Debian unstable
 o devfsd_1.3.11-7
 o xfsprogs_1.3.3-0
 o nfs-kernel-server_0.3.2-2

Results of "df -i":
Filesystem	Inodes		IUsed	IFree		IUse%	Mounted on
/dev/sda6	3421760		48686	3373074		2%	/
/dev/sda1	2000		22	1978		2%	/boot
/dev/sda8	2674752		15040	2659712		1%	/var
/dev/sda11	4996160		59015	4937145		2%	/home
/dev/sda10	56484480	49359	56435121	1%	/opt/data
/dev/sda9	20000832	452	20000380	1%	/var/lib/postgres
/dev/sda7	4294967295	0	4294967295	0%	/var/spool/squid

My fstab:
/dev/sda6	/			xfs	rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync	0 0
/dev/sda1	/boot			ext2	rw							0 2
/dev/sda8	/var			xfs	rw,noatime,nodiratime,logbufs=8,biosize=16		0 0
/dev/sda11	/home			xfs	rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync	0 0
/dev/sda10	/opt/data		xfs	rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync	0 0
/dev/sda9	/var/lib/postgres	xfs	rw,noatime,nodiratime,logbufs=8,biosize=16,osyncisdsync	0 0
/dev/sda7	/var/spool/squid	reiserfs	rw,noatime,nodiratime,notail	0 0
/dev/sda5	none			swap	sw			0 0
proc		/proc			proc	defaults		0 0

All XFS partitions built with "-l size=32768b".

 --> Jijo

--
Federico Sevilla III  :: jijo@leathercollection.ph
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://www.leathercollection.ph/jijo.gpg>