linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zhai Zhaoxuan <kxuanobj@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] issue: lvm auto activate rmeta/rimage instead of the LV on these raid LVs
Date: Thu, 9 Jul 2020 22:26:33 +0800	[thread overview]
Message-ID: <26808893-36c1-281b-8c51-ec906c542748@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]

Hi,


As the "lvs -a" shows as followed, the "data" volume on "VG" is a 
mirrored logical volume. The underlying volumes are data_rimage_0, 
data_rimage_1, data_rmeta_0 and data_rmeta_1.

When the systemd boot up, the LVM should activate the "data" volume. But 
now, it only activate the four underlying volumes. It causes systemd 
unable to mount some mountpoint.

I can manually deactivate these volumes using "lvchange -an", and 
activate the "data" volume. After that, the "data" volume works normally.

Please help me to resolve this issue. I can provide more information if 
needed.

I am running an archlinux, using the newest lvm package (version: 
2.02.187(2)).

kXuan-nas% sudo lvs -a
   LV                      VG Attr       LSize   Pool Origin Data% 
Meta%  Move Log Cpy%Sync Convert
   data                    VG rwi---r--- 2.00t
   data-ext4-journal       VG -wi-a----- 1.00g
   [data_rimage_0]         VG Iwi-a-r-r- 2.00t
   [data_rimage_1]         VG Iwi-a-r-r- 2.00t
   [data_rmeta_0]          VG ewi-a-r-r- 4.00m
   [data_rmeta_1]          VG ewi-a-r-r- 4.00m
   home                    VG rwi---r--- 50.00g
   home-ext4-journal       VG -wi-a----- 1.00g
   [home_rimage_0]         VG Iwi-a-r-r- 50.00g
   [home_rimage_1]         VG Iwi-a-r-r- 50.00g
   [home_rmeta_0]          VG ewi-a-r-r- 4.00m
   [home_rmeta_1]          VG ewi-a-r-r- 4.00m
   laptop_iscsi            VG rwi---r--- 500.00g
   [laptop_iscsi_rimage_0] VG Iwi-a-r-r- 500.00g
   [laptop_iscsi_rimage_1] VG Iwi-a-r-r- 500.00g
   [laptop_iscsi_rmeta_0]  VG ewi-a-r-r- 4.00m
   [laptop_iscsi_rmeta_1]  VG ewi-a-r-r- 4.00m
   old_home                VG -wi-a----- 50.00g
   root                    VG -wi-ao---- 60.00g


   LVM version:     2.02.187(2) (2020-03-24)
   Library version: 1.02.170 (2020-03-24)
   Driver version:  4.41.0
   Configuration:   ./configure CONFIG_SHELL=/bin/bash --prefix=/usr 
--sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var 
--enable-applib --enable-cmdlib --enable-dmeventd --enable-lvmetad 
--enable-lvmpolld --enable-pkgconfig --enable-readline 
--enable-udev_rules --enable-udev_sync --enable-use-lvmetad 
--with-cache=internal --with-default-dm-run-dir=/run 
--with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run 
--with-default-run-dir=/run/lvm 
--with-systemdsystemunitdir=/usr/lib/systemd/system --with-thin=internal 
--with-udev-prefix=/usr --enable-udev-systemd-background-jobs


The attachment tarball generated by "lvmdump".


Thanks

Zhai Zhaoxuan


[-- Attachment #2: lvmdump-kXuan-nas-20200709140309.tgz --]
[-- Type: application/x-compressed-tar, Size: 163885 bytes --]

                 reply	other threads:[~2020-07-09 14:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26808893-36c1-281b-8c51-ec906c542748@gmail.com \
    --to=kxuanobj@gmail.com \
    --cc=linux-lvm@redhat.com \
    --subject='Re: [linux-lvm] issue: lvm auto activate rmeta/rimage instead of the LV on these raid LVs' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).