https://rancher.com/ logo
f

freezing-farmer-7156

06/30/2022, 2:59 PM
I'm pretty new to this and love your project "Harvester" but I'm missing some things, and do not find doc on these topics. I posted this also in the channel #harvester-dev So I have a couple of questions on my harvester setup : 1. I have a node but not all local disk storage was assigned during install. Is there a ways to extend my current local disk/storage with the unused/un-assigned disk storage? If so can this be done from within the UI or can/do I have to do this through the CLI? 2. Is there a way to make a shared disk pool between all my nodes as shared storage, like a NFS/CIFS/SMB. Do I need Longhorn? if so, on all nodes? Thanks
2. Do you mean nodes or VMs? What are you wanting to do? Harvester uses Longhorn so it's installed on all nodes.
f

freezing-farmer-7156

07/01/2022, 11:34 AM
hi Simon, Thanks for the response and linking the doc page. On your question, I have the following baremetal node with following disk config: harvest1:~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 3G 1 loop / loop1 7:1 0 16G 0 loop loop2 7:2 0 16G 0 loop sda 8:0 0 557.9G 0 disk ├─sda1 8:1 0 64M 0 part /oem ├─sda2 8:2 0 15G 0 part /run/initramfs/cos-state ├─sda3 8:3 0 8G 0 part └─sda4 8:4 0 534.8G 0 part /usr/local sdb 8:16 0 2.7T 0 disk /var/lib/harvester/defaultdisk sdc 8:32 0 2.7T 0 disk └─sdc1 8:33 0 2.7T 0 part sdd 8:48 0 3.3T 0 disk └─sdd1 8:49 0 3.3T 0 part sde 8:64 0 50G 0 disk /var/lib/kubelet/pods/c7f16a8b-30ed-42c5-9b71-829581484f6e/volume-subpaths/pvc-a4825c24-8aee-4455-957e-9e1580d4bbfa/promethe sdg 8:96 0 10M 0 disk /var/lib/kubelet/pods/67b9e439-2acd-48b3-9bcc-51e780af4752/volumes/kubernetes.io~csi/pvc-c10f7213-a4c8-4141-9917-09f9727ee8f sdh 8:112 0 16G 0 disk ├─sdh1 8:113 0 1M 0 part ├─sdh2 8:114 0 1.8G 0 part └─sdh3 8:115 0 14.2G 0 part sdi 8:128 0 16G 0 disk ├─sdi1 8:129 0 1M 0 part ├─sdi2 8:130 0 1.4G 0 part └─sdi3 8:131 0 14.6G 0 part I want to extend default disk (/dev/sdb) with sdc and sdd so to have all disk capacity available OR I want to setup these unused/configured disks as share storage with my other nodes If you have any sugestion/idea's please share. thanks
hi simon, FYI Unable to add the disk, I can see them but no actions are available. running v1.0.2
w

witty-jelly-95845

07/01/2022, 1:39 PM
So you can't click on either of those 2 disks in the "drop down" list?
c

colossal-oyster-31549

07/03/2022, 3:25 AM
Hi Simon, I am also quite new to Harvester and saw the same issue when trying to add the disk in the UI, it prevents me to add the disk.
And this is the result of
lsblk -f
:
Copy code
NAME        FSTYPE  FSVER          LABEL                    UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0       ext2    1.0            COS_ACTIVE               b5d2811c-14f0-4b98-88ad-d9f02319fe1c    1.4G    49% /
sda
├─sda1      vfat    FAT16          COS_GRUB                 C1D9-FDA9
└─sda2      ext4    1.0                                     51af5386-1336-400e-b783-e456e7738c75
sdb                                                                                                             /var/lib/kubelet/pods/1b82dd5d-a13c-493c-a75
sdc                                                                                                             /var/lib/kubelet/pods/f05271cd-e67c-4fc7-a82
sdd         iso9660 Joliet Extensi Ubuntu 20.04.4 LTS amd64 2022-02-23-09-09-33-00
├─sdd1      iso9660 Joliet Extensi Ubuntu 20.04.4 LTS amd64 2022-02-23-09-09-33-00
└─sdd2      vfat    FAT12          Ubuntu 20.04.4 LTS amd64 54C5-9C6C
sde
nvme0n1
├─nvme0n1p1 vfat    FAT16          COS_GRUB                 50B5-1271
├─nvme0n1p2 ext4    1.0            COS_OEM                  da25cbb1-0883-485e-941f-3585c8267638   39.7M     3% /oem
├─nvme0n1p3 ext4    1.0            COS_STATE                546466f5-9352-447d-a463-2eebb18be063    9.4G    31% /run/initramfs/cos-state
├─nvme0n1p4 ext4    1.0            COS_RECOVERY             634c62e4-ba2c-45c3-921a-554287145395
├─nvme0n1p5 ext4    1.0            COS_PERSISTENT           18d232d4-23f7-4b4a-a21b-40437edf5909   71.2G    22% /usr/local
└─nvme0n1p6 ext4    1.0            HARV_LH_DEFAULT          a411c09a-f63f-430d-a23b-ca1384cb4000  749.9G     1% /var/lib/harvester/defaultdisk
f

freezing-farmer-7156

07/05/2022, 10:06 AM
hi Simon, sorry for the delay in answering, on your question if I can select (click), no I just can view it as admin. Any suggestions or CLI commands?
w

witty-jelly-95845

07/08/2022, 10:35 AM
@freezing-farmer-7156 @colossal-oyster-31549 if you haven't already I'd suggest submitting issues via github.com/harvester/harvester/issues including lsblk output
f

freezing-farmer-7156

07/08/2022, 9:23 PM
sure we'll do
@witty-jelly-95845 opened issue and is resolved now. here issue link so U can see solution : https://github.com/harvester/harvester/issues/2551
👍 1
11 Views