LINUX.ORG.RU
ФорумAdmin

LVM2

 ,


0

1

Добрый день, столкнулся с такой штукой как логический рейд на LVM2, при попытке привязать к рейду том целостности, операция завершается сообщение killed.

Тома с метеоданными создаются, но самого тома целостности нет.

lvconvert --raidintegrity y vg_r/lv_r
  Creating integrity metadata LV lv_r_rimage_0_imeta with size 148.00 MiB.
  Logical volume "lv_r_rimage_0_imeta" created.
  Creating integrity metadata LV lv_r_rimage_1_imeta with size 148.00 MiB.
  Logical volume "lv_r_rimage_1_imeta" created.
  Using integrity block size 512 for file system block size 512.
Killed

lvs -a vg_r
  LV                  VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  lv_r                vg_r rwi-a-r---  10.00g                                    100.00          
  [lv_r_rimage_0]     vg_r iwi-aor---  10.00g                                                    
  lv_r_rimage_0_imeta vg_r -wi------- 148.00m                                                    
  [lv_r_rimage_1]     vg_r iwi-aor---  10.00g                                                    
  lv_r_rimage_1_imeta vg_r -wi-a----- 148.00m                                                    
  [lv_r_rmeta_0]      vg_r ewi-aor---   4.00m                                                    
  [lv_r_rmeta_1]      vg_r ewi-aor---   4.00m

как бы мне заставить это вот работать правильно???

Ответ на: комментарий от NyXzOr

Да, конечно, свободное место есть

lvconvert -vv --raidintegrity y vg_r/lv_r
  devices/hints not found in config: defaulting to all
  metadata/record_lvs_history not found in config: defaulting to 0
  global/locking_type not found in config: defaulting to 1
  devices/md_component_checks not found in config: defaulting to auto
  report/output_format not found in config: defaulting to basic
  log/report_command_log not found in config: defaulting to 0
  Obtaining the complete list of VGs before processing their LVs
  Processing VG vg_r 6tmfdh-GKlv-Irf1-YC4f-h52b-8Obp-qRRekX
  Locking /run/lock/lvm/V_vg_r WB
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rmeta_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_0.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rimage_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_0.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rmeta_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_1.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rimage_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_1.
  metadata/lvs_history_retention_time not found in config: defaulting to 0
  /dev/sda1: using cached size 41940992 sectors
  /dev/sdb1: using cached size 41940992 sectors
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rmeta_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_0.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rimage_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_0.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rmeta_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_1.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rimage_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_1.
  Adding vg_r/lv_r to the list of LVs to be processed.
  Processing LV lv_r in VG vg_r.
  Archiving volume group "vg_r" metadata (seqno 3).
  Creating integrity metadata LV lv_r_rimage_0_imeta with size 148.00 MiB.
  Creating logical volume lv_r_rimage_0_imeta
  Adding segment of type striped to LV lv_r_rimage_0_imeta.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rmeta_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_0.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rimage_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_0.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rmeta_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_1.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rimage_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_1.
  Creating volume group backup "/etc/lvm/backup/vg_r" (seqno 4).
  Deactivating logical volume vg_r/lv_r_rimage_0_imeta.
  Logical volume "lv_r_rimage_0_imeta" created.
  activation/volume_list configuration setting not defined: Checking only host tags for vg_r/lv_r_rimage_0_imeta.
  activation/verify_udev_operations not found in config: defaulting to 0
  Getting driver version
  Getting target version for linear
  Found linear target v1.4.0.
  Getting target version for striped
  Found striped target v1.6.0.
  Creating vg_r-lv_r_rimage_0_imeta
  Loading table for vg_r-lv_r_rimage_0_imeta (253:7).
  Resuming vg_r-lv_r_rimage_0_imeta (253:7).
  Initializing 4.00 KiB of logical volume vg_r/lv_r_rimage_0_imeta with value 0.
  Removing vg_r-lv_r_rimage_0_imeta (253:7)
  Creating integrity metadata LV lv_r_rimage_1_imeta with size 148.00 MiB.
  Creating logical volume lv_r_rimage_1_imeta
  Adding segment of type striped to LV lv_r_rimage_1_imeta.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rmeta_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_0.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rimage_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_0.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rmeta_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_1.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rimage_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_1.
  Creating volume group backup "/etc/lvm/backup/vg_r" (seqno 5).
  Deactivating logical volume vg_r/lv_r_rimage_1_imeta.
  Logical volume "lv_r_rimage_1_imeta" created.
  activation/volume_list configuration setting not defined: Checking only host tags for vg_r/lv_r_rimage_1_imeta.
  Creating vg_r-lv_r_rimage_1_imeta
  Loading table for vg_r-lv_r_rimage_1_imeta (253:7).
  Resuming vg_r-lv_r_rimage_1_imeta (253:7).
  /dev/vg_r/lv_r_rimage_0_imeta: lstat failed: No such file or directory
  Initializing 4.00 KiB of logical volume vg_r/lv_r_rimage_1_imeta with value 0.
  Removing vg_r-lv_r_rimage_1_imeta (253:7)
  Using integrity block size 512 for unknown file system block size, logical block size 512, physical block size 512.
  Creating logical volume lv_r_rimage_0_iorig
  Inserting layer lv_r_rimage_0_iorig for lv_r_rimage_0
  Stack vg_r/lv_r_rimage_0:0[0] on LV vg_r/lv_r_rimage_0_iorig:0.
  Adding vg_r/lv_r_rimage_0:0 as an user of vg_r/lv_r_rimage_0_iorig.
  Creating logical volume lv_r_rimage_1_iorig
  Inserting layer lv_r_rimage_1_iorig for lv_r_rimage_1
  Stack vg_r/lv_r_rimage_1:0[0] on LV vg_r/lv_r_rimage_1_iorig:0.
  Adding vg_r/lv_r_rimage_1:0 as an user of vg_r/lv_r_rimage_1_iorig.
  Updating logical volume vg_r/lv_r on disk(s).
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rmeta_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_0.
  Stack vg_r/lv_r:0[0] on LV vg_r/lv_r_rimage_0:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_0.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rmeta_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rmeta_1.
  Stack vg_r/lv_r:0[1] on LV vg_r/lv_r_rimage_1:0.
  Adding vg_r/lv_r:0 as an user of vg_r/lv_r_rimage_1.
  Stack vg_r/lv_r_rimage_0:0[0] on LV vg_r/lv_r_rimage_0_iorig:0.
  Adding vg_r/lv_r_rimage_0:0 as an user of vg_r/lv_r_rimage_0_iorig.
  Adding vg_r/lv_r_rimage_0:0 as an user of vg_r/lv_r_rimage_0_imeta.
  Stack vg_r/lv_r_rimage_1:0[0] on LV vg_r/lv_r_rimage_1_iorig:0.
  Adding vg_r/lv_r_rimage_1:0 as an user of vg_r/lv_r_rimage_1_iorig.
  Adding vg_r/lv_r_rimage_1:0 as an user of vg_r/lv_r_rimage_1_imeta.
  /dev/sda1: read_ahead is 8192 sectors
  /dev/sdb1: read_ahead is 8192 sectors
  Getting target version for raid
  Found raid target v1.15.1.
  Getting target version for raid
  Found raid target v1.15.1.
  Getting target version for integrity
  Executing: /usr/sbin/modprobe dm-integrity
  Getting target version for integrity
  Found integrity target v1.6.0.
  Getting target version for integrity
  Found integrity target v1.6.0.
  Creating vg_r-lv_r_rimage_1_imeta
  Loading table for vg_r-lv_r_rimage_1_imeta (253:7).
  Resuming vg_r-lv_r_rimage_1_imeta (253:7).
  Creating vg_r-lv_r_rimage_1_iorig
  Loading table for vg_r-lv_r_rimage_1_iorig (253:8).
  Resuming vg_r-lv_r_rimage_1_iorig (253:8).
  Loading table for vg_r-lv_r_rimage_1 (253:5).
  Loading table for vg_r-lv_r_rmeta_1 (253:4).
  Suppressed vg_r-lv_r_rmeta_1 (253:4) identical table reload.
  Creating vg_r-lv_r_rimage_0_imeta
  Loading table for vg_r-lv_r_rimage_0_imeta (253:9).
  Resuming vg_r-lv_r_rimage_0_imeta (253:9).
  Creating vg_r-lv_r_rimage_0_iorig
  Loading table for vg_r-lv_r_rimage_0_iorig (253:10).
  Resuming vg_r-lv_r_rimage_0_iorig (253:10).
  Loading table for vg_r-lv_r_rimage_0 (253:3).
Killed
snofroy ()
Ответ на: комментарий от snofroy

Смотри dmesg

Сложно представить, но похоже на OOM killer

futurama ★★★★★ ()
Для того чтобы оставить комментарий войдите или зарегистрируйтесь.