Hi all,
I am quite new to proxmox. I put my three questions as follows in bold.
I followed the standard installation on an 4 TB nvme without zfs, 100 GB root and rest is an empty thin pool.
Now I need to create an additional 1 TB directory/volume for isos (I have one 120 GB iso) and backups (say "bkp") on my nvme using the space which is actually assigned to my empty thin pool "data" (local-lvm).
At first, I wanted to delete the thin pool and recreate it, but I found a red hat documentation about thin storage and a syncbricks tutorial esp. for proxmox where they just create the new volume within the pool as a thin volume and format it with ext4 . So there seems to be no need to recreate the thin pool with smaller size.
Does it work using the following commands? Is that best practise?
Afterwards I need to integrate the new volume in the Webfrontend, right? Otherwise one could use the pvesm cli to that, but I found no good tutorial/documentation for this yet.
If I want to share my new volume with other systems like a windows notebook, is that possible too or do I need to create a new ntfs thin volume for that purpose?
Cheerio
--
I am quite new to proxmox. I put my three questions as follows in bold.
I followed the standard installation on an 4 TB nvme without zfs, 100 GB root and rest is an empty thin pool.
Now I need to create an additional 1 TB directory/volume for isos (I have one 120 GB iso) and backups (say "bkp") on my nvme using the space which is actually assigned to my empty thin pool "data" (local-lvm).
root@nas:~# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
data pve twi-a-tz-- <3.49t 0.00 0.19 data_tdata(0)
[data_tdata] pve Twi-ao---- <3.49t /dev/nvme0n1p3(26494)
[data_tmeta] pve ewi-ao---- <15.88g /dev/nvme0n1p3(941316)
[lvol0_pmspare] pve ewi------- <15.88g /dev/nvme0n1p3(945381)
root pve -wi-ao---- 96.00g /dev/nvme0n1p3(1918)
swap pve -wi-ao---- 7.49g /dev/nvme0n1p3(0)
At first, I wanted to delete the thin pool and recreate it, but I found a red hat documentation about thin storage and a syncbricks tutorial esp. for proxmox where they just create the new volume within the pool as a thin volume and format it with ext4 . So there seems to be no need to recreate the thin pool with smaller size.
Does it work using the following commands? Is that best practise?
lvcreate -n bkp -V 1T pve/data
#Creates my new lv with name "bkp" in vg "pve".
#size 1 TB
#lv "bkp" will be derived from the already existing thin group lv "data" in "pve"
mkfs.ext4 /dev/pve/bkp
#Mount new Logical Volume (LV)
#Now mount the new Logical Volume to Proxmox Node so we will create a new directory
mkdir /media/bkp
echo '/dev/pve/bkp /media/bkp ext4 defaults,errors=remount-ro 0 2' >> /etc/fstab
mount -a
lvs -a
Afterwards I need to integrate the new volume in the Webfrontend, right? Otherwise one could use the pvesm cli to that, but I found no good tutorial/documentation for this yet.
If I want to share my new volume with other systems like a windows notebook, is that possible too or do I need to create a new ntfs thin volume for that purpose?
Cheerio
--