gpontis
05-20-2005, 09:05 PM
I am having some problems using mfstools-2 to copy a 120G drive to a 200G drive. The 120G drive was already expanded once from the original 40G in a HDVR2 DTivo. I tried booting off the PTV lba48 upgrade disk to do this without success.
./mfstools backup -o - /dev/hdb | ./mfsrestore restore -xi - /dev/hdc
After scanning the source drive, it reports failure on restore, saying that "the backup target is not large enough for the entire backup by itself". And this even though the uncompressed backup was only 1.2G.
I also tried running mfstool under a current version of Fedora3 where fdisk recognized the new drive as 200G and no partitions. The result was the same. For grins I tried a statically linked development snapshot of the latest mfstool but that bombed with a seg fault. The drive configuration is:
pri master -> hda - Fedora
pri slave -> hdc - 200G target
sec master -> hdb 120G source
sec slave -> hdd CDROM
What I would _really_ like to do is to create a new drive with all the old recordings copied over. (So much the better if I can consolidate the MFS partitions at the same time, which mfstool does not do.) Perhaps create the partitions manually and copy them with dd ? I suspect that I need something that understands the database format to get recordings transfered. I'm sure that I am not the first to ask, but I have not been able to find a working procedure by searching the forums. Any pointers would be much appreciated.
./mfstools backup -o - /dev/hdb | ./mfsrestore restore -xi - /dev/hdc
After scanning the source drive, it reports failure on restore, saying that "the backup target is not large enough for the entire backup by itself". And this even though the uncompressed backup was only 1.2G.
I also tried running mfstool under a current version of Fedora3 where fdisk recognized the new drive as 200G and no partitions. The result was the same. For grins I tried a statically linked development snapshot of the latest mfstool but that bombed with a seg fault. The drive configuration is:
pri master -> hda - Fedora
pri slave -> hdc - 200G target
sec master -> hdb 120G source
sec slave -> hdd CDROM
What I would _really_ like to do is to create a new drive with all the old recordings copied over. (So much the better if I can consolidate the MFS partitions at the same time, which mfstool does not do.) Perhaps create the partitions manually and copy them with dd ? I suspect that I need something that understands the database format to get recordings transfered. I'm sure that I am not the first to ask, but I have not been able to find a working procedure by searching the forums. Any pointers would be much appreciated.