Lars Nordin wrote:

Sorry if this is the wrong place to ask, but I'm not finding help
elsewhere. I'm trying to restore a ntfsclone backup but getting an out
of space error.

|ntfsclone --restore-image --overwrite /dev/loop0p1 sda3.ntfs
ntfsclone v2017.3.23 (libntfs-3g)
Ntfsclone image version: 10.1
Cluster size           : 4096 bytes
Image volume size      : 489148116992 bytes (489149 MB)
Image device size      : 489148121088 bytes
Space in use           : 28100 MB (5.7%)
Offset to image data   : 56 (0x38) bytes
Restoring NTFS from image ...
ERROR(28): Write failed: No space left on device|

When I restore the image to a file, I get 450 GB partition image so the
partition has enough space.The partitioning of the virtual disk that I'm
trying to restore to looks correct but complains that the physical and
logical ending differ.

If you could restore to a file, your backup image is
probably correct.

|fdisk -lu new-vm
You must set cylinders.
You can do this from the extra functions menu.
Disk new-vm: 0 MB, 0 bytes
4 heads, 32 sectors/track, 0 cylinders, total 0 sectors

IMHO the data above shows an incorrectly created virtual
disk, or an incorrectly partitioned one.

If fdisk cares about cylinders, it is assuming sectors
are designated by C+H+S (cylinder, head, sector), which is
inappropriate for a large disk (LBA has to be used instead).

From your post, it is not clear you are accessing the
virtual disk from the guest. If you are accessing it from
the host, fdisk can probably not interpret the extra layer.

Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00084f84

Device Boot      Start         End      Blocks   Id  System
new-vm1            2048   964689919   482343936    7  HPFS/NTFS
Partition 1 has different physical/logical endings:
  phys=(1023, 3, 32) logical=(7536639, 3, 32)|

Thanks in advance for the help!



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to