PDA

View Full Version : A solution: not enough disk space


BunchofTV
02-07-2007, 12:08 AM
Ah! the end tivo works again. Took a little while and several times it appeared to be a failure but with the aid of mfstools all is well in the living room.

Progressing from stuttering fast forward to freezes landed me infront of my old computer trying to get mfstools to backup and then restore an old hard drive of the same size as the failing tivo drive.

Anyone else going through the steps to replace a hard drive may get a message after completing mfsbackup and starting mfsrestore that says there is not enough diskspace to restore (or some such). This does not mean your drive is to small.

If after

mfsrestore -s 127 -bzpi /mnt/dos/tivo.bak /dev/hdb

you immediately get a message saying there is not enough disk space try this.

mfsrestore -s 64 -bzpi /mnt/dos/tivo.bak /dev/hdb

this makes a swap partition of 64MB rather then 127MB. For me attempting to restore a backup with 64MB swap partition (what my failing tivo drive had) as a 127MB swap partition (what I dutifully copied from instructions) was the cause of the not enough disk space message.

One can find the swap partition size of the old tivo drive being backed up using pdisk.

pdisk -i
L (at pdisk prompt; appears after pdisk starts)

lessd
02-07-2007, 12:32 AM
Ah! the end tivo works again. Took a little while and several times it appeared to be a failure but with the aid of mfstools all is well in the living room.

Progressing from stuttering fast forward to freezes landed me infront of my old computer trying to get mfstools to backup and then restore an old hard drive of the same size as the failing tivo drive.

Anyone else going through the steps to replace a hard drive may get a message after completing mfsbackup and starting mfsrestore that says there is not enough diskspace to restore (or some such). This does not mean your drive is to small.

If after

mfsrestore -s 127 -bzpi /mnt/dos/tivo.bak /dev/hdb

you immediately get a message saying there is not enough disk space try this.

mfsrestore -s 64 -bzpi /mnt/dos/tivo.bak /dev/hdb

this makes a swap partition of 64MB rather then 127MB. For me attempting to restore a backup with 64MB swap partition (what my failing tivo drive had) as a 127MB swap partition (what I dutifully copied from instructions) was the cause of the not enough disk space message.

One can find the swap partition size of the old tivo drive being backed up using pdisk.

pdisk -i
L (at pdisk prompt; appears after pdisk starts)

Maxtor 40G and 80G Hard drives are a little bigger than Seagete 40G and 80G Hard drives so if an original TiVo image was originally on a Maxtor Hard drive it can't be moved to a Seagete drive of the same size. (there is a solution for this but its complicated) I don't think the problem can be solved with just changing the swap size

BunchofTV
02-07-2007, 05:13 PM
Nice to know and perhaps your right that this wouldn't work for replacing a maxtor with a seagete drive but if your drive is large enough, in my case both drives where maxtors, its still possible to get a not enough disk space error message. Even though the size of your drive is adequate.

Its worth trying for anyone that thinks there drive is big enough but can't get past mfsrestore kicking out a not enough disk space error.