Changes between Version 34 and Version 35 of TipAndDoc/storage/filesystem


Ignore:
Timestamp:
Jun 29, 2013 2:50:14 PM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/storage/filesystem

    v34 v35  
    1111 * [http://fsbench.filesystems.org/ File and Storage System Benchmarking Portal] 
    1212 * [http://www.nminoru.jp/~nminoru/unix/fs_benchmarks.html#primitive ファイルシステムのベンチマーク集] 
     13 
     14 = mount filesystem inside disk image = 
     15 * [http://yudoufu.github.io/blog/2012/04/28/vm-mount-memo/ VM disk image の mount 方法いくつかメモ - (」・ω・)」うー!(/・ω・)/にゃー!] 
     16 * [http://www.andremiller.net/content/mounting-hard-disk-image-including-partitions-using-linux Mounting a hard disk image including partitions using Linux | andremiller.net] 
     17 
     18 1. $ sudo fdisk -lu /path/to/libvirt/win-7.img 
     19{{{ 
     20Disk /path/to/libvirt/win-7.img: 34.4 GB, 34359738368 bytes 
     21255 heads, 63 sectors/track, 4177 cylinders, total 67108864 sectors 
     22Units = sectors of 1 * 512 = 512 bytes 
     23Sector size (logical/physical): 512 bytes / 512 bytes 
     24I/O size (minimum/optimal): 512 bytes / 512 bytes 
     25Disk identifier: 0x2452e44f 
     26 
     27                     Device Boot      Start         End      Blocks   Id  System 
     28/path/to/libvirt/win-7.img1   *        2048      206847      102400    7  HPFS/NTFS/exFAT 
     29/path/to/libvirt/win-7.img2          206848    67106815    33449984    7  HPFS/NTFS/exFAT 
     30}}} 
     31 1. $ sudo mount -r -t ntfs {{{-o loop,offset=$((206848*512))}}} /path/to/libvirt/win-7.img /mnt 
    1332 
    1433 = tools =