I installed proxmox 6.2 on RAID 1
Then I added another disk and created a new pool
I created a new file system and set the quota to 3GB
So far I have created 1x LXC and FS datapool /videodata I would like to use to store in LXC. It probably needs to mount into LXC, but I don't know how to do it. Later, I would like to share this FS datapool /videodata among more LXCs or also VM.
Can anyone advise me on how to proceed?
So far, I'm testing it in a virtual box. I want to put it on bare metal only when it will work according to my ideas
Code:
zpool status
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-VBOX_HARDDISK_VB591de502-5953a7c0-part3 ONLINE 0 0 0
ata-VBOX_HARDDISK_VB6234c490-ac6c93c7-part3 ONLINE 0 0 0
errors: No known data errors
Then I added another disk and created a new pool
Code:
zpool create datapool ata-VBOX_HARDDISK_VBd3554746-3b5feeec
Code:
zpool status
pool: datapool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
datapool ONLINE 0 0 0
ata-VBOX_HARDDISK_VBd3554746-3b5feeec ONLINE 0 0 0
errors: No known data errors
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-VBOX_HARDDISK_VB591de502-5953a7c0-part3 ONLINE 0 0 0
ata-VBOX_HARDDISK_VB6234c490-ac6c93c7-part3 ONLINE 0 0 0
errors: No known data errors
I created a new file system and set the quota to 3GB
Code:
zfs create datapool/videodata
zfs set quota=3G datapool/videodata
Code:
zfs list
NAME USED AVAIL REFER MOUNTPOINT
datapool 111K 5.33G 24K /datapool
datapool/videodata 24K 3.00G 24K /datapool/videodata
rpool 1.71G 5.07G 96K /rpool
rpool/ROOT 1.25G 5.07G 96K /rpool/ROOT
rpool/ROOT/pve-1 1.25G 5.07G 1.25G /
rpool/data 465M 5.07G 96K /rpool/data
rpool/data/subvol-100-disk-0 465M 2.55G 465M /rpool/data/subvol-100-disk-0
So far I have created 1x LXC and FS datapool /videodata I would like to use to store in LXC. It probably needs to mount into LXC, but I don't know how to do it. Later, I would like to share this FS datapool /videodata among more LXCs or also VM.
Can anyone advise me on how to proceed?
So far, I'm testing it in a virtual box. I want to put it on bare metal only when it will work according to my ideas