Mateusz Korniak
2016-08-04 12:45:15 UTC
I "lost" one of HDD which contained origin cached LV.
After hard reboot, I see HDD back, but LVM is syncing _from_ cachepool to
origin (cached) disk .
As it is write-through cache it makes no sense to me. :/
Can anybody explain what is going on here?
TIA, regards,
# lvs -o+cache_policy,cache_settings,chunksize,devices
LV VG Attr LSize Pool
Origin Data% Meta% Move Log Cpy%Sync Convert CachePolicy CacheSettings
Chunk Devices
cass1_biuro_data vg_cached Cwi-aoC--- 1.76t
[cass1_biuro_data_cachepool] 100.00 26.06 88.68 mq
read_promote_adjustment=1 64.00k cass1_biuro_data_corig(0)
# dmsetup status vg_cached-cass1_biuro_data
0 3783884800 cache 8 5605/21504 128 1884160/1884160 9886481 17995266 908336
1489671 0 3 1657503 1 writethrough 2 migration_threshold 2048 mq 10
random_threshold 0 sequential_threshold 0 discard_promote_adjustment 0
read_promote_adjustment 0 write_promote_adjustment 0 rw -
Linux host8 4.6.3-1 #1 SMP Sun Jun 26 11:11:38 CEST 2016 x86_64
AMD_Phenom(tm)_II_X6_1090T_Processor PLD Linux
# rpm -q lvm2
lvm2-2.02.149-1.x86_64
After hard reboot, I see HDD back, but LVM is syncing _from_ cachepool to
origin (cached) disk .
As it is write-through cache it makes no sense to me. :/
Can anybody explain what is going on here?
TIA, regards,
# lvs -o+cache_policy,cache_settings,chunksize,devices
LV VG Attr LSize Pool
Origin Data% Meta% Move Log Cpy%Sync Convert CachePolicy CacheSettings
Chunk Devices
cass1_biuro_data vg_cached Cwi-aoC--- 1.76t
[cass1_biuro_data_cachepool] 100.00 26.06 88.68 mq
read_promote_adjustment=1 64.00k cass1_biuro_data_corig(0)
# dmsetup status vg_cached-cass1_biuro_data
0 3783884800 cache 8 5605/21504 128 1884160/1884160 9886481 17995266 908336
1489671 0 3 1657503 1 writethrough 2 migration_threshold 2048 mq 10
random_threshold 0 sequential_threshold 0 discard_promote_adjustment 0
read_promote_adjustment 0 write_promote_adjustment 0 rw -
Linux host8 4.6.3-1 #1 SMP Sun Jun 26 11:11:38 CEST 2016 x86_64
AMD_Phenom(tm)_II_X6_1090T_Processor PLD Linux
# rpm -q lvm2
lvm2-2.02.149-1.x86_64
--
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
krótko mówiąc - podpora społeczeństwa."
Nikos Kazantzakis - "Grek Zorba"
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
krótko mówiąc - podpora społeczeństwa."
Nikos Kazantzakis - "Grek Zorba"