Displaying 6 results from an estimated 6 matches for "poolmetadata".
2020 Mar 24
2
Building a NFS server with a mix of HDD and SSD (for caching)
...o add
sdb and sdd in the same VG (because of the sector size missmatch). But
as the LVs will only use one and only one PV I guess 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 my...
2015 Jun 26
1
LVM hatred, was Re: /boot on a separate partition?
On Fri, Jun 26, 2015 at 10:51 AM, Gordon Messmer
<gordon.messmer at gmail.com> wrote:
>> , or alternatively making the LVs
>> redundant after install is a single command (each) and you can choose
>> whether it should be mere mirroring or some MD manged RAID level (modulo
>> the LVM RAID MD monitoring issue).
>
>
> I hadn't realized that. That's an
2020 Mar 24
0
Building a NFS server with a mix of HDD and SSD (for caching)
...he same VG (because of the sector size missmatch). But
> as the LVs will only use one and only one PV I guess 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/LVnf...
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...n the SSD for the meta
(minimum of 4)
lvcreate -l X -n cachemeta ${VGBASE} ${ssdraiddevice}
# 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...
2017 Apr 10
0
lvm cache + qemu-kvm stops working after about 20GB of writes
...t; of 4)
> lvcreate -l X -n cachemeta ${VGBASE} ${ssdraiddevice}
> # 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...
2017 Apr 20
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...vcreate -l X -n cachemeta ${VGBASE} ${ssdraiddevice}
> # 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...