All checks were successful
test-build / build (push) Successful in 1m15s
test-build / guarddog (push) Successful in 4m39s
release-image / build (push) Successful in 53s
release-image / guarddog (push) Successful in 1m22s
release-image / semantic-release (push) Successful in 3m48s
release-image / release-harbor (push) Successful in 4m7s
renovate / renovate (push) Successful in 2m59s
release-image / release-gitea (push) Successful in 4m48s
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
---
|
|
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 \<path>
|
|
- resize2fs /dev/\<disk name>
|
|
- Receive the error that the filesystem isn't clean, press y to optimize
|
|
- fsck -f /dev/\<disk name>
|
|
- Ensure the above comes back clean
|
|
- resize2fs /dev/sdb
|
|
- Restart pod that is mounting the disk
|