All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] After system reboot lvm2 is copying _from_ cachepool LV to origin (cached write-through) LV ?
@ 2016-08-04 12:45 Mateusz Korniak
  0 siblings, 0 replies; only message in thread
From: Mateusz Korniak @ 2016-08-04 12:45 UTC (permalink / raw)
  To: LVM general discussion and development

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


-- 
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
 	krótko mówiąc - podpora społeczeństwa."
				Nikos Kazantzakis - "Grek Zorba"

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

only message in thread, other threads:[~2016-08-04 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-04 12:45 [linux-lvm] After system reboot lvm2 is copying _from_ cachepool LV to origin (cached write-through) LV ? Mateusz Korniak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.