# 挂载卷 "pvc-xxx" 失败：rpc 错误：代码 = 内部描述 = 挂载失败：退出状态 32

- **ID:** `kubernetes/failed-to-mount-volume`
- **领域:** kubernetes
- **类别:** runtime_error
- **错误码:** `ExitStatus32`
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

CSI 驱动程序或节点文件系统无法挂载持久卷，通常是由于文件系统类型不正确、磁盘损坏或节点上缺少挂载工具。

## 解决方案

1. ```
   Check the node's filesystem and repair it: ssh to the node and run 'sudo fsck -y /dev/<device>' or 'sudo xfs_repair /dev/<device>' if using XFS.
   ```
2. ```
   Ensure the 'nfs-common' or 'cifs-utils' package is installed on the node: 'sudo apt-get install -y nfs-common' for NFS volumes.
   ```

## 无效尝试

- **Restart the kubelet service on the node** — Kubelet restart doesn't repair underlying filesystem issues or CSI driver bugs; the mount operation still fails. (80% 失败率)
- **Delete and recreate the PersistentVolumeClaim** — The PVC is bound to a specific PV; recreating it doesn't fix the node-level mount failure unless the underlying volume is repaired. (70% 失败率)
