Hello,
I have created ramdrive for proxy cache with this commands:
>modprobe brd rd_size=5200000
>pvcreate /dev/ram0
>vgcreate vgramdisk /dev/ram0
>lvcreate -L 4G -n ramstorage vgramdisk
>mkfs.ext2 /dev/vgramdisk/ramstorage
>mount -o noatime /dev/vgramdisk/ramstorage /mnt/ramstorage
Then I create directory storage and mountpoint to container.
It works very well.
Now we need to automate this on starting of system.
Could you advise me best practise for this in Proxmox?
Thanks
I have created ramdrive for proxy cache with this commands:
>modprobe brd rd_size=5200000
>pvcreate /dev/ram0
>vgcreate vgramdisk /dev/ram0
>lvcreate -L 4G -n ramstorage vgramdisk
>mkfs.ext2 /dev/vgramdisk/ramstorage
>mount -o noatime /dev/vgramdisk/ramstorage /mnt/ramstorage
Then I create directory storage and mountpoint to container.
It works very well.
Now we need to automate this on starting of system.
Could you advise me best practise for this in Proxmox?
Thanks