You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
I'm wondering about this too.
I have a server where I use mdadm and LVM to manage my storage configuration.
If LVM actually works, even through an addon Docker, I want to migrate my server to run RancherOS.
root@ip-172-31-19-80:# ros -v
ros version v1.1.2-rc2
root@ip-172-31-19-80:# ros console switch ubuntu
root@ip-172-31-19-80:# apt-get install lvm2
# prepare another volume, then check it
root@ip-172-31-19-80:~# fdisk -l
....
....
Disk /dev/xvdf: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
# edit /etc/lvm/lvm.conf and change use_lvmetad=1 to use_lvmetad=0
# then reboot
Now you can use LVM, I created one pv and one vg.
root@ip-172-31-19-80:/home/rancher# pvscan
PV /dev/xvdf1 VG niusmallnan lvm2 [10.00 GiB / 10.00 GiB free]
Total: 1 [10.00 GiB] / in use: 1 [10.00 GiB] / in no VG: 0 [0 ]
root@ip-172-31-19-80:/home/rancher# vgscan
Reading all physical volumes. This may take a while...
Found volume group "niusmallnan" using metadata type lvm2
so I will add a ros service, you can enable lvm like ros service enable lvm2, then you can use it.
The lvm commands will be added on the default console.
As #356 was closed, and there is no replies to it, i'm opening another issue.
#356 says LVM support is in 0.4.0+, but I can not find any documentation for this, nor can I find the lvm commands.
Was this not added? If it was added, where is the documentation?
Thanks
The text was updated successfully, but these errors were encountered: