トップ «前の日記(2022-03-08(Tue)) 最新 次の日記(2022-03-28(Mon))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2022-03-10(Thu) こちらはあまり

ディスクイメージからHDDに

ddrescue

kvmで動かしている仮想マシンのストレージを ddrescue でベタ書きして、リアルPCで動作させてみる。
一応、大体動くようだ。

$ time sudo ddrescue -f qemu.img /dev/sda log
GNU ddrescue 1.23
Press Ctrl-C to interrupt
     ipos:   75161 MB, non-trimmed:        0 B,  current rate:   1006 MB/s
     opos:   75161 MB, non-scraped:        0 B,  average rate:    100 MB/s
non-tried:        0 B,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:   75161 MB,   bad areas:        0,        run time:     12m 28s
pct rescued:  100.00%, read errors:        0,  remaining time:         n/a
                              time since last successful read:         n/a
 
Finished
 
real    12m41.034s
user    0m0.002s
sys     0m0.019s

リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。