Dear prof,
Thanks a lot. We will try it out asap.
Thanks.
Alex Li Tak Ho
98765443
BizCONLINE Limited
Dear prof,
Thanks for your kind reply before, and I had tried below, and still have some problems.
1. Setup the cache
[root@localhost dm-cache]# ./dmc-setup.pl -o /dev/nbd0 -c /dev/loop0 -n foo (command “echo 0 4194304 cache /dev/nbd0 /dev/loop0 0 8 65536 16 0 | dmsetup create foo”)
Is OK.
2. Remove the cache
[root@localhost dm-cache]# dmsetup remove foo
Is OK.
3. Resetup the cache using persistence mode
[root@localhost dm-cache]# ./dmc-setup.pl -o /dev/nbd0 -c /dev/loop0 -n foo –p (command “echo 0 4194304 cache /dev/nbd0 /dev/loop0 1 | dmsetup create foo”)
Fail with output “device-mapper: reload ioctl failed: Invalid argument”
I am using CentOS5.5, kernel version 2.6.18
And the dm-cache source I used is in “stable/2.6.19/”
May I ask if there some error steps I did or I need to try another version?
Thanks a lot for you support.
--
Best Rgds,
Encore Deng
Mobile: (86) 134 161 259 40
BizCONLine Limited
Member company of Incu-Tech Programme, HKSTP
Tel: 3483 2050
Unit 222A, 2/F,Enterprise Place (Bldg 9),
No. 5 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
佛山公司地址:南海区瀚天科技城8号楼15层I105
佛山公司电话:0757-86989295
============
Cloud Backup with Continuity Assurance
发件人: Tak Ho, Alex Li [mailto:ale...@bizconline.com]
发送时间: 2013年9月27日 0:14
收件人: Ming Zhao
抄送: dm-c...@googlegroups.com; EncoreDeng
主题: Re: About Dm-cache with NBD
Dear Prof Ming,
I have do the testing below,
1. Setup a dm-cache device
“echo 0 4194304 cache /dev/nbd0 /dev/loop0 0 8 65536 16 1 | dmsetup create foo”
2. Mount the device
“mount /dev/mapper/foo /mountpoint/foo”
3. Delete the nbd
“nbd-client –d /dev/nbd0”
4. Try copy a file in /mountpoint/foo
But the copy action is hung, I resumed the nbd connection but no use.
As you said before, I can send a signal to dm-cache,
I have try “dmsetup message /dev/mapper/foo 0 flush” but it printf error “device-mapper: message ioctl failed: Invalid argument”.
Could you give some advice?
Thanks.
--
Best Rgds,
Encore Deng
Mobile: (86) 134 161 259 40
BizCONLine Limited
Member company of Incu-Tech Programme, HKSTP
Tel: 3483 2050
Unit 222A, 2/F,Enterprise Place (Bldg 9),
No. 5 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
佛山公司地址:南海区瀚天科技城8号楼15层I105
佛山公司电话:0757-86989295
============
Cloud Backup with Continuity Assurance
发件人: EncoreDeng [mailto:encor...@cn.bizconline.com]
发送时间: 2013年9月27日 17:21
收件人: 'Tak Ho, Alex Li'; 'Ming Zhao'
抄送: 'dm-c...@googlegroups.com'
主题: 答复: About Dm-cache with NBD
Dear prof,
Thanks for your kind reply before, and I had tried below, and still have some problems.
============
Cloud Backup with Continuity Assurance
发件人: Tak Ho, Alex Li [mailto:ale...@bizconline.com]
发送时间: 2013年9月27日 0:14
收件人: Ming Zhao
抄送: dm-c...@googlegroups.com; EncoreDeng
主题: Re: About Dm-cache with NBD
Dear prof,
Dear Prof Ming,
Thanks a lot for your reply.
In fact, I have try 3 version of dm-cache :
“dm-cache/testing/persistent-metadata” and “dm-cache/testing/shared-cache/2.6.32” in CentOS kernel version 2.6.32-358.14.1.el6.x86_64
“dm-cache/stable/2.6.19” in CentOS kernel version 2.6.18
--
Best Rgds,
Encore Deng
Mobile: (86) 134 161 259 40
BizCONLine Limited
Member company of Incu-Tech Programme, HKSTP
Tel: 3483 2050
Unit 222A, 2/F,Enterprise Place (Bldg 9),
No. 5 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
佛山公司地址:南海区瀚天科技城8号楼15层I105
佛山公司电话:0757-86989295
============
Cloud Backup with Continuity Assurance
发件人: EncoreDeng [mailto:encor...@cn.bizconline.com]
发送时间: 2013年10月1日 23:57
收件人: 'Tak Ho, Alex Li'; 'Ming Zhao'
抄送: 'dm-c...@googlegroups.com'
主题: 答复: About Dm-cache with NBD
Dear Prof Ming,
============
Cloud Backup with Continuity Assurance
发件人: EncoreDeng [mailto:encor...@cn.bizconline.com]
============
Cloud Backup with Continuity Assurance
发件人: Tak Ho, Alex Li [mailto:ale...@bizconline.com]
发送时间: 2013年9月27日 0:14
收件人: Ming Zhao
抄送: dm-c...@googlegroups.com; EncoreDeng
主题: Re: About Dm-cache with NBD
Dear prof,
Dear Dr,
Yes.
--
Best Rgds,
Encore Deng
Mobile: (86) 134 161 259 40
BizCONLine Limited
Member company of Incu-Tech Programme, HKSTP
Tel: 3483 2050
Unit 222A, 2/F,Enterprise Place (Bldg 9),
No. 5 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
佛山公司地址:南海区瀚天科技城8号楼15层I105
佛山公司电话:0757-86989295
============
Cloud Backup with Continuity Assurance
发件人: Tak Ho, Alex Li [mailto:ale...@bizconline.com]
发送时间: 2013年10月4日 13:26
收件人: EncoreDeng
抄送: Ming Zhao; dm-c...@googlegroups.com
主题: Re: 答复: About Dm-cache with NBD
Encore and Alex,
It seems you are using the dm-cache developed by redhat, not the one from VISA lab.
But I will try to have a student take a look of the redhat dm-cache. You can also try out our dm-cache.
- Ming
--
Dear Prof Ming,
Sorry, I don’t understand which one is developed by redhat.
I download the source code from https://github.com/mingzhao/dm-cache
And when I open the VISA lab as you said http://visa.cs.fiu.edu/tiki/dm-cache, I also see the source code link to GitHub.
May I ask if I got a wrong source code?
Thanks a lot for your kind help.
--
Best Rgds,
Encore Deng
Mobile: (86) 134 161 259 40
BizCONLine Limited
Member company of Incu-Tech Programme, HKSTP
Tel: 3483 2050
Unit 222A, 2/F,Enterprise Place (Bldg 9),
No. 5 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
佛山公司地址:南海区瀚天科技城8号楼15层I105
佛山公司电话:0757-86989295
============
Cloud Backup with Continuity Assurance
发件人: Tak Ho, Alex Li [mailto:ale...@bizconline.com]
发送时间: 2013年10月8日 19:27
收件人: Ming Zhao; EncoreDeng
抄送: dm-c...@googlegroups.com
主题: Re: [dmcache] 答复: 答复: About Dm-cache with NBD
For more options, visit https://groups.google.com/d/optout.