Displaying 14 results from an estimated 14 matches for "lvconvert".
2017 Oct 17
1
lvconvert(split) - raid10 => raid0
hi guys, gals
do you know if conversion from lvm's raid10 to raid0 is
possible?
I'm fiddling with --splitmirrors but it gets me nowhere.
On "takeover" subject man pages says: "..between
striped/raid0 and raid10."" but no details, nowhere I could
find documentation, nor a howto.
many thanks, L.
2020 Mar 24
2
Building a NFS server with a mix of HDD and SSD (for caching)
...xed_block_sizes = 1" to lvm.conf to be able to 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
#...
2016 Jan 22
4
LVM mirror database to ramdisk
...might improve.
I use local LVM for my virtual disks with DRBD on top to mirror the
disk to a backup server.
If I change grub.conf to increase RAM disk size and increase host RAM,
I could create a 35G RAM disk.
I'd modify rc.local to add
pvcreate /dev/ramdisk
vgextend vg /dev/ramdisk
lvconvert -m 1 --corelog vg/lv_database /dev/ramdisk
Even with lv_database being 35G, it doesn't take long to activate the
mirror.
I haven't decided where to put the commands to turn off the lvm
mirror.
lvconvert -m 0 vg/lv_database
vgreduce vg /dev/ramdisk
pvremove /dev/ramdisk
I haven...
2008 Aug 17
2
mirroring with LVM?
I'm pulling my hair out trying to setup a mirrored logical volume.
lvconvert tells me I don't have enough free space, even though I have
hundreds of gigabytes free on both physical volumes.
Command: lvconvert -m1 /dev/vg1/iscsi_deeds_data
Insufficient suitable allocatable extents for logical volume : 10240
more required
Any ideas?
Thanks!,
Gordon
Here's the out...
2020 Mar 24
0
Building a NFS server with a mix of HDD and SSD (for caching)
...o lvm.conf to be able to 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
> --cachepoo...
2015 Nov 24
0
LVM - how to change lv from linear to stripped? Is it possible?
...t /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
$ uname -r
3.10.0-229.14.1.el7.x86_64
$ rpm -qa | grep -i lvm
lvm2-libs-2.02.115-3.el7_1.1.x86_64
lvm2-2.02.115-3.el7_1.1.x86_64
And the solution proposed in above examples does not work on it.
After (lv xxx is only on /dev/sdb4 before):
# lvconvert --mirrors 1 --stripes 4 /dev/cinder-volumes/xxx /dev/sda4
/dev/sdc4 /dev/sdd4 /dev/sdf4
I am getting in "lvdisplay -m":
--- Logical volume ---
LV Path /dev/cinder-volumes/xxx
LV Name xxx
VG Name cinder-volumes
LV UUID A...
2016 Jan 22
0
LVM mirror database to ramdisk
...on top to mirror the
> disk to a backup server.
>
> If I change grub.conf to increase RAM disk size and increase host RAM,
> I could create a 35G RAM disk.
>
> I'd modify rc.local to add
> pvcreate /dev/ramdisk
> vgextend vg /dev/ramdisk
> lvconvert -m 1 --corelog vg/lv_database /dev/ramdisk
>
> Even with lv_database being 35G, it doesn't take long to activate the
> mirror.
>
> I haven't decided where to put the commands to turn off the lvm
> mirror.
> lvconvert -m 0 vg/lv_database
> vgreduce...
2016 Jan 22
2
LVM mirror database to ramdisk
...kup server.
> >
> > If I change grub.conf to increase RAM disk size and increase host RAM,
> > I could create a 35G RAM disk.
> >
> > I'd modify rc.local to add
> > pvcreate /dev/ramdisk
> > vgextend vg /dev/ramdisk
> > lvconvert -m 1 --corelog vg/lv_database /dev/ramdisk
> >
> > Even with lv_database being 35G, it doesn't take long to activate the
> > mirror.
> >
> > I haven't decided where to put the commands to turn off the lvm
> > mirror.
> > lvconvert -m 0 v...
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...ddevice}
# about 1/1000 of the space you have left on 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 Att...
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
2023 Nov 09
0
can I convert a linear thin pool to raid1?
...e to try using LVM
RAID in order to also add dm-integrity data to some LVs.? I've added new
PVs to my VG, and I've converted some of my LVs to raid1 types, but I
also have one thin pool that I use for VMs with multiple layers of
snapshots.? That pool can't be converted, directly:
# lvconvert --type raid1 -m 1 VolGroup/vm_pool --yes
? Operation not permitted on LV VolGroup/vm_pool type thinpool.
Is it sufficient to simply convert the tdata and tmeta LVs to raid1
type?? Should I also convert lvol0_pmspare?? Is there anything else I
should consider?
# lvs VolGroup/vm_pool VolGroup/vm...
2012 May 30
0
LVM superblock version
...d of version information for
the LVM superblock, similar to what "mdmadmin -E" does for raid.
How can I tell whether a mountable device with LVMs on it can be safely
moved between CentOS 5 and CentOS 6 and/or potentially other Linux
distributions? I know that that CentOS 6 supports 'lvconvert -merge'.
Is this implementation purely in the lvm software or does it require a
different superblock? Can I take an LVM setup created under CentOS 6
and read it on a CentOS 5 system?
Thanks,
Nataraj
2017 Apr 10
0
lvm cache + qemu-kvm stops working after about 20GB of writes
...ce you have left on 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...
2017 Apr 20
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...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)
> [r...