FastVPSEestiOu / ploop_userspace

Tool for mounting OpenVZ ploop images (openvz.org/Ploop) without support from kernel side
GNU General Public License v2.0
16 stars 5 forks source link

Issue with GPT table #10

Closed pavel-odintsov closed 10 years ago

pavel-odintsov commented 10 years ago

  We process: /virtual/.snapshot/nightly.0/vz/private/2006/root.hdd/root.hdd
  Ploop file size is: 4193255424
  version: 1 disk type: 2 heads count: 16 cylinder count: 81920 sector count: 2048 size in tracks: 20480 size in sectors: 41943040 disk in use: 1953459801 first block offset: 2048 flags: 0
  For storing 21474836480 bytes on disk we need 20480 ploop blocks
  We have 1 BAT blocks
  We have 262128 slots in 1 map
  Number of non zero blocks in map: 3998
  Please be careful because this disk used now! If you need consistent backup please stop VE
  !!!ERROR!!! We can't found GPT table on this disk
  !!!ERROR!!! We can't find ext4 signature
  Set device /dev/nbd0 as read only
  Try to found partitions on ploop device
  First ploop partition was not detected properly, please call partx/partprobe manually
  You could mount ploop filesystem with command: mount -r -o noload /dev/nbd0p1 /mnt

Despite the errors, I tried to mount the ploop-partition:

$ mount -r  -o noload /dev/nbd0p1 /mnt/

and got:

  mount: special device /dev/nbd0p1 does not exist

Apparently, ploop_userspace wasn't able to read the GPT partition table.

Tell me, if you need further information.

Thanks,
Roman
pavel-odintsov commented 10 years ago

Fixed in https://github.com/FastVPSEestiOu/ploop_userspace/commit/92678c67d1d64fa3f46c3554c1dadef422c28d1d