text
stringlengths
0
59.1k
```
Finally you'll need to ensure to start or reload and enable multipath:
```console
$ systemctl enable --now multipathd.service
```
**Note:** Any change to `multipath.conf` or enabling multipath can lead to
inaccessible block devices as they will be claimed by multipath and
exposed as a device in /dev/mapper/*.
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-pvcsc.yaml type: yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvcsc001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: portworx-io-priority-high
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-pvcpod.yaml type: yaml
apiVersion: v1
kind: Pod
metadata:
name: pvpod
spec:
containers:
- name: test-container
image: registry.k8s.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
volumes:
- name: test-volume
persistentVolumeClaim:
claimName: pvc0001
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-sc-high.yaml type: yaml
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: portworx-io-priority-high
provisioner: kubernetes.io/portworx-volume
parameters:
repl: "1"
snap_interval: "70"
io_priority: "high"
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-pvc.yaml type: yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc0001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-pv.yaml type: yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv0001
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
portworxVolume:
volumeID: "pv0001"
<|endoftext|>
# source: k8s_examples/_archived/volumes/portworx/portworx-volume-pvcscpod.yaml type: yaml
apiVersion: v1
kind: Pod
metadata:
name: pvpod
spec:
containers:
- name: test-container
image: registry.k8s.io/test-webserver
volumeMounts:
- name: test-volume
mountPath: /test-portworx-volume
volumes:
- name: test-volume
persistentVolumeClaim: