已安装 NFS 设备上的“设备上没有剩余空间”

Rom*_*aza 2 linux network-attached-storage nfs amazon-ec2

在 NFS 服务器上:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/xvdf2           103212320  85090308  12879132  87% /export18
Run Code Online (Sandbox Code Playgroud)

在客户端服务器上:

ip-xxxxxxxx.ap-northeast-1.compute.internal:/export18
                 103212320  85090304  12879136  87% /export18
Run Code Online (Sandbox Code Playgroud)

但是,如果我尝试创建文件,则会收到以下消息:

touch: cannot touch `/export18/test': No space left on device
Run Code Online (Sandbox Code Playgroud)

我已经卸载了卷并在其上运行 fsck:

fsck -t ext3 /dev/xvdf2
fsck from util-linux-ng 2.17.2
e2fsck 1.41.14 (22-Dec-2010)
/dev/xvdf2 has gone 484 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/xvdf2: 6553600/6553600 files (4.8% non-contiguous), 21683897/26214400 blocks
Run Code Online (Sandbox Code Playgroud)

可能非连续的 4.8% 有点高,但是...仍然无法写入。

问题:如果只使用了 %87,则无法写入卷的原因可能是什么?

编辑:

Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/xvdf2           6553600 6553600       0  100% /export18
Run Code Online (Sandbox Code Playgroud)

Gev*_*ial 5

您可能用完了 inode。请检查df -iNFS 服务器。