ITPub博客

首页 > Linux操作系统 > Linux操作系统 > cv8.0 image level restore to raw partitions on Linux

cv8.0 image level restore to raw partitions on Linux

原创 Linux操作系统 作者:lhl1212 时间:2011-01-27 15:10:35 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    502507