--- title: Democratic CSI description: Democratic CSI implements the csi (container storage interface) spec providing storage for various container orchestration systems. hero: tagline: Democratic CSI implements the csi (container storage interface) spec providing storage for various container orchestration systems. image: file: https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/kubernetes.webp actions: - text: Source link: https://github.com/democratic-csi/democratic-csi icon: right-arrow - text: Deployment Chart link: https://gitea.alexlebens.dev/alexlebens/infrastructure/src/branch/main/clusters/cl01tl/helm/democratic-csi-synology-iscsi icon: right-arrow --- # Purpose Storage provider for iSCSI block devices from the NAS. # Notes Used for applications that need to store a lot of data, but not over the NFS connection. Examples include metrics and logging storage. # Issues ## Resizing the Prometheus disk There is an issue resizing iSCSI disks. The following Github issue has instructions on how to manually resize if a permissions error is thrown. https://github.com/democratic-csi/democratic-csi/issues/491#issuecomment-3778463893 - Exec into the iSCSI node pod for the node where the volume is being attached. - Find the path where the volume is mounted, this should be in the error, and the disk name - umount \ - resize2fs /dev/\ - Receive the error that the filesystem isn't clean, press y to optimize - fsck -f /dev/\ - Ensure the above comes back clean - resize2fs /dev/sdb - Restart pod that is mounting the disk