TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Upgrade Center
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 12-22-2005, 07:36 PM   #1
HoosierTivoDaddy
Registered User
 
Join Date: Sep 2005
Location: Northern IN
Posts: 92
Please Help with Shrink

I have done several upgrades. No problem, thanks for all the posts.

Question: What is the exact syntax to get a backup image that can be expanded again from an already expanded image?

i.e.: I have a TCD140060 that has already been upgraded to 120GB drive that is showing signs of failing again. I would like to backup the current image (with the current software ver 7.2x) and image a new 300GB drive. I understand that I will not be able to save the recordings but am not clear on this syntax.

Thank you!
HoosierTivoDaddy is offline   Reply With Quote
Old 12-22-2005, 08:56 PM   #2
funtoupgrade
Registered User
 
Join Date: Mar 2005
Posts: 1,981
As far as I know this is not possible. You get one expansion only. If you can get your hands on a 60GB drive, you could stick it in temporarily until is gets 7.2 then backup and restore to the 300GB drive. You would also then have the image in case something goes wrong in the near future.
__________________
funtoupgrade

TiVo 240060 with 200GB Seagate
Humax DRT800 with 300GB Seagate
____________________________

Bought over 400 TiVos on eBay, most
without problems - subbed & unsubbed units
funtoupgrade is offline   Reply With Quote
Old 12-22-2005, 09:33 PM   #3
HomeUser
Registered User
 
HomeUser's Avatar
 
Join Date: Jan 2003
Location: A2 Michigan
Posts: 1,864
Use the -s option in the mfsbackup
something like mfsbackup -f9999 -6so /mnt/fat32/myTiVo60Hr.bak /dev/hda

Should create an image representing the TiVo's original drive size.
HomeUser is offline   Reply With Quote
Old 12-23-2005, 02:40 AM   #4
mick66
Dirty Burger
 
mick66's Avatar
 
Join Date: Oct 2004
Location: The 'verse
Posts: 4,869
Quote:
Originally Posted by funtoupgrade
As far as I know this is not possible.
It's been possible for many uears and most people do it without even knowing that they are "shrinking" the image to it's original size because it's part of the commonly used backup command strings.

Quote:
You get one expansion only. If you can get your hands on a 60GB drive, you could stick it in temporarily until...
???
mick66 is offline   Reply With Quote
Old 12-23-2005, 09:15 AM   #5
Dan Collins
UltraGeek
 
Dan Collins's Avatar
 
Join Date: Aug 2002
Posts: 1,107
If you are making a backup, and assuming you have mounted a DOS drive to receive the backup under /mnt/dos (insert the correct drive identifer for hdX):
Code:
mfsbackup -f 9999 -6so /mnt/dos/tivo.bak /dev/hdX
To restore that backup:
Code:
mfsrestore -s 127 -xzpi /mnt/dos/tivo.bak /dev/hdX
If you want to copy from one drive directly to another (replace hdX with the source and hdY with the new drive designations):
Code:
mfsbackup -f 9999 -so - /dev/hdX | mfsrestore -s 127 -xzpi - /dev/hdY
In all cases the key options are:
In mfsbackup....
-s ..... Shrinks the volume set. This will divorce two drive installations, and will allow the backup to be restored to a drive of the same size as the original, or larger, and be "re-expanded."

-f 9999 ..... On a Series 2, this is required to include all the background animations (on a Series 1, the default value of 2000 is sufficient)

In mfsrestore....
-x ..... Expands the MFS volume space to fill the drive

-z ..... Zeros out partions not backed up.
__________________
310 GB DSR-704
250 GB SIR-4040
240 GB SD-DVR80
240 GB DSR-708
80 GB DSR-7000 (Slingbox attached)
(All w/MRV)

Administrator -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Dan Collins is offline   Reply With Quote
Old 12-23-2005, 09:34 AM   #6
HoosierTivoDaddy
Registered User
 
Join Date: Sep 2005
Location: Northern IN
Posts: 92
Thank you! As Mick66 mentioned, I have been doing it all this time an not knowing it. I thought all this time that the -6so option was used to compress (the -s) the backup and the "6" set the compression ratio. Thank you for the clarification!
HoosierTivoDaddy is offline   Reply With Quote
Old 02-22-2006, 07:40 PM   #7
HoosierTivoDaddy
Registered User
 
Join Date: Sep 2005
Location: Northern IN
Posts: 92
Finally getting ready to do my upgrade... from a 120GB to 200GB and I will have to use the shrink command.

Q: Will the -s command preserve my season passes and settings?
(I know recordings will be gone).

Thanks!
HoosierTivoDaddy is offline   Reply With Quote
Old 02-23-2006, 10:14 AM   #8
thepackfan
Registered User
 
Join Date: May 2003
Location: Plano, TX
Posts: 482
No, basically a new install.
__________________
3 HR10-250 (63hrs&40)
2 HDVR2 (145 Hours)
1 DSR7000 (150 Hours running 6.2)
Samsung HLP5063
thepackfan is offline   Reply With Quote
Old 02-23-2006, 10:36 AM   #9
blindlemon
tivoheaven.co.uk
 
Join Date: May 2002
Location: Malmesbury, UK
Posts: 5,553
Quote:
Originally Posted by thepackfan
No, basically a new install.
Not true. The -s option will drop your recordings but everything else will be preserved.

If -s fails to shrink your backup properly then you may need to use my DeleteAll script (assuming you have network access) to fully delete all recordings before re-attempting the backup.
__________________
6023, Lifetime, 240gb, Sky, CC, Mode 0, 100 SPs/AWLs
6022, Lifetime, 250gb, Freeview, CC, Mode 0, 90 SPs/AWLs
601E, my 'test' machine!



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
or call 08452 696 204 ;)
blindlemon is online now   Reply With Quote
Old 02-23-2006, 04:25 PM   #10
HoosierTivoDaddy
Registered User
 
Join Date: Sep 2005
Location: Northern IN
Posts: 92
Would it be just as easy to delete all recordings (preserving settings) before I remove the drive?
HoosierTivoDaddy is offline   Reply With Quote
Old 02-23-2006, 08:01 PM   #11
HomeUser
Registered User
 
HomeUser's Avatar
 
Join Date: Jan 2003
Location: A2 Michigan
Posts: 1,864
Yes, you can delete everything before the transfer and that is probably a good idea.

blindlemon, The -s shrinks the backup by removing the empty partitions. It is the f nnnn or -l n that removes the recordings.
Quote:
-s
Shrink the MFS volume A.K.A. "Divorce" the drive. Basically, after collecting a list of streams to backup, this will go through and see if any of the partitions don't have any data being backed up. If it finds this the case, it will remove any superfluous partitions from the description. (Only works if the ones not being backed up are at the end of the list. Ones in the middle aren't chopped off.)
reference:New MFS Tools features, and a question
HomeUser is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2008 Capable Networks LLC - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 02:56 PM.
OUR NETWORK: TechLore | Sling Community | Robo Community | MediaSmart Home | My Digital Entertainer | TouchSmart Community | Pogoplugged | DVR Playground