linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] issue: lvm auto activate rmeta/rimage instead of the LV on these raid LVs
@ 2020-07-09 14:26 Zhai Zhaoxuan
  0 siblings, 0 replies; only message in thread
From: Zhai Zhaoxuan @ 2020-07-09 14:26 UTC (permalink / raw)
  To: linux-lvm

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-09 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 14:26 [linux-lvm] issue: lvm auto activate rmeta/rimage instead of the LV on these raid LVs Zhai Zhaoxuan

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).