I have Proxmox installed on a 1.8TB SSD as below and wish to use the 1.7TB available space to NFS share media files to Nextcloud and Plex containers.
I don't see how to mount the LV named data in order to share it with NFS.
Do I need to shrink the sda3 partition and create a separate ext4 (or other type) partition (sda4) and share that with NFS or is there another way to mount and then share the sda3 disk space?
lsblk
pvs
vgs
lvs
lvdisplay
TIA
I don't see how to mount the LV named data in order to share it with NFS.
Do I need to shrink the sda3 partition and create a separate ext4 (or other type) partition (sda4) and share that with NFS or is there another way to mount and then share the sda3 disk space?
lsblk
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part /boot/efi
└─sda3 8:3 0 1.8T 0 part
├─pve-swap 253:0 0 2G 0 lvm [SWAP]
├─pve-root 253:1 0 40G 0 lvm /
├─pve-data_tmeta 253:2 0 15.8G 0 lvm
│ └─pve-data-tpool 253:4 0 1.7T 0 lvm
│ ├─pve-data 253:5 0 1.7T 1 lvm
│ ├─pve-vm--100--disk--0 253:6 0 4M 0 lvm
│ ├─pve-vm--100--disk--1 253:7 0 32G 0 lvm
│ ├─pve-vm--101--disk--0 253:8 0 8G 0 lvm
│ └─pve-vm--102--disk--0 253:9 0 8G 0 lvm
└─pve-data_tdata 253:3 0 1.7T 0 lvm
└─pve-data-tpool 253:4 0 1.7T 0 lvm
├─pve-data 253:5 0 1.7T 1 lvm
├─pve-vm--100--disk--0 253:6 0 4M 0 lvm
├─pve-vm--100--disk--1 253:7 0 32G 0 lvm
├─pve-vm--101--disk--0 253:8 0 8G 0 lvm
└─pve-vm--102--disk--0 253:9 0 8G 0 lvm
pvs
Code:
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <1.82t <16.38g
vgs
Code:
VG #PV #LV #SN Attr VSize VFree
pve 1 7 0 wz--n- <1.82t <16.38g
lvs
Code:
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 1.73t 1.46 0.19
root pve -wi-ao---- 40.00g
swap pve -wi-ao---- 2.00g
vm-100-disk-0 pve Vwi-aotz-- 4.00m data 0.00
vm-100-disk-1 pve Vwi-aotz-- 32.00g data 64.34
vm-101-disk-0 pve Vwi-aotz-- 8.00g data 31.81
vm-102-disk-0 pve Vwi-aotz-- 8.00g data 34.47
lvdisplay
Code:
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID lvo50K-k27d-OCK3-igmV-xzAe-fMcc-6yRDho
LV Write Access read/write
LV Creation host, time proxmox, 2022-12-22 13:44:46 +1100
LV Status available
# open 2
LV Size 2.00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID YteHEu-VJnL-fiRm-ppFL-35VP-wc1Q-o5MKo8
LV Write Access read/write
LV Creation host, time proxmox, 2022-12-22 13:44:46 +1100
LV Status available
# open 1
LV Size 40.00 GiB
Current LE 10240
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name data
VG Name pve
LV UUID DB9MK1-6fC2-CiDD-zRCC-TTnt-acp6-mHmV7N
LV Write Access read/write (activated read only)
LV Creation host, time proxmox, 2022-12-22 13:45:24 +1100
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 1.73 TiB
Allocated pool data 1.46%
Allocated metadata 0.19%
Current LE 453763
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
--- Logical volume ---
LV Path /dev/pve/vm-100-disk-0
LV Name vm-100-disk-0
VG Name pve
LV UUID tEehPe-F0PV-fnuy-CeQt-gJ77-nAH0-hXeTRU
LV Write Access read/write
LV Creation host, time pve, 2022-12-22 17:54:55 +1100
LV Pool name data
LV Status available
# open 1
LV Size 4.00 MiB
Mapped size 0.00%
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:6
--- Logical volume ---
LV Path /dev/pve/vm-100-disk-1
LV Name vm-100-disk-1
VG Name pve
LV UUID BFvqWF-eb0F-4rcJ-sJaD-GpEe-50sd-weicyL
LV Write Access read/write
LV Creation host, time pve, 2022-12-22 17:54:56 +1100
LV Pool name data
LV Status available
# open 1
LV Size 32.00 GiB
Mapped size 64.34%
Current LE 8192
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:7
--- Logical volume ---
LV Path /dev/pve/vm-101-disk-0
LV Name vm-101-disk-0
VG Name pve
LV UUID 6c3Aes-7XDR-3GTp-X6tH-MCwp-4TLq-VJsBmG
LV Write Access read/write
LV Creation host, time pve, 2022-12-22 22:24:02 +1100
LV Pool name data
LV Status available
# open 1
LV Size 8.00 GiB
Mapped size 31.81%
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:8
--- Logical volume ---
LV Path /dev/pve/vm-102-disk-0
LV Name vm-102-disk-0
VG Name pve
LV UUID ruR4oP-6Tv5-EGul-DZw1-ejAl-DS51-2jRx7f
LV Write Access read/write
LV Creation host, time pve, 2022-12-23 21:54:45 +1100
LV Pool name data
LV Status available
# open 1
LV Size 8.00 GiB
Mapped size 34.47%
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:9
TIA