issue: lvm auto activate rmeta/rimage instead of the LV on these raid LVs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: lvmdump-kXuan-nas-20200709140309.tgz
Description: application/compressed-tar

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux