# Failed to mount EFS filesystem: resource temporarily unavailable

- **ID:** `cloud/gcp-cloud-run-efs-mount-missing`
- **Domain:** cloud
- **Category:** runtime_error
- **Error Code:** `EFSMountError`
- **Verification:** ai_generated
- **Fix Rate:** 78%

## Root Cause

Cloud Run service cannot mount an EFS file system because the VPC connector is misconfigured or the EFS mount target is in a different subnet without proper routing.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Cloud Run (managed) gcloud 450.0.0 | active | — | — |
| AWS EFS (via VPC connector) | active | — | — |

## Workarounds

1. **Verify the VPC connector is in the same VPC and subnet as the EFS mount target. Use `gcloud compute networks vpc-access connectors describe CONNECTOR_NAME` to check network configuration. Then ensure the EFS security group allows inbound NFS (port 2049) from the VPC connector's CIDR.** (75% success)
   ```
   Verify the VPC connector is in the same VPC and subnet as the EFS mount target. Use `gcloud compute networks vpc-access connectors describe CONNECTOR_NAME` to check network configuration. Then ensure the EFS security group allows inbound NFS (port 2049) from the VPC connector's CIDR.
   ```
2. **Add a VPC connector with a static IP range that overlaps the EFS mount target subnet. Example: `gcloud compute networks vpc-access connectors create my-connector --region us-central1 --network default --range 10.8.0.0/28`** (85% success)
   ```
   Add a VPC connector with a static IP range that overlaps the EFS mount target subnet. Example: `gcloud compute networks vpc-access connectors create my-connector --region us-central1 --network default --range 10.8.0.0/28`
   ```

## Dead Ends

- **Increase Cloud Run memory limit** — Memory limit does not affect NFS mount availability; the error is network-related. (60% fail)
- **Recreate the EFS file system** — The file system itself is healthy; the issue is in the network path between Cloud Run and EFS. (80% fail)
