{"action":"created","issue":{"url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/142","repository_url":"https://api.github.com/repos/akiradeveloper/dm-writeboost","labels_url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/142/comments","events_url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/142/events","html_url":"https://github.com/akiradeveloper/dm-writeboost/issues/142","id":171810742,"number":142,"title":"Need help with creating a ram block device.","user":{"login":"joeey1984ad","id":12181529,"avatar_url":"https://avatars.githubusercontent.com/u/12181529?v=3","gravatar_id":"","url":"https://api.github.com/users/joeey1984ad","html_url":"https://github.com/joeey1984ad","followers_url":"https://api.github.com/users/joeey1984ad/followers","following_url":"https://api.github.com/users/joeey1984ad/following{/other_user}","gists_url":"https://api.github.com/users/joeey1984ad/gists{/gist_id}","starred_url":"https://api.github.com/users/joeey1984ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeey1984ad/subscriptions","organizations_url":"https://api.github.com/users/joeey1984ad/orgs","repos_url":"https://api.github.com/users/joeey1984ad/repos","events_url":"https://api.github.com/users/joeey1984ad/events{/privacy}","received_events_url":"https://api.github.com/users/joeey1984ad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"akiradeveloper","id":785824,"avatar_url":"https://avatars.githubusercontent.com/u/785824?v=3","gravatar_id":"","url":"https://api.github.com/users/akiradeveloper","html_url":"https://github.com/akiradeveloper","followers_url":"https://api.github.com/users/akiradeveloper/followers","following_url":"https://api.github.com/users/akiradeveloper/following{/other_user}","gists_url":"https://api.github.com/users/akiradeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/akiradeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiradeveloper/subscriptions","organizations_url":"https://api.github.com/users/akiradeveloper/orgs","repos_url":"https://api.github.com/users/akiradeveloper/repos","events_url":"https://api.github.com/users/akiradeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/akiradeveloper/received_events","type":"User","site_admin":false},"assignees":[{"login":"akiradeveloper","id":785824,"avatar_url":"https://avatars.githubusercontent.com/u/785824?v=3","gravatar_id":"","url":"https://api.github.com/users/akiradeveloper","html_url":"https://github.com/akiradeveloper","followers_url":"https://api.github.com/users/akiradeveloper/followers","following_url":"https://api.github.com/users/akiradeveloper/following{/other_user}","gists_url":"https://api.github.com/users/akiradeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/akiradeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiradeveloper/subscriptions","organizations_url":"https://api.github.com/users/akiradeveloper/orgs","repos_url":"https://api.github.com/users/akiradeveloper/repos","events_url":"https://api.github.com/users/akiradeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/akiradeveloper/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-08-18T03:33:09Z","updated_at":"2016-08-19T09:03:34Z","closed_at":null,"body":"@akiradeveloper \r\n\r\nThanks for clarifying the last issue. I have a question regarding building the writeboost cache with a ram block device instead of SSD. however when I create the writeboost device with ram block, the performance is very poor. I wanted to know if the steps I am making in terms of creating ram device is correct? \r\n\r\n1. /bin/dd if=/dev/zero of=/tmp/ramloop0 bs=333048576 count=4096\r\n2. /sbin/losetup -v /dev/loop0 /tmp/ramloop0\r\n3. chown root:disk /dev/loop0 \r\n4. sudo dmsetup create mylv --table \"0 `blockdev --getsize /dev/md0` writeboost /dev/md0 /dev/loop0\"\r\n5. mkfs.ext4   /dev/mapper/mylv\r\n6. mount /dev/mapper/mylv /home"},"comment":{"url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/comments/240966638","html_url":"https://github.com/akiradeveloper/dm-writeboost/issues/142#issuecomment-240966638","issue_url":"https://api.github.com/repos/akiradeveloper/dm-writeboost/issues/142","id":240966638,"user":{"login":"joeey1984ad","id":12181529,"avatar_url":"https://avatars.githubusercontent.com/u/12181529?v=3","gravatar_id":"","url":"https://api.github.com/users/joeey1984ad","html_url":"https://github.com/joeey1984ad","followers_url":"https://api.github.com/users/joeey1984ad/followers","following_url":"https://api.github.com/users/joeey1984ad/following{/other_user}","gists_url":"https://api.github.com/users/joeey1984ad/gists{/gist_id}","starred_url":"https://api.github.com/users/joeey1984ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeey1984ad/subscriptions","organizations_url":"https://api.github.com/users/joeey1984ad/orgs","repos_url":"https://api.github.com/users/joeey1984ad/repos","events_url":"https://api.github.com/users/joeey1984ad/events{/privacy}","received_events_url":"https://api.github.com/users/joeey1984ad/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T09:03:34Z","updated_at":"2016-08-19T09:03:34Z","body":"Perfect, it makes sense.\r\n One last question. As you mentioned if the SSD caching device fails the HDD goes back to snapshot and loses some dirty blocks. Imagine such a case happens and I want to add a new SSD cache device to the old HDD containing the DATA. Is writeboost able to be created to a HDD that already has the old DATA. \r\nOne of the steps is, 'mkfs.ext4 -b 4096 /dev/mapper/mylv'. Wouldn't that destroy the whole data. Can the /dev/mapper/mylv be mounted without mkfs?"}}
{"actor":{"display_login":"joeey1984ad"}}