search for: lv_database

Displaying 3 results from an estimated 3 matches for "lv_database".

2016 Jan 22
4
LVM mirror database to ramdisk
...l 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't put this in real world us...
2016 Jan 22
0
LVM mirror database to ramdisk
...isk 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 >...
2016 Jan 22
2
LVM mirror database to ramdisk
...gt; 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 > >...