longhorn configure additional disk
This commit is contained in:
@@ -21,6 +21,45 @@ helm repo add longhorn https://charts.longhorn.io
|
|||||||
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --values longhorn-values.yaml
|
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --values longhorn-values.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Adding additional disks
|
||||||
|
https://medium.com/btech-engineering/longhorn-storage-solution-for-kubernetes-cluster-645bc1b98a5e
|
||||||
|
|
||||||
|
Add disk in Proxmox, which appears as:
|
||||||
|
Run in worker node:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ lsblk
|
||||||
|
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
|
||||||
|
sda 8:0 0 30G 0 disk
|
||||||
|
├─sda1 8:1 0 29G 0 part /
|
||||||
|
├─sda14 8:14 0 4M 0 part
|
||||||
|
├─sda15 8:15 0 106M 0 part /boot/efi
|
||||||
|
└─sda16 259:0 0 913M 0 part /boot
|
||||||
|
sdb 8:16 0 250G 0 disk
|
||||||
|
sr0 11:0 1 4M 0 rom
|
||||||
|
```
|
||||||
|
|
||||||
|
SDB...
|
||||||
|
|
||||||
|
```
|
||||||
|
fdisk /dev/sdb
|
||||||
|
|
||||||
|
# Hit n(new), p(primary), Enter, Enter
|
||||||
|
# w(write to disk and exit)
|
||||||
|
|
||||||
|
mkfs.ext4 /dev/sdb1
|
||||||
|
|
||||||
|
mkdir /mnt/nvmedisk1
|
||||||
|
|
||||||
|
nano /etc/fstab
|
||||||
|
->
|
||||||
|
/dev/sdb1 /mnt/nvmedisk1 ext4
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
mount -a
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Check via UI
|
### Check via UI
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user