How do I add a device in an existing storagePoolClaim? I thought I could just edit the spc and add the disk to it, but I do not see the disk reformated as it should be.
How to add a device in an existing storagePoolClaim in OpenEBS?
725 views Asked by Chandan Sagar Pradhan At
1
There are 1 answers
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in OPENEBS
- Openebs NFS and LocalPV Provisioner Pods Crash after Helm Installation
- OpenEBS ndm pod stuck in on Minikube: MountVolume.SetUp failed for volume "udev" : hostPath type check failed: /run/udev is not a directory
- Does openebs device localpv still work if I attach block device to another node?
- How to put Nextcloud in kubernetes in maintenance mode
- Replicate / synchronise kubernetes PV data across seperate kubernetes clusters
- How do you install mayastor for openebs with microk8s to use as PV/SC?
- Is there a way to mount a dd based file as a disk for cstore pool
- Pod gets into `ContainerCreating` State when the node goes down and it tries to get recreated on other node
- dynamically scale pods with new nodes addition in k8s cluster
- Using Microk8s and OpenEBS cStor leads to an error when creating pool claims. Anybody know why this is occurring, and how to fix it?
- Cannot create a PVC after following OpenEBS installation instructions on a bare metal Kubernetes cluster with Calico
- How does OpenEBS determine the location of my volume?
- Kubernetes storage provider that leverages cluster node disk(s)
- OpenEBS cstore volume is very slow on delete and overwrite
- Unable to provision OpenEBS volume on RancherOS
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Github issue 2258 openEBS repo is tracking this. At present this can be done by patch few resources. Pasting the content form the github workaround,
For expanding a cStor pool (type=striped) with additional disks.
A brief explanation cStor pool components Storage Pool CR (SP) - used for specifying the Disk CRs used by the pool. cStor Storage Pool CR (CSP) - used for specifying the unique disk path used by the pool. cStor Storage Pool Deployment and associated Pod. When the SPC spec is created with a set of disks, the cstor-operator will segregate the disks based on the node. And on each node, a cStor Pool will be created using the disks from that node. After the pool is provisioned, it can be expanded only by the disks already discovered on the same node.
The following steps are for expanding a single cStor Storage Pool and will need to be repeated on each of the cStor Pools corresponding to an SPC.
Step 1: Identify the cStor Pool (CSP) and Storage Pool (SP) associated with the SPC.
Storage Pools sample output:
From the above list, pick up the cStor Pool that needs to be expanded. The name of both CSP and SP will be same. The rest of the steps assume that cstor-disk-vt1u needs to be expanded. From the above output, also note down the node on which the Pool is running. In this case the node is gke-kmova-helm-default-pool-2c01cdf6-dxbf
Step 2: Identify the new disk that that need to be attached to the cStor Pool. The following command can be used to list the disks on a give node.
Sample Disks Output.
The following command can be used to see the disks already used on the node - gke-kmova-helm-default-pool-2c01cdf6-dxbf
Sample Output:
In this case, disk-ffca7a8731976830057238c5dc25e94c is unused.
Step 3: Patch CSP with the disk path details Get the disk path listed by unique path under devLinks.
Sample Output:
Patch the above disk path into CSP
Verify that disk is patched by executing kubectl get csp cstor-disk-vt1u -o yaml and check that new disk is added under diskList.
Step 4: Patch SP with disk name The following command patches the SP (cstor-disk-vt1u) with disk (disk-ffca7a8731976830057238c5dc25e94c)
Verify that disk is patched by executing kubectl get sp cstor-disk-vt1u -o yaml and check that new disk is added under diskList.
Step 5: Expand the pool. The last step is to update the cstor pool pod (cstor-disk-vt1u) with disk path (/dev/disk/by-id/scsi-0Google_PersistentDisk_kmova-n2-d1)
Identify the cstor pool pod associated with CSP cstor-disk-vt1u.
Sample Output:
Check the pool name:
Sample Output:
Extract the pool name from above output. In this case - cstor-deaf87e6-ec78-11e8-893b-42010a80003a
Expand the pool with additional disk.
You can execute the list command again to see the increase in capacity.
Sample Output: