Re: [linux-lvm] lvcreate cannot create a mirrored LV with version 2.02.177(2)
Dne 25.5.2018 v 09:37 Gang He napsal(a): Hello List, I am using lvm version 2.02.177(2), tried to create a mirrored LV, but failed with the errors, tb0307-nd1:~ # pvs PV VG Fmt Attr PSize PFree /dev/vdb cluster-vg2 lvm2 a-- 40.00g 36.00g /dev/vdc cluster-vg2 lvm2 a-- 40.00g 40.00g tb0307-nd1:~ # vgs VG #PV #LV #SN Attr VSize VFree cluster-vg2 2 1 0 wz--nc 79.99g 75.99g tb0307-nd1:~ # lvs <<== a linear LV can be created LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert test-lv cluster-vg2 -wi-a- 4.00g tb0307-nd1:~ # lvcreate --type mirror -m1 -L 500m -n my-lv cluster-vg2 Shared cluster mirrors are not available. <<== failed to create a mirrored LV Clustered old mirror needs 'cmirrord' to be installed and running. Could you help to take a look at this problem? from lvcreate man page, the mirrored LV is supported by lvcreate. my lvm2 version/configuration is as below, tb0307-nd1:~ # lvm version LVM version: 2.02.177(2) (2017-12-18) Library version: 1.03.01 (2017-12-18) Driver version: 4.37.0 Configuration: ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --enable-dmeventd --enable-cmdlib --enable-udev_rules --enable-udev_sync --with-udev-prefix=/usr/ --enable-selinux --enable-pkgconfig --with-usrlibdir=/usr/lib64 --with-usrsbindir=/usr/sbin --with-default-dm-run-dir=/run --with-tmpfilesdir=/usr/lib/tmpfiles.d --with-thin=internal --with-device-gid=6 --with-device-mode=0640 --with-device-uid=0 --with-dmeve ntd-path=/usr/sbin/dmeventd --with-thin-check=/usr/sbin/thin_check --with-thin-dump=/usr/sbin/thin_dump --with-thin-repair=/usr/sbin/thin_repair --enable-applib --enable-blkid_wiping --enable-cmdlib --enable-lvmetad --enable-lvmpolld --enable-realtime --with-cache=internal --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm tb0307-nd1:~ # --enable-cmirrord Regards Zdenek ___ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Re: [linux-lvm] [RELEASE] 2.02.178
Hello Joe, When will the formal LVM 2.02.178 be released? In LVM2.02.178, online pvmove can work well under the cluster environment? Thanks Gang >>> Joe Thornber2018/5/25 15:03 >>> ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.178-rc1.tgz Version 2.02.178 There are going to be some large changes to the lvm2 codebase over the next year or so. Starting with this release. These changes should be internal rather than having a big effect on the command line. Inevitably these changes will increase the chance of bugs, so please be on the alert. Remove support for obsolete metadata formats Support for the GFS pool format, and format used by the original 1990's version of LVM1 have been removed. Use asynchronous IO --- Almost all IO uses libaio now. Rewrite label scanning -- Dave Teigland has reworked the label scanning and metadata reading logic to minimise the amount of IOs issued. Combined with the aio changes this can greatly improve scanning speed for some systems. ./configure options --- We're going to try and remove as many options from ./configure as we can. Each option multiplies the number of possible configurations that we should test (this testing is currently not occurring). The first batch to be removed are: --enable-testing --with-snapshots --with-mirrors --with-raid --with-thin --with-cache Stable targets that are in the upstream kernel will just be supported. In future optional target flags will be given in two situations: 1) The target is experimental, or not upstream at all (eg, vdo). 2) The target is deprecated and support will be removed at some future date. This decision could well be contentious, so could distro maintainers feel free to comment. ___ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ ___ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[linux-lvm] lvcreate cannot create a mirrored LV with version 2.02.177(2)
Hello List, I am using lvm version 2.02.177(2), tried to create a mirrored LV, but failed with the errors, tb0307-nd1:~ # pvs PV VG Fmt Attr PSize PFree /dev/vdb cluster-vg2 lvm2 a-- 40.00g 36.00g /dev/vdc cluster-vg2 lvm2 a-- 40.00g 40.00g tb0307-nd1:~ # vgs VG #PV #LV #SN Attr VSize VFree cluster-vg2 2 1 0 wz--nc 79.99g 75.99g tb0307-nd1:~ # lvs <<== a linear LV can be created LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert test-lv cluster-vg2 -wi-a- 4.00g tb0307-nd1:~ # lvcreate --type mirror -m1 -L 500m -n my-lv cluster-vg2 Shared cluster mirrors are not available. <<== failed to create a mirrored LV Could you help to take a look at this problem? from lvcreate man page, the mirrored LV is supported by lvcreate. my lvm2 version/configuration is as below, tb0307-nd1:~ # lvm version LVM version: 2.02.177(2) (2017-12-18) Library version: 1.03.01 (2017-12-18) Driver version: 4.37.0 Configuration: ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --enable-dmeventd --enable-cmdlib --enable-udev_rules --enable-udev_sync --with-udev-prefix=/usr/ --enable-selinux --enable-pkgconfig --with-usrlibdir=/usr/lib64 --with-usrsbindir=/usr/sbin --with-default-dm-run-dir=/run --with-tmpfilesdir=/usr/lib/tmpfiles.d --with-thin=internal --with-device-gid=6 --with-device-mode=0640 --with-device-uid=0 --with-dmeventd-path=/usr/sbin/dmeventd --with-thin-check=/usr/sbin/thin_check --with-thin-dump=/usr/sbin/thin_dump --with-thin-repair=/usr/sbin/thin_repair --enable-applib --enable-blkid_wiping --enable-cmdlib --enable-lvmetad --enable-lvmpolld --enable-realtime --with-cache=internal --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm tb0307-nd1:~ # Thanks Gang ___ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/