# Portworx Volumes

**URL:** https://forums.portworx.com/c/portworx-volumes/10.md

[Latest](https://forums.portworx.com/latest.md) · [Categories](https://forums.portworx.com/categories.md) · [Tags](https://forums.portworx.com/tags.md)

---

## [About the Portworx Volumes category](https://forums.portworx.com/t/about-the-portworx-volumes-category/17)

<div class="topic-metadata">

**Author:** [@venkat](https://forums.portworx.com/u/venkat)\
**Replies:** 0

</div>

Learn more about Portworx volumes, how to configure them, best practices, common pitfalls and how to get the best performance out of any infrastructure with Portworx.

---

## [FA direct access and ActiveDR Pods](https://forums.portworx.com/t/fa-direct-access-and-activedr-pods/1937)

<div class="topic-metadata">

**Author:** [@stefano.iqera](https://forums.portworx.com/u/stefano.iqera)\
**Replies:** 1\
**Last updated:** [September 11, 2024, 7:37am UTC](https://forums.portworx.com/t/fa-direct-access-and-activedr-pods/1937 "2024-09-11T07:37:06Z")

</div>

Hi all, I’m new to the forum. I have successfully configured portworx in our kubernetes cluster with a purestorage flash array in direct access mode. I was wondering if it was possible to create new volumes directly into…

---

## [How to recover from node full state?](https://forums.portworx.com/t/how-to-recover-from-node-full-state/371)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 4\
**Last updated:** [August 17, 2023, 4:19am UTC](https://forums.portworx.com/t/how-to-recover-from-node-full-state/371 "2023-08-17T04:19:57Z")

</div>

How to recover from node full (no space left on the node) state ? In situations like this, where your one or more nodes in a cluster have gone partially offline due to no space on them there are various points you can c…

---

## [Can we resize portworx volume without any restart to the pod?](https://forums.portworx.com/t/can-we-resize-portworx-volume-without-any-restart-to-the-pod/1575)

<div class="topic-metadata">

**Author:** [@shay-berman](https://forums.portworx.com/u/shay-berman)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 4:25am UTC](https://forums.portworx.com/t/can-we-resize-portworx-volume-without-any-restart-to-the-pod/1575 "2023-02-23T04:25:09Z")

</div>

Does portworx volume resize require also pod restart? does portworx support thin provisioning ? and what if capacity overlimit?

---

## [Postgre - ApplyFSGroup Failed for volume : Permission Denied](https://forums.portworx.com/t/postgre-applyfsgroup-failed-for-volume-permission-denied/1390)

<div class="topic-metadata">

**Author:** [@ianwijaya](https://forums.portworx.com/u/ianwijaya)\
**Replies:** 4\
**Last updated:** [August 8, 2022, 2:10pm UTC](https://forums.portworx.com/t/postgre-applyfsgroup-failed-for-volume-permission-denied/1390 "2022-08-08T14:10:50Z")

</div>

Hi there, We are deploying Postgre (Crunchy) using the PureFB provisioned by Portworx. We are running on Openshift 4.10.22 and Portworx 2.11.1 The new deployment went well and everything works as expected. However when…

---

## [Failed to get secret \[px-pure-secret\]. Err: secrets "px-pure-secret" not found](https://forums.portworx.com/t/failed-to-get-secret-px-pure-secret-err-secrets-px-pure-secret-not-found/1316)

<div class="topic-metadata">

**Author:** [@aknight](https://forums.portworx.com/u/aknight)\
**Replies:** 3\
**Last updated:** [May 10, 2022, 1:16pm UTC](https://forums.portworx.com/t/failed-to-get-secret-px-pure-secret-err-secrets-px-pure-secret-not-found/1316 "2022-05-10T13:16:49Z")

</div>

Hello, I get the error Failed to get secret \[px-pure-secret\]. Err: secrets “px-pure-secret” not found when I describe my storageclass, however the secret is created. This seems like a chicken and egg issue. Any ideas…

---

## [How to define persistent volume prefix dynamically provisioned by Portworx](https://forums.portworx.com/t/how-to-define-persistent-volume-prefix-dynamically-provisioned-by-portworx/1297)

<div class="topic-metadata">

**Author:** [@ianwijaya](https://forums.portworx.com/u/ianwijaya)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 4:32pm UTC](https://forums.portworx.com/t/how-to-define-persistent-volume-prefix-dynamically-provisioned-by-portworx/1297 "2022-04-12T16:32:30Z")

</div>

Hi Portworx, When we create PVC on Openshift, we can dynamically provision the PV Storage using Portworx. However, the PV/storage name seems to be random, and it’s challenging for the administrator to identify which PV …

---

## [MountDevice Failed for Volume "pvc-xyz"](https://forums.portworx.com/t/mountdevice-failed-for-volume-pvc-xyz/1292)

<div class="topic-metadata">

**Author:** [@ianwijaya](https://forums.portworx.com/u/ianwijaya)\
**Replies:** 4\
**Last updated:** [April 7, 2022, 4:52pm UTC](https://forums.portworx.com/t/mountdevice-failed-for-volume-pvc-xyz/1292 "2022-04-07T16:52:04Z")

</div>

Hi, We have successfully installed the StorageCluster using Portworx Version: Operator v1.7.0 Openshift v4.10 Portworx v2.9 We are able to create pvc successfully on our Openshift, and we’ve verified that its succes…

---

## [With cloud storage backing PX volume, will replica=1 volume failover to another PX node?](https://forums.portworx.com/t/with-cloud-storage-backing-px-volume-will-replica-1-volume-failover-to-another-px-node/1140)

<div class="topic-metadata">

**Author:** [@KrishnanandT](https://forums.portworx.com/u/KrishnanandT)\
**Replies:** 0\
**Last updated:** [December 22, 2021, 9:03am UTC](https://forums.portworx.com/t/with-cloud-storage-backing-px-volume-will-replica-1-volume-failover-to-another-px-node/1140 "2021-12-22T09:03:24Z")

</div>

Given following: I’m using PureStorage FlashArray LUNs as the backing storage for drives in a PX pool. A replica=1 (non-HA) portworx volume is created. When the k8s node dies/shutdown, is the PX volume expected to aut…

---

## [Encrypted Volume PVC pending](https://forums.portworx.com/t/encrypted-volume-pvc-pending/868)

<div class="topic-metadata">

**Author:** [@Marc\_Pango](https://forums.portworx.com/u/Marc_Pango)\
**Replies:** 8\
**Last updated:** [October 14, 2021, 3:53am UTC](https://forums.portworx.com/t/encrypted-volume-pvc-pending/868 "2021-10-14T03:53:11Z")

</div>

Hi Portworx team, I’m trying to use Encrypted Volume feature in Portworx enterprise with OpenShift Container Platform v4.6.16. Anyone can help to take a look at this problem? or any advice ? Follow the steps in Encrypt…

---

## [Moving apps from NFS to PX](https://forums.portworx.com/t/moving-apps-from-nfs-to-px/1054)

<div class="topic-metadata">

**Author:** [@dusijpx](https://forums.portworx.com/u/dusijpx)\
**Replies:** 0\
**Last updated:** [September 19, 2021, 1:54pm UTC](https://forums.portworx.com/t/moving-apps-from-nfs-to-px/1054 "2021-09-19T13:54:43Z")

</div>

Hi, I am trying to move an app that uses NFS file storage to Portworx. Challenge is in installing Helm charts that has yaml files built to use file storage. Though I modified yaml to use px storage class, PVCs, its faili…

---

## [Portworx pods not running](https://forums.portworx.com/t/portworx-pods-not-running/478)

<div class="topic-metadata">

**Author:** [@Siddharth\_Oak](https://forums.portworx.com/u/Siddharth_Oak)\
**Replies:** 5\
**Last updated:** [May 20, 2021, 5:07am UTC](https://forums.portworx.com/t/portworx-pods-not-running/478 "2021-05-20T05:07:16Z")

</div>

I get the following error in the logs : @kube-bs7c7mid0roes1hbra7g-watsonaiops-default-0000032f.iks.ibm portworx\[167284\]: time=“2020-07-15T17:23:10Z” level=info msg="\[provider\] IBM initialized" @kube-bs7c7mid0roes1hbra…

---

## [Setup secret in Vault for portworx volume encryption (Encrypt Portworx Volumes with HashiCorp Vault) | \[Token Method\]](https://forums.portworx.com/t/setup-secret-in-vault-for-portworx-volume-encryption-encrypt-portworx-volumes-with-hashicorp-vault-token-method/470)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 6:08pm UTC](https://forums.portworx.com/t/setup-secret-in-vault-for-portworx-volume-encryption-encrypt-portworx-volumes-with-hashicorp-vault-token-method/470 "2020-07-07T18:08:45Z")

</div>

Setup secret in Vault for Portworx Volume Encryption Prerequisites : Follow the steps to setup Vault and ready your Portworx Cluster to use Vault as secrets provider. Vault On the Vault UI, under Secrets select Enab…

---

## [Setup Vault secret and authenticate with Kubernetes Service Account with use For Portworx encrypted volumes \[Service Account Method\]](https://forums.portworx.com/t/setup-vault-secret-and-authenticate-with-kubernetes-service-account-with-use-for-portworx-encrypted-volumes-service-account-method/912)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [April 21, 2021, 8:41am UTC](https://forums.portworx.com/t/setup-vault-secret-and-authenticate-with-kubernetes-service-account-with-use-for-portworx-encrypted-volumes-service-account-method/912 "2021-04-21T08:41:05Z")

</div>

Setting Key Value Secret in Vault for Portworx Volume Encryption Prerequisites : Follow the steps to setup Vault and ready your Portworx Cluster to use Vault as secrets provider. Vault # vault secrets enable -path=kv…

---

## [Restoring Cloudsnaps to same OR different namespace](https://forums.portworx.com/t/restoring-cloudsnaps-to-same-or-different-namespace/815)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 2\
**Last updated:** [March 12, 2021, 4:58pm UTC](https://forums.portworx.com/t/restoring-cloudsnaps-to-same-or-different-namespace/815 "2021-03-12T16:58:31Z")

</div>

To restore your cloudsnap to a different namespace, you may use the following PVC object and create it under the different namespace while applying. When you install Stork, it also creates a storage class called stork-s…

---

## [Portworx volumes and replicas](https://forums.portworx.com/t/portworx-volumes-and-replicas/821)

<div class="topic-metadata">

**Author:** [@Eugene\_Goncharuk](https://forums.portworx.com/u/Eugene_Goncharuk)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 9:29pm UTC](https://forums.portworx.com/t/portworx-volumes-and-replicas/821 "2021-02-27T21:29:42Z")

</div>

Hi, We have the following requirements: read the data from the same node, where the initial request is so that there is no networking hop is happening to another node have the same data in all the nodes so that every …

---

## [Data Migration from Non-Secure to Secure (Encrypted) PX volume - Automation Script](https://forums.portworx.com/t/data-migration-from-non-secure-to-secure-encrypted-px-volume-automation-script/803)

<div class="topic-metadata">

**Author:** [@sensre](https://forums.portworx.com/u/sensre)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 5:05pm UTC](https://forums.portworx.com/t/data-migration-from-non-secure-to-secure-encrypted-px-volume-automation-script/803 "2021-02-15T17:05:06Z")

</div>

The below script helps to migrate data from Non-Secure to Secure(Encrypted) PX volume. It will recreate, encrypt, and migrate the volume with the same volume name. #!/bin/bash set -euo pipefail SRC=$1 #SECRETPATH="pwx/c…

---

## [Persistentvolume-controller Failed Error Message](https://forums.portworx.com/t/persistentvolume-controller-failed-error-message/795)

<div class="topic-metadata">

**Author:** [@sensre](https://forums.portworx.com/u/sensre)\
**Replies:** 0\
**Last updated:** [February 10, 2021, 1:49am UTC](https://forums.portworx.com/t/persistentvolume-controller-failed-error-message/795 "2021-02-10T01:49:57Z")

</div>

The portworx pvc controller’s role is to handle the create and delete the PVCs from Kubernetes and forward the request to the Portworx API.On most clusters, this is handled by the built-in controller manager that ships w…

---

## [Bad write performance on pwx volume](https://forums.portworx.com/t/bad-write-performance-on-pwx-volume/599)

<div class="topic-metadata">

**Author:** [@ygilbaum](https://forums.portworx.com/u/ygilbaum)\
**Replies:** 8\
**Last updated:** [October 15, 2020, 3:55pm UTC](https://forums.portworx.com/t/bad-write-performance-on-pwx-volume/599 "2020-10-15T15:55:18Z")

</div>

Probably I did something totally wrong. I’m running px-dev cluster of 3 nodes on Proxmox VMs. When I run dd if=/dev/zero of=test bs=2048 count=1048576 on locally mounted pwx volume I’m getting throughput ~6MB/s, while w…

---

## [How to perform In-place volume restores with Portworx via CLI](https://forums.portworx.com/t/how-to-perform-in-place-volume-restores-with-portworx-via-cli/573)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 9:19am UTC](https://forums.portworx.com/t/how-to-perform-in-place-volume-restores-with-portworx-via-cli/573 "2020-09-30T09:19:34Z")

</div>

In-place volume restores with Portworx are useful when you don’t want to have a separate restored volume from the original volume used by your application. While there is kubernetes objects method described here https:/…

---

## [Portworx Volume does not get detached successfully when using multipath](https://forums.portworx.com/t/portworx-volume-does-not-get-detached-successfully-when-using-multipath/465)

<div class="topic-metadata">

**Author:** [@Luay\_Alem](https://forums.portworx.com/u/Luay_Alem)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 7:04pm UTC](https://forums.portworx.com/t/portworx-volume-does-not-get-detached-successfully-when-using-multipath/465 "2020-07-01T19:04:09Z")

</div>

Issue: Pods unable to mount a Portworx volume after the Pod getting rescheduled. MountVolume.SetUp failed for volume "pvc-ba85504a-c6bf-4352-9be5-4d8b995f4bd8" : rpc error: code = AlreadyExists desc = Volume is at…

---

## [NFS External Exporter Script | How to export Sharedv4 volume to an external node as NFS target](https://forums.portworx.com/t/nfs-external-exporter-script-how-to-export-sharedv4-volume-to-an-external-node-as-nfs-target/422)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 4:31am UTC](https://forums.portworx.com/t/nfs-external-exporter-script-how-to-export-sharedv4-volume-to-an-external-node-as-nfs-target/422 "2020-05-19T04:31:16Z")

</div>

This document describes how to export Portworx sharedv4 (ReadWriteMany) volumes in your Kubernetes cluster to an external node / host. Sharedv4 volumes are useful when you want multiple PODs to access the same PVC (volu…

---

## [Docker swarm service after an update: containerVolumeDriver.Create: PX Service Unavailable](https://forums.portworx.com/t/docker-swarm-service-after-an-update-containervolumedriver-create-px-service-unavailable/423)

<div class="topic-metadata">

**Author:** [@ygilbaum](https://forums.portworx.com/u/ygilbaum)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 5:40pm UTC](https://forums.portworx.com/t/docker-swarm-service-after-an-update-containervolumedriver-create-px-service-unavailable/423 "2020-05-21T17:40:17Z")

</div>

I’m running prometheus container as a single replica Docker swarm service that can migrate between portworx’s 3 nodes. Everything worked well, but after the last update of the container, I’m getting error in syslog of an…

---

## [Setup A-SYNC DR Fast and Easy with simulation](https://forums.portworx.com/t/setup-a-sync-dr-fast-and-easy-with-simulation/421)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 4:06am UTC](https://forums.portworx.com/t/setup-a-sync-dr-fast-and-easy-with-simulation/421 "2020-05-19T04:06:12Z")

</div>

Pre-requisites:- 2 Separate Portworx clusters on 2 Kubernetes Clusters Portworx Enterprise + DR Licence on both Portworx Clusters Clusters are configured with Secrets Provider such as Kubernetes Secrets / AWS KMS / VAU…

---

## [How to reduce / move / increase portworx volume replicas from one node to another or specific node?](https://forums.portworx.com/t/how-to-reduce-move-increase-portworx-volume-replicas-from-one-node-to-another-or-specific-node/370)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [April 19, 2020, 10:41am UTC](https://forums.portworx.com/t/how-to-reduce-move-increase-portworx-volume-replicas-from-one-node-to-another-or-specific-node/370 "2020-04-19T10:41:54Z")

</div>

How to reduce-remove / move / increase volume replicas from one node to another or specific node ? You may want to move the replicas, if you are planning to decommission a node from the Portworx cluster, replacing the n…

---

## [How to convert non-encrypted portworx volumes to encrypted (secure) volumes](https://forums.portworx.com/t/how-to-convert-non-encrypted-portworx-volumes-to-encrypted-secure-volumes/400)

<div class="topic-metadata">

**Author:** [@varunjain](https://forums.portworx.com/u/varunjain)\
**Replies:** 0\
**Last updated:** [May 7, 2020, 4:40am UTC](https://forums.portworx.com/t/how-to-convert-non-encrypted-portworx-volumes-to-encrypted-secure-volumes/400 "2020-05-07T04:40:33Z")

</div>

While there is no direct way to convert a Portworx Volume to an Encrypted Portworx Volume, you can create a new StorageClass with secure parameter and point your existing application to use the new StorageClass that will…

---

## [I have an error : concerning the volume and driver](https://forums.portworx.com/t/i-have-an-error-concerning-the-volume-and-driver/399)

<div class="topic-metadata">

**Author:** [@Egilson](https://forums.portworx.com/u/Egilson)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 5:09pm UTC](https://forums.portworx.com/t/i-have-an-error-concerning-the-volume-and-driver/399 "2020-05-06T17:09:16Z")

</div>

Dear all, first of all many thanks for this forum and attention also I’m contacting you following an error that I meet : “could not get the PX volume driver”. In the same log i have others errors like init faillure: t…

---

## [Can we rotate AWS CustomerManagedKeys (CMK) provided to Portworx?](https://forums.portworx.com/t/can-we-rotate-aws-customermanagedkeys-cmk-provided-to-portworx/395)

<div class="topic-metadata">

**Author:** [@adityadani](https://forums.portworx.com/u/adityadani)\
**Replies:** 0\
**Last updated:** [April 30, 2020, 1:44am UTC](https://forums.portworx.com/t/can-we-rotate-aws-customermanagedkeys-cmk-provided-to-portworx/395 "2020-04-30T01:44:58Z")

</div>

When using AWS KMS as a secret provider a CMK or a CustomerManagedKey is passed as an input argument to Portworx (“AWS\_CMK”). Portworx will use the provided CMK to generate DataKeys that will be used for: Encrypting/De…

---

## [Understanding different shared volume types regarding permission-handling](https://forums.portworx.com/t/understanding-different-shared-volume-types-regarding-permission-handling/311)

<div class="topic-metadata">

**Author:** [@aleks](https://forums.portworx.com/u/aleks)\
**Replies:** 0\
**Last updated:** [January 28, 2020, 4:02pm UTC](https://forums.portworx.com/t/understanding-different-shared-volume-types-regarding-permission-handling/311 "2020-01-28T16:02:20Z")

</div>

Portworx had the first Kubernetes storage implementation for PersistentVolumes that supported ReadWriteMany access mode. The way this was first implemented was using fuse, and that became the ‘shared’ volume type. In …

---

## [FsGroup security context causing Portworx sharedv4 volume mount to timeout](https://forums.portworx.com/t/fsgroup-security-context-causing-portworx-sharedv4-volume-mount-to-timeout/246)

<div class="topic-metadata">

**Author:** [@adityadani](https://forums.portworx.com/u/adityadani)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 7:32pm UTC](https://forums.portworx.com/t/fsgroup-security-context-causing-portworx-sharedv4-volume-mount-to-timeout/246 "2019-10-31T19:32:05Z")

</div>

If a pod using a Portworx sharedv4 PVC has a securityContext set like this securityContext: fsGroup: 3000 you might get the following errors while mounting the sharedv4 PVC: Events: Type Reason Age From Message …

[Next page](https://forums.portworx.com/c/portworx-volumes/10.md?page=1)
