[Linux-cluster] R: nfs cluster, problem with delete file in the failover case
J. Bruce Fields
bfields at fieldses.org
Wed May 13 15:45:19 UTC 2015
On Wed, May 13, 2015 at 01:06:17PM +0200, sella gianpietro wrote:
> this is the inodes number in the exported folder of the volume
> in the server before write file in the client:
>
> [root at cld-blu-13 nova]# du --inodes
> 2 .
>
> this is the used block:
>
> [root at cld-blu-13 nova]# df -T
> Filesystem Type 1K-blocks Used Available
> Use% Mounted on
> /dev/mapper/nfsclustervg-nfsclusterlv xfs 1152878588 33000 1152845588
> 1% /nfscluster
>
> after write file in the client with umount/mount during writing:
>
> [root at cld-blu-13 nova]# du --inodes
> 3 .
>
> [root at cld-blu-13 nova]# df -T
> Filesystem Type 1K-blocks Used
> Available Use% Mounted on
> /dev/mapper/nfsclustervg-nfsclusterlv xfs 1152878588 21004520
> 1131874068 2% /nfscluster
>
> thi is correct.
> now delete file:
>
> [root at cld-blu-13 nova]# du --inodes
> 2 .
>
> the number of the inodes is correct (from 3 to 2).
>
> [root at cld-blu-13 nova]# df -T
> Filesystem Type 1K-blocks Used
> Available Use% Mounted on
> /dev/mapper/nfsclustervg-nfsclusterlv xfs 1152878588 21004520
> 1131874068 2% /nfscluster
>
> the number of used block is not correct.
> Do not return to initial value 33000
If you try "df -i", you'll probably also find that it gives the "wrong"
result. (So, probably 3 inodes, though "du --inodes" is still only
finding 2).
--b.
More information about the Linux-cluster
mailing list