cv8.0 image level restore to raw partitions on Linux

8.0 image level restore to raw partitions on Linux

Published 04/06/2009 05:10 PM   |    Updated 04/08/2009 11:04 AM


When restoring a raw device from an image level backup, the restore runs and succeeds, but no data appears to have been actually restored.

Cause:


An issue has been found with the image level restore of raw partitions where after the restore completes successfully, no data appears to be on the restored device.   This is because Linux tends to cache reads from the device and will not display the restored data until after clearing the disk cache.

Resolution:


To access the data restored to the raw device, use the hdparm command to flush the disk cache in the OS.  The syntax for this command is "hdparm -f /dev/sdAN" where A = the device node, and N = the partition on that node.


For example, after running an image level restore to raw device /dev/sda2, run the command "hdparm -f /dev/sda2" prior to accessing the newly restored data on the /dev/sda2 device.

Additional Info:


An enhancement request has been submitted to have the disk cache flushed automatically upon completion of the restore, in a future release.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/611609/viewspace-686383/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/611609/viewspace-686383/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值