FAQ and troubleshooting
This page provides answers to common questions and troubleshooting steps for Remote Block Storage (RBS).
FAQ
How to view files on an RBS volume
RBS provides block storage and does not provide a file browser in the Customer Portal. To view files stored on a volume, access the file system through a workload that uses the volume.
For example, to list files in a volume mounted at /data:
kubectl exec <POD_NAME> -- ls -la /dataTo view the contents of a file:
kubectl exec <POD_NAME> -- cat /data/<FILE_NAME>Does RBS back up my data?
No. RBS does not provide snapshots or backups. Data redundancy in the storage cluster protects against hardware failures, but it does not protect against accidental deletion or data corruption. You are responsible for backing up your data. See Data redundancy and protection.
How to identify the RBS volume associated with a PVC
First, get the PersistentVolume (PV) associated with the PersistentVolumeClaim (PVC):
kubectl get pvc <PVC_NAME>The VOLUME column contains the PV name.
To view information about the PV, run:
kubectl get pv <PV_NAME> -o yamlFor an RBS volume, the spec.csi section contains the RBS volume ID and name:
spec:
csi:
driver: rbs.csi.servers.com
volumeAttributes:
rbs.csi.servers.com/rbs-volume-id: <RBS_VOLUME_ID>
rbs.csi.servers.com/rbs-volume-name: <RBS_VOLUME_NAME>
volumeHandle: <RBS_VOLUME_ID>Use the volume ID or name to identify the corresponding volume in the Customer Portal.
[To verify: the attribute names in volumeAttributes. A PV created manually for a test used the keys volume-id, flavor-id, location-id, ip-address, and target-iqn.]
What happens to an existing RBS volume when I delete its PVC and PV?
When you use an existing RBS volume as a static PV, the PV is configured with the Retain reclaim policy.
Deleting the PVC releases the PV but does not delete the RBS volume or its data. You can then delete the PV from Kubernetes without affecting the RBS volume.
The RBS volume remains available in the Customer Portal and can be used again when needed.
Troubleshooting
Why does a PVC remain in the Pending state?
An RBS PVC may temporarily remain in the Pending state when the StorageClass uses the WaitForFirstConsumer volume binding mode.
In this mode, Kubernetes waits until a workload uses the PVC before provisioning the RBS volume.
Check the PVC:
kubectl describe pvc <PVC_NAME>If Kubernetes is waiting for a workload, the events include a WaitForFirstConsumer message.
Create a workload that uses the PVC, and then check its status again:
kubectl get pvc <PVC_NAME>After the RBS volume is provisioned, the PVC changes to the Bound state.
Why does a PVC remain Pending after a workload starts using it?
If the PVC remains in the Pending state after a workload starts using it, check the PVC events:
kubectl describe pvc <PVC_NAME>Review the Events section for provisioning errors.
You can also check the RBS Container Storage Interface (CSI) provisioner logs. First, find the CSI controller Pod:
kubectl get pods -n kube-system | grep rbs-csi-controllerThen check the provisioner logs:
kubectl logs -n kube-system <CSI_CONTROLLER_POD_NAME> -c csi-provisionerThe logs contain information about volume provisioning attempts and errors.
Why does a Pod remain in ContainerCreating when using an existing RBS volume?
When you use an existing RBS volume as a static PV, a Pod may remain in the ContainerCreating state while Kubernetes connects and mounts the volume over Internet Small Computer Systems Interface (iSCSI).
Check the Pod events:
kubectl describe pod <POD_NAME>If the volume was attached successfully, the events include SuccessfulAttachVolume.
If the Pod remains in ContainerCreating, check recent events for volume attachment, iSCSI, authentication, or mount errors:
kubectl get events --sort-by='.lastTimestamp'Why does my PVC fail with a Forbidden error?
[To verify: the cause and the fix. This error was observed when creating an RBS volume through a PVC in a Managed Kubernetes cluster. A likely cause is that the API token issued to the cluster does not allow the operation (SCD-34836). Confirm with the developers.]
How to verify that an RBS volume is mounted
To check that an RBS volume is mounted and verify its available capacity, run:
kubectl exec <POD_NAME> -- df -h <MOUNT_PATH>For example:
kubectl exec rbs-test -- df -h /dataThe output shows the device, file system size, available space, and mount path.
How to check RBS volume resize progress
After increasing the requested capacity of a dynamically provisioned volume, check the PVC:
kubectl get pvc <PVC_NAME>The CAPACITY column shows the capacity currently recognized by Kubernetes.
For more information about the resize, run:
kubectl describe pvc <PVC_NAME>The Conditions and Events sections show the volume and file system resize progress.
You can also verify the file system size from a Pod that uses the volume:
kubectl exec <POD_NAME> -- df -h <MOUNT_PATH>The resize is complete when the PVC and mounted file system show the new capacity.
Why can't I connect an existing RBS volume?
An RBS volume can be connected to only one server or Kubernetes node at a time. If the volume is already connected, you cannot connect it to another server or node.
Check whether the volume is currently connected to another server or used by a Kubernetes workload. Disconnect the volume or stop the workload that uses it before connecting the volume to another server or node.
In Kubernetes, you can check the Pod events for attachment errors:
kubectl describe pod <POD_NAME>If the volume is already connected to another node, the Events section may contain a FailedAttachVolume error.
Why does the disk not appear after I connect a volume over iSCSI?
If an RBS volume does not appear as a block device after you connect it over iSCSI, first verify that the iSCSI session is active:
iscsiadm -m sessionIf no session for the volume is listed, verify the following:
- The server has access to the Global Private Network (GPN).
- The RBS IP address, target name, username, and password match the connection details shown in the Customer Portal.
- The volume is not connected to another server or Kubernetes node.
If the iSCSI session is active, rescan the iSCSI session:
sudo iscsiadm -m session --rescanThen check whether the device appears:
lsblkWhy does iSCSI authentication fail?
RBS uses Challenge-Handshake Authentication Protocol (CHAP) authentication for iSCSI connections. If authentication fails, verify that the username and password match the credentials shown for the volume in the Customer Portal.
If you previously connected to the same iSCSI target with different credentials, the initiator may still use the stored target configuration. Check the configuration for the target in:
- Debian-based systems:
/etc/iscsi/nodes - Red Hat-based systems:
/var/lib/iscsi/nodes
Update or remove the outdated target configuration, rediscover the target, and try connecting again.
Do not manually modify the stored configuration while an active iSCSI session is using it.
Why does an RBS volume not reconnect after a server reboot?
If an RBS volume was connected directly to a server over iSCSI, verify that the iSCSI service is running after the server restarts:
systemctl status iscsidCheck whether the iSCSI session has been restored:
iscsiadm -m sessionIf the session is not listed, verify that the target is configured for automatic login and that its saved connection details are still valid.
You can inspect the saved target configuration in:
- Debian-based systems:
/etc/iscsi/nodes - Red Hat-based systems:
/var/lib/iscsi/nodes
After the iSCSI session is restored, use lsblk to verify that the block device is available.
Why is RBS volume performance lower than expected?
The specified RBS performance parameters, input/output operations per second (IOPS) and bandwidth, are based on 4 KB I/O operations with a 50/50 read/write ratio and apply when the volume and the server or Kubernetes node using it are located in the same location.
Actual performance may differ depending on the workload and network path. If the volume and the server or Kubernetes cluster are in different locations, latency may increase and IOPS and bandwidth may be lower than the specified values.
For better performance and lower latency, create the volume in the same location as the server or Kubernetes cluster.
What can I do if a volume is stuck?
[To verify: what "stuck" means in practice (for example, a volume that stays in the Publishing or Unpublishing status, or a resize that does not complete), and what the user can do before contacting Support.]
Why does my workload still show the old volume size after I resize an RBS volume?
Increasing the size of a volume does not extend the file system.
- Dynamically provisioned volume — the RBS CSI driver expands the file system after you increase the PVC size. If the size does not change, check the resize progress. See How to check RBS volume resize progress.
- Statically provisioned volume — Kubernetes does not update the PV, the PVC, or the file system. Rescan the iSCSI device and extend the file system manually. See Resize a statically provisioned volume.
- Volume connected directly to a server — extend the file system on the server. See Extend the file system on a server.
To compare the block device and file system sizes from the Pod, run:
kubectl exec <POD_NAME> -- lsblk
kubectl exec <POD_NAME> -- df -h <MOUNT_PATH>For example, lsblk may show a 30 GB block device while df still shows a 20 GB file system.