Displaying 5 results from an estimated 5 matches for "cachepool".
2020 Mar 24
2
Building a NFS server with a mix of HDD and SSD (for caching)
...it's OK.
# lvcreate -L 500M -n lv_cache_meta VGnfs /dev/sdb
# lvcreate -l +100%FREE -n lv_cache VGnfs /dev/sdb
# lvconvert --type cache-pool /dev/VGnfs/lv_cache --poolmetadata
/dev/VGnfs/lv_cache_meta
# lvcreate -l +100%FREE -n LVnfs VGnfs /dev/sdd
# lvconvert --type cache /dev/VGnfs/LVnfs --cachepool /dev/VGnfs/lv_cache
# lvconvert --cachemode writeback --type cache /dev/VGnfs/LVnfs
--cachepool /dev/VGnfs/lv_cache
# mkfs.xfs /dev/VGnfs/LVnfs
And now I'm asking myself if I'm not doing something somewhat dangerous
for a server that will be critical when in production :]
The server has...
2020 Mar 24
0
Building a NFS server with a mix of HDD and SSD (for caching)
...e -L 500M -n lv_cache_meta VGnfs /dev/sdb
> # lvcreate -l +100%FREE -n lv_cache VGnfs /dev/sdb
> # lvconvert --type cache-pool /dev/VGnfs/lv_cache --poolmetadata
> /dev/VGnfs/lv_cache_meta
> # lvcreate -l +100%FREE -n LVnfs VGnfs /dev/sdd
> # lvconvert --type cache /dev/VGnfs/LVnfs --cachepool /dev/VGnfs/lv_cache
> # lvconvert --cachemode writeback --type cache /dev/VGnfs/LVnfs
> --cachepool /dev/VGnfs/lv_cache
> # mkfs.xfs /dev/VGnfs/LVnfs
>
> And now I'm asking myself if I'm not doing something somewhat dangerous
> for a server that will be critical when in pr...
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...draiddevice}
# the rest can be used as cachedata
lvcreate -l XXX -n cachedata ${VGBASE} ${ssdraiddevice}
# convert/combine pools so cachedlv is actually cached
lvconvert --type cache-pool --cachemode writeback --poolmetadata
${VGBASE}/cachemeta ${VGBASE}/cachedata
lvconvert --type cache --cachepool ${VGBASE}/cachedata ${VGBASE}/cachedlv
# my system now looks like (VG is called cl, default of installer)
[root at localhost ~]# lvs -a
LV VG Attr LSize Pool Origin
[cachedata] cl Cwi---C--- 97.66g
* [cachedata_cdata] cl Cwi-ao---- 97.66g **
** [cachedata_cmet...
2017 Apr 10
0
lvm cache + qemu-kvm stops working after about 20GB of writes
...ed as cachedata
> lvcreate -l XXX -n cachedata ${VGBASE} ${ssdraiddevice}
>
> # convert/combine pools so cachedlv is actually cached
>
> lvconvert --type cache-pool --cachemode writeback --poolmetadata
> ${VGBASE}/cachemeta ${VGBASE}/cachedata
>
> lvconvert --type cache --cachepool ${VGBASE}/cachedata ${VGBASE}/cachedlv
>
>
> # my system now looks like (VG is called cl, default of installer)
> [root at localhost ~]# lvs -a
> LV VG Attr LSize Pool Origin
> [cachedata] cl Cwi---C--- 97.66g
>
> * [cachedata_cdata]...
2017 Apr 20
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...lvcreate -l XXX -n cachedata ${VGBASE} ${ssdraiddevice}
>
> # convert/combine pools so cachedlv is actually cached
>
> lvconvert --type cache-pool --cachemode writeback --poolmetadata
> ${VGBASE}/cachemeta ${VGBASE}/cachedata
>
> lvconvert --type cache --cachepool ${VGBASE}/cachedata
> ${VGBASE}/cachedlv
>
>
> # my system now looks like (VG is called cl, default of installer)
> [root at localhost ~]# lvs -a
> LV VG Attr LSize Pool Origin
> [cachedata] cl Cwi---C--- 97.66g
> * [...