Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

dmsetup remove a flashcache device whose cache mode is writethrough or writearound would hang or reboot the host #222

Open
areschen2015 opened this issue Jun 4, 2016 · 0 comments

Comments

@areschen2015
Copy link

[root@stor01 ~]# flashcache_create -p thru -b 8k cachethru /dev/vgssd101/lvssd /dev/vgdata101/lvhdd
cachedev cachethru, ssd_devname /dev/vgssd101/lvssd, disk_devname /dev/vgdata101/lvhdd cache mode WRITE_THROUGH
block_size 16, cache_size 0
ISE metadata will use 30MB of your 7822MB main memory
[root@stor01 ~]# dmsetup table cachethru
0 209715200 ise conf:
ssd dev (/dev/vgssd101/lvssd), disk dev (/dev/vgdata101/lvhdd) cache mode(WRITE_THROUGH)
capacity(10240M), associativity(512), data block size(8K)
skip sequential thresh(0K)
total blocks(1310720), cached blocks(0), cache percent(0)
nr_queued(0)
Size Hist: 512:369097 4096:4974564
[root@stor01 ~]# dmsetup remove cachethru

Then the host hangs without no response.
Other host would reboot without any messages in /var/log/messages, and this cache device is removed successfully.
The same issue as writearound.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant