Your message dated Fri, 11 Aug 2017 22:42:10 +0200
with message-id <20170811204209.wzsodgdjdwbgy...@shell.thinkmo.de>
and subject line Re: Bug#871817: [lvm2] --mirrorlog is not accepted for 
mirrored volumes
has caused the Debian Bug report #871817,
regarding [lvm2] --mirrorlog is not accepted for mirrored volumes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
871817: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871817
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.168-2
Severity: important

--- Please enter the report below this line. ---

lvcreate and lvconvert don't allow specifying --mirrorlog/--corelog
when creating/modifying mirrored LV.

# lvcreate -L 256m -n test -m 1 --nosync --mirrorlog core araid
--mirrorlog is supported only with mirrors.
  Run `lvcreate --help' for more information.

# lvcreate -L 256m -n test araid
  Logical volume "test" created.
# lvconvert -m 1 araid/test
  Logical volume araid/test successfully converted.
# lvconvert araid/test -m 1 --corelog
  --corelog and --mirrorlog are only compatible with mirror devices

--- System information. ---
Architecture: 
Kernel:       Linux 4.12.5mq+

Debian Release: 9.1
  900 stable-debug    debug.mirrors.debian.org 
  900 stable          security.debian.org 
  900 stable          ftp.pl.debian.org 
  800 jessie-backports ftp.pl.debian.org 
  750 oldstable-proposed-updates ftp.pl.debian.org 
  750 oldstable       www.deb-multimedia.org 
  750 oldstable       security.debian.org 
  750 oldstable       ftp.pl.debian.org 
  700 unstable        ftp.pl.debian.org 
  600 experimental    ftp.pl.debian.org 
  500 unstable-debug  debug.mirrors.debian.org 
  500 stable          repository.spotify.com 
  500 stable          dl.google.com 
  500 proposed-updates ftp.pl.debian.org 
    1 experimental-debug debug.mirrors.debian.org 

--- Package information. ---
Depends                            (Version) | Installed
============================================-+-================
libblkid1                        (>= 2.24.2) | 
libc6                              (>= 2.15) | 
libdevmapper-event1.02.1      (>= 2:1.02.74) | 
libdevmapper1.02.1           (>= 2:1.02.135) | 
liblvm2app2.2                  (>= 2.02.168) | 
libreadline5                        (>= 5.2) | 
libudev1                            (>= 183) | 
init-system-helpers               (>= 1.18~) | 
lsb-base                                     | 
dmsetup                                      | 
dmeventd                                     | 


Package's Recommends field is empty.

Suggests                     (Version) | Installed
======================================-+-===========
thin-provisioning-tools                | 

--- End Message ---
--- Begin Message ---
Moin

On Fri, Aug 11, 2017 at 10:02:45PM +0200, mirq-debo...@rere.qmqm.pl wrote:
> # lvcreate -L 256m -n test -m 1 --nosync --mirrorlog core araid
> --mirrorlog is supported only with mirrors.
>   Run `lvcreate --help' for more information.
> 
> # lvcreate -L 256m -n test araid
>   Logical volume "test" created.
> # lvconvert -m 1 araid/test
>   Logical volume araid/test successfully converted.
> # lvconvert araid/test -m 1 --corelog
>   --corelog and --mirrorlog are only compatible with mirror devices

This is expected.  The option -m defaults to using the "raid1" type, not
longer "mirror".  raid1 does not use a log the same way, so it can't be
specified this way.

If you realy want to use the older mirror type, use "--type mirror", as
documented in lvcreate(8).

Bastian

-- 
Most legends have their basis in facts.
                -- Kirk, "And The Children Shall Lead", stardate 5029.5

--- End Message ---

Reply via email to