-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behaviour: a write trough volume can be created, a write back can't - same device #103
Comments
@pkoutoupis
|
I am very limited with what I can do with dm-writecache since it isn't my driver or project. With regards to this:
The dmsetup technically did execute without error but driver did not like the input. This was always a problem when relying on the device-mapper framework since day one. That is why I write:
That the command was sent and to verify that it was created. |
@pkoutoupis Thank you, this is an important information... maybe I should arrange the scripts in such a way they don't rely on the return code only. Thanks for the explanation! I have a question, not strictly related to this (non existing) issue: in the help there is this example:
This should create something like this (on my system):
The device mounted is I suppose what happens is this: the application writes to Target 2 which caches data and sends it to Target 1 after a while. When this appens, Target 1 does not caches the writes (cause it is write-around mode) and put data on the disk. While reading, the application reads from Target 2, which does not cache reads; Target 2 reads from from Target 1 which reads from disk and caches data. Is this correct? Is the goal to take advantage of both I do apologize if I missed somethnig in the documentation; I don't know anything of this kind of low-level programming! Regards |
Yes. You are correct in your understanding of the above setup. |
Thank you. Maybe you can add this infos in the documentation, since it's a nice and interesting approach to Regards |
Hello,
I noticed this strange problem - I don't know if is a rapiddisk's one or not.
I create a ramdisk, I try to attach it to a partition in wt/wa mode, all is ok.
But if I try to attach it to the same partition in wb mode, I got an error (rapiddisk exit with 0 though).
From
dmesg
:From
lsblk
:The size of the partion in bytes divided by the physical sector size:
The size of the partion in bytes divided by the logical sector size:
Regards
The text was updated successfully, but these errors were encountered: