TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Upgrade Center
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 02-01-2005, 05:45 PM   #1
themitch
Registered User
 
Join Date: Dec 2004
Location: North London
Posts: 98
mfs command by accident

Hi guys

I have a series 1 tivo and was just about to copy from one 120gb hard disk to another, cause the first one has become corrupt.

Unfortunately, i read the instructions wrong and typed in mfsadd /dev/hdc /dev/hdd by accident and now i think i have added the two hard disks together.

Is this what I have done? and if it is, can i undo it?

Thanks
themitch is offline   Reply With Quote
Old 02-02-2005, 11:02 AM   #2
Robert S
Registered User
 
Join Date: Jul 2002
Location: Cambridgeshire, UK
Posts: 9,725
Yes, you married them

Probably the best way forward would be to get another 120 and copy the A drive on to that.
__________________
Please do not PM me asking for TiVo backups. I don't have any.
Robert S is offline   Reply With Quote
Old 02-02-2005, 11:24 AM   #3
themitch
Registered User
 
Join Date: Dec 2004
Location: North London
Posts: 98
is there really no way of divorcing them??? Surely there must be? I can't buy another hard disk ... i'll be broke at this rate!

Thanks
themitch is offline   Reply With Quote
Old 02-03-2005, 06:47 AM   #4
Robert S
Registered User
 
Join Date: Jul 2002
Location: Cambridgeshire, UK
Posts: 9,725
Presumably you want to save your recordings?

120Gb drives aren't that expensive these days.
__________________
Please do not PM me asking for TiVo backups. I don't have any.
Robert S is offline   Reply With Quote
Old 04-27-2006, 12:19 AM   #5
chales
Registered User
 
Join Date: Apr 2006
Posts: 13
Quote:
Originally Posted by Robert S
Presumably you want to save your recordings?

120Gb drives aren't that expensive these days.
I'm posting in another thread "the NOOB" and have done this exact thing *gives self slap upside the head!*

If you don't care at all about the recordings on the original drive, is there a way to get this to work?
chales is offline   Reply With Quote
Old 04-27-2006, 08:04 AM   #6
HomeUser
Registered User
 
HomeUser's Avatar
 
Join Date: Jan 2003
Location: A2 Michigan
Posts: 2,206
Quote:
Originally Posted by themitch
is there really no way of divorcing them??? Surely there must be? I can't buy another hard disk ... i'll be broke at this rate!

Thanks
Because you have not recorded anything on the new partition you can restore to a third drive with the -s (shrink) option in the backup.
HomeUser is offline   Reply With Quote
Old 04-27-2006, 07:09 PM   #7
wscannell
Member
 
Join Date: Dec 2003
Posts: 2,345
Or you could use mfsbackup with the -s option to create a backup of the two married drives. Then use mfsrestore to restore to the new 120 gb drive. The risk here is that if you make a backup that does not work for some reason, you will then not be able to repeat the backup.
wscannell is offline   Reply With Quote
Old 04-27-2006, 08:16 PM   #8
blindlemon
tivoheaven.co.uk
 
Join Date: May 2002
Location: Malmesbury, UK
Posts: 5,577
Quote:
Originally Posted by chales
I'm posting in another thread "the NOOB" and have done this exact thing *gives self slap upside the head!*

If you don't care at all about the recordings on the original drive, is there a way to get this to work?
It might even be possible to preserve some/most/all of your recordings if you have a spare 2gb FAT drive you can use for an intermediate minimal backup.

Assuming you haven't used the new drive-set and added any recordings, then the "B" drive will still be empty and, of course, the recordings that were on the "A" drive won't have moved. Therefore, if you make a minimal backup of the 2 drive set, specifying the -s option to discard empty partitions, then the backup should only contain partitions from the "A" drive. If you then unplug the "B" drive and restore that backup to the "A" drive, specifying the same size swapfile and the same blocksize (eg -r4) that you used when you created the original "A" drive, the system stuff should go back in the same place and the recordings should be untouched. However, as the backup won't contain the partition from the "B" drive, your "A" drive should be useable on its own

I've tested this on a couple of old drives and it seems to work. If you specify the wrong blocksize, then recordings in the 2nd MFS partition (if your "A" drive had 2) will be inaccessible. However, recordings from the 1st partition should all be intact. And, of course, all your settings, SPs, wishlists and thumb ratings will be preserved too.

The commands I used for my UK (S1) test TiVo (assuming "A" drive on hdc, temp FAT drive on /mnt/dos and "B" drive on hdd) were:-

mfsbackup -l32 -so /mnt/dos/temp.bak /dev/hdc /dev/hdd

(For US series 1 omit the -l32 and for US series 2 replace -l32 with -f 9999)

mfsrestore -s NNN -rX -xpi /mnt/dos/temp.bak /dev/hdc

(Set the swapsize NNN to whatever is on your existing "A" drive. If it is a stock drive then omit the swapsize parameter. If you didn't set a blocksize when expanding your "A" drive then omit the -rX. If it was a stock drive then use -r0, otherwise replace X with 1,2,3 or 4 depending on what you used. If you didn't use the p parameter when creating the original drive then leave it out now.)

Disclaimer: Although this worked on my UK test system, I've not tested it on a US Series 1 or 2 TiVo, and other factors may affect the result anyway, so you are taking a risk by trying this.

However, even it it fails, the intermediate backup you take should be useable to transfer your settings and SPs etc. to a new drive, so the worst that could happen is you lose all your recordings.
__________________
6023, Lifetime, 240gb, Sky, CC, Mode 0, 100 SPs/AWLs
6022, Lifetime, 250gb, Freeview, CC, Mode 0, 90 SPs/AWLs
601E, my 'test' machine!

Last edited by blindlemon : 05-06-2006 at 06:56 AM.
blindlemon is offline   Reply With Quote
Old 04-27-2006, 08:36 PM   #9
chales
Registered User
 
Join Date: Apr 2006
Posts: 13
Quote:
Originally Posted by blindlemon
It might even be possible to preserve some/most/all of your recordings if you have a spare 2gb FAT drive you can use for an intermediate minimal backup.

Assuming you haven't used the new drive-set and added any recordings, then the "B" drive will still be empty and, of course, the recordings that were on the "A" drive won't have moved. Therefore, if you make a minimal backup of the 2 drive set, specifying the -s option to discard empty partitions, then the backup should only contain partitions from the "A" drive. If you then unplug the "B" drive and restore that backup to the "A" drive, specifying the same size swapfile and the same blocksize (eg -r4) that you used when you created the original "A" drive, the system stuff should go back in the same place and the recordings should be untouched. However, as the backup won't contain the partition from the "B" drive, your "A" drive should be useable on its own

I've tested this on a couple of old drives and it seems to work. If you specify the wrong blocksize, then recordings in the 2nd MFS partition (if your "A" drive had 2) will be inaccessible. However, recordings from the 1st partition should all be intact. And, of course, all your settings, SPs, wishlists and thumb ratings will be preserved too.

The commands I used for my UK (S1) test TiVo (assuming "A" drive on hdc, temp FAT drive on /mnt/dos and "B" drive on hdd) were:-

mfsbackup -l32 -so /mnt/dos/temp.bak /dev/hdc /dev/hdd

(For US series 1 omit the -l32 and for US series 2 replace -l32 with -f 9999)

mfsrestore -s NNN -rX -xi /mnt/dos/temp.bak /dev/hdc

(Set the swapsize NNN to whatever is on your existing "A" drive. If it is a stock drive then omit the swapsize parameter. If you didn't set a blocksize when expanding your "A" drive then omit the -rX. If it was a stock drive then use -r0, otherwise replace X with 1,2,3 or 4 depending on what you used)

Disclaimer: Although this worked on my UK test system, I've not tested it on a US Series 1 or 2 TiVo, and other factors may affect the result anyway, so you are taking a risk by trying this.

However, even it it fails, the intermediate backup you take should be useable to transfer your settings and SPs etc. to a new drive, so the worst that could happen is you lose all your recordings.
Thanks for all the help guys.

Yesterday, I cheated and used InstantCake, which worked like a champ. But now I still have the the original 40GB drive that thinks it's married to the 250. I'll have to run these commands when I get some free time and see if it works!

Once I do get to it, I'll post the success/failures here for anyone else interested.
chales is offline   Reply With Quote
Old 04-27-2006, 08:40 PM   #10
blindlemon
tivoheaven.co.uk
 
Join Date: May 2002
Location: Malmesbury, UK
Posts: 5,577
You won't be able to do that now as you needed the "married" 250gb drive to make the backup even though there was nothing on it!

However, now that your 250gb drive has run off with InstantCake, your 40gb drive is left high and dry
__________________
6023, Lifetime, 240gb, Sky, CC, Mode 0, 100 SPs/AWLs
6022, Lifetime, 250gb, Freeview, CC, Mode 0, 90 SPs/AWLs
601E, my 'test' machine!
blindlemon is offline   Reply With Quote
Old 04-27-2006, 09:30 PM   #11
chales
Registered User
 
Join Date: Apr 2006
Posts: 13
Quote:
Originally Posted by blindlemon
You won't be able to do that now as you needed the "married" 250gb drive to make the backup even though there was nothing on it!

However, now that your 250gb drive has run off with InstantCake, your 40gb drive is left high and dry
Oh I see your point. Then I guess I'll just do InstantCake on the 40 too? I bought the TiVo used and the recordings on there are nothing I'd want to retain thankfully.
chales 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 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - 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 05:41 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |