diff --git a/README.md b/README.md index 701a9d0..08b05c9 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,23 @@ # Kubernetes.K3s.installLog *3 VM's provisioned with Ubuntu Server 18.04* +
additional lvm configuration + +```code +pvdisplay +pvcreate /dev/sdb +vgdisplay +vgcreate longhorn-vg /dev/sdb +lvdisplay +lvcreate -l 100%FREE -n longhorn-lv longhorn-vg +ls /dev/mapper +mkfs.ext4 /dev/mapper/longhorn--vg-longhorn--lv +#! add "UUID= /mnt/blockstorage ext4 defaults 0 0" to /etc/fstab +mkdir /mnt/blockstorage +mount -a +``` + +
## K3s cluster On first node: diff --git a/services/PVR/deploy-Plex.yml b/services/PVR/deploy-Plex.yml index e7084e4..a7a0935 100644 --- a/services/PVR/deploy-Plex.yml +++ b/services/PVR/deploy-Plex.yml @@ -45,6 +45,8 @@ spec: name: longhorn-plex-config - mountPath: /data/series name: flexvolsmb-pvr-series + - mountPath: /data/songs + name: flexvolsmb-pvr-songs - mountPath: /data/movies name: flexvolsmb-pvr-movies - mountPath: /transcode @@ -56,6 +58,9 @@ spec: - name: flexvolsmb-pvr-series persistentVolumeClaim: claimName: flexvolsmb-pvr-series + - name: flexvolsmb-pvr-songs + persistentVolumeClaim: + claimName: flexvolsmb-pvr-songs - name: flexvolsmb-pvr-movies persistentVolumeClaim: claimName: flexvolsmb-pvr-movies @@ -100,4 +105,4 @@ spec: storageClassName: longhorn resources: requests: - storage: 1Gi + storage: 5Gi diff --git a/services/PVR/persistentVolumeClaim-PVR.yml b/services/PVR/persistentVolumeClaim-PVR.yml index 2061297..48d10bd 100644 --- a/services/PVR/persistentVolumeClaim-PVR.yml +++ b/services/PVR/persistentVolumeClaim-PVR.yml @@ -115,7 +115,7 @@ spec: options: opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,cache=none server: 192.168.11.225 - share: /Public/Audio/temp + share: /Public/Audio/DeSchakel --- apiVersion: v1 kind: PersistentVolumeClaim