> Hi,
>
> I have been running the 1.0 release for some time, with the 2.4.3 kernel,
> and all partitions formatted to xfs (except /boot since I'm using grub, not
> lilo).
>
> While upgrading to the 2.4.6 patch, and trying to delete the old source
> tree, I came across this:
> root@pyre[/usr/src]# rm -rf linux-2.4.3-XFS/
> rm: cannot remove directory inux-2.4.3-XFS/fs/cramfs': Directory not empty
> rm: cannot remove directory inux-2.4.3-XFS/fs': Directory not empty
> rm: cannot remove directory inux-2.4.3-XFS': Directory not empty
> root@pyre[/usr/src]# ls -al linux-2.4.3-XFS/fs/cramfs/
> total 0
> drwxr-xr-x 3 root root 110 May 24 20:48 .
>
> It appers to be empty, yet it cannot be removed.
Unmount the filesystem and run xfs_repair -n on the device, then send me
the output. You should really be seeing a .. link for that ls output. I
have been chasing something which might be related for a few days
now.
>
> I have since upgraded to 2.4.6-XFS, but I am still unable to delete the
> files.
>
> Another thing I noticed with both kernels is that the output of the "free"
> command always shows "buffers" as either 4 or 8.
> ie.
> pyre[~]# free
> total used free shared buffers cached
> Mem: 255580 251312 4268 0 4 214100
> -/+ buffers/cache: 37208 218372
> Swap: 789216 132180 657036
>
> Is this normal? Does the XFS kernel not use buffers, or, is the output just
> wrong?
This buffer count does not reflect buffers used for file data, just the
block device cache - which xfs does not use. If you run a mkfs or
xfs_repair type operation on the block device you will see the numbers
go up. You are seeing normal values here, my box currently looks like
this:
total used free shared buffers cached
Mem: 254140 250852 3288 0 0 172736
-/+ buffers/cache: 78116 176024
Swap: 265064 50360 214704
Steve
>
> Thanks,
>
> Norbert
|