[Partclone-user] How to create a mountable image
Brought to you by:
thomas_tsai
|
From: detlef o. <d.o...@ui...> - 2013-06-27 09:03:36
|
Hello, thanks for this wonderful product. I try to create a product which creates an image of a partition and gives two different ways to restore: 1. copy the whole image back 2. remove all changes by an unidirectional rsync between the saved image and the productive partition. Point 1. is easy. The problem is Point 2. If I use 'partclone.ntfs --clone ' I get an image which can not be mounted in a usual way. It can be mounted using the partclone-utils via imagemount -d /dev/nbd0 -f myimage.img -m /mnt -r -t ntfs but in this mounted image all ntfs access informations are lost (for example symbolic links to directories you will see as real directories) If I use 'partclone.ntfs -b -s /dev/sda1 -O myimage.img' I get an mountable image with the correct ntfs informations and this image is only a little bit larger than the '--clone' version. But if I try to restore such an image with partclone.restore it proceeds until 99.88 % and than stops with an IO error. As far I could see the restore transfer rate was only about 0,9 GB/min and from the '--clone' image about 1.9 GB/min. Using ntfsclone leads to mountable images which have the same size than copied file system and contain all empty spaces. So my question is: Did I miss something ? Is there any way to get a small read only mountable image with a fast restore ? Thanks for any help d.oertel opsi - The open source client management system. http://opsi.org -- detlef oertel uib gmbh Firmensitz / Anschrift: Bonifaziusplatz 1B D-55118 Mainz internet: www.uib.de Geschäftsführer: dr. detlef oertel Handelsregister: Amtsgericht Mainz HRB 6942 |