Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#224601 - 16/02/2004 01:33 backup HD
mduran
stranger

Registered: 04/02/2004
Posts: 19
I am getting very nervous about my 120 GB HD as the number of tracks keeps growing and I would like to be able to backup the contents to an external HD. Is it possible to mount an external HD via USB and copy the tracks via the shell to the backup drive ? I know, I know, it would take ages... I just want to know wether this is technically possible ?

What are your 'backup experiences' if any ? How do you backup the contents of your Central ?

Much appreciated, Miguel

Top
#224602 - 16/02/2004 11:22 Re: backup HD [Re: mduran]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
There is no way to mount an external drive via USB, but you could temporarily connect a second hard drive in place of the CD-ROM drive and use the shell to mount it and copy the partitions.

This will require a USB keyboard and some linux knowledge.
_________________________
Tony Fabris

Top
#224603 - 16/02/2004 11:43 Re: backup HD [Re: tfabris]
The Central Guy
enthusiast

Registered: 18/03/2002
Posts: 225
Loc: San Diego, California USA
Hi Miguel,
I've also had the same backup concerns as you and have used a hard drive duplicator made by Corporate Systems to backup my drive. The link for their product is below...As outlined in a previous post, I'm very glad I did this because I had my main Central hard drive fail on me last summer. Luckily, I was able to break out my backup drive, and add about 15-20 CDs to get it back up to snuff...

http://www.driveduplicators.com/

The latest version of Partition Magic (8.0, I believe) recognizes a valid Central disc and showed what looked to be valid partition information (earlier versions said the Central drive was "Bad" even when I knew it worked in the Central). So maybe Partition Magic could help you copy the partitions to a backup drive on your PC...

In any event, I think it's a smart thing to make a backup hard drive because of all the ripping time spent and also the time spent fixing titles, etc.....I've never tried to connect a second drive to the machine for the purpose of copying, so I guess that might be another way to do it like Tony says if you have the command knowledge, etc.

If someone does that, I'd appreciate a tutorial or some sort of writeup that we could all use on our own boxes (and I'd also like to learn more about the various Linux commands that it would take to make a backup drive...)

Thanks, Randy
_________________________
Happy owner of 2 Centrals, 2 Empegs Mk2a 160GB, 1 Empeg Mk2a 60 GB, a Rio Riot, 4 Rio Receivers, and two 1GB iPod Shuffles...

Top
#224604 - 17/02/2004 01:21 Re: backup HD [Re: The Central Guy]
mduran
stranger

Registered: 04/02/2004
Posts: 19
Thanks guys ! very clear. One more question: what about the CD unit ? can this be easily replaced by an OEM one (or some concrete brand) in case the one in the Rio dies ?

Top
#224605 - 17/02/2004 01:41 Re: backup HD [Re: The Central Guy]
mduran
stranger

Registered: 04/02/2004
Posts: 19
I have taken a walk in the world of hard drive and media duplication hardware and I came across this one:

http://www.logicube.com/products/hd_duplication/solitaire.asp

If this works with the Central it would be very convenient, since you don't have to extract the HD to clone it, USB can do... and they claim it's super fast !

Miguel

Top
#224606 - 17/02/2004 09:44 Re: backup HD [Re: mduran]
The Central Guy
enthusiast

Registered: 18/03/2002
Posts: 225
Loc: San Diego, California USA
Hi Miguel,
I'm not sure if that unit would work as it seems to be built for PCs...See the text below regarding the USB connection...

USB 1.1/2.0 (optional)
For easy cloning, and for connection to a Windows network server. Optional USB feature allows for data transfer speeds exceeding 700 MB/min (USB 2.0)

I don't think the Central would know how to service the USB connection to this device....Of course, I could be wrong. But on the other hand, that's a pretty pricy piece of gear to back up the drive if it did work. Do you have access to one or are you considering a purchase?

Thanks, Randy
_________________________
Happy owner of 2 Centrals, 2 Empegs Mk2a 160GB, 1 Empeg Mk2a 60 GB, a Rio Riot, 4 Rio Receivers, and two 1GB iPod Shuffles...

Top
#224607 - 18/02/2004 01:39 Re: backup HD [Re: The Central Guy]
mduran
stranger

Registered: 04/02/2004
Posts: 19
Hi Randy,

There is this part, under features, that says:

"Clones any operating system
The system supports FAT16, 32 & NTFS file-systems. Exact MD5 verification for all partition types (includes proprietary O/S, e.g. Mac, Linux, Unix, Sun, OS6 support). "

... so I thought it could work with the Central, but I'm not sure either. The part you mention on the Windows network server, I interpret it as being able to hook up the Solitaire Turbo to a server, so that you can clone other machines' HD from the network. As I say, I'm not sure either.

I'm not planning to buy the thing for the moment, my Rio's HD is by far not full, so I'll give it some more time, do some more research on the stuff, and perhaps meanwhile the price of this thing drops ;-)

Top
#224608 - 18/02/2004 03:28 Re: backup HD [Re: mduran]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
One more question: what about the CD unit ? can this be easily replaced by an OEM one

Not really, no. The ripping software is optimised for the particular drive in the Central. It might not work with another one.

Otherwise, it's a standard IDE CD-ROM drive.
_________________________
-- roger

Top
#224609 - 18/02/2004 18:10 Re: backup HD [Re: Roger]
geeknerd
member

Registered: 24/09/2003
Posts: 148
1. Can you attach a HDD via USB?

I had mixed success with this. I installed a linux distro on the hdd, loaded the usb-storage module (and supporting modules), however the linux-arm kernel didn't like my particular usb-hdd hardware (I got some wierd USB errors). So I just hooked up ssh and used scp to copy the HDD down.

2. Can you replace the CD burner?

This is an interesting question. We know that the cd burning software has been "optimized" to support the specific cdrom drive. However, we also have the source to the cd burning software. It should be pretty easy to take a look at the differences between the stock cdrtools and the rio cdrtools. If the interface hasn't changed it should be fairly simple to drop in a new copy of cdrtools which would work with the new (and hopefully faster) cdrom drive.

The question would then be: is there anything in the player software that would cause the new cd burning program to die?

My 2c.

Top
#224610 - 19/02/2004 01:54 Re: backup HD [Re: geeknerd]
mduran
stranger

Registered: 04/02/2004
Posts: 19
"So I just hooked up ssh and used scp to copy the HDD down. "

So you mean copy the Rio's HDD to your computer's HDD with ssh / scp via ethernet ? Does this take long ?

Miguel

Top
#224611 - 19/02/2004 04:19 Re: backup HD [Re: geeknerd]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
source to the cd burning software

The CD ripping code is optimised for that particular model of CD drive. The writing code is, AFAIK, stock cdrecord.
_________________________
-- roger

Top
#224612 - 24/02/2004 06:02 Re: backup HD [Re: Roger]
mduran
stranger

Registered: 04/02/2004
Posts: 19
Does anyone know what CD unit model is contained in the Central ? I know its a TEAC, but I can't remember the exact model... and I'm to o lazy to open the case to check it ;-))

thanks,
Miguel

Top
#224613 - 24/02/2004 08:34 Re: backup HD [Re: mduran]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
W58E, if I remember correctly.
_________________________
-- roger

Top
#224614 - 26/02/2004 00:06 Re: backup HD [Re: mduran]
geeknerd
member

Registered: 24/09/2003
Posts: 148
I suppose long is a relative term. It took under 24 hours, which I was more than happy to wait for. I think you can use some command line options for scp to tell it to use less strong encryption, but I'm not sure that the transfer was CPU bound. I was transmitting over 10bt and wifi, so I suspect that wifi was the bottleneck.

I always thought that ARM processors were very slow, but it's very capable of running linux apps at a good rate of speed.
______
"So I just hooked up ssh and used scp to copy the HDD down. "
So you mean copy the Rio's HDD to your computer's HDD with ssh / scp via ethernet ? Does this take long ?

Top
#224615 - 22/03/2004 04:39 Re: backup HD [Re: geeknerd]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
The issue is more the ripping code. cdrecord will probably work fine on any drive, but the ripping code is carefully crafted around the bugs present in that particular drive.

YMMV, lots.

Hugo

Top
#224616 - 05/05/2004 18:20 Re: backup HD [Re: altman]
geeknerd
member

Registered: 24/09/2003
Posts: 148
Hmm. Are that many bugs present in all cdrom drives? Was this a "bargain-basement" drive that made it worthwhile to code around the bugs? Just curious. Thx.

Top
#224617 - 06/05/2004 03:41 Re: backup HD [Re: geeknerd]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Are that many bugs present in all cdrom drives?

Hell, yes. They're all broken to one degree or another. The one we used in the Central was chosen because:

1. We could actually source a whole load of them in large enough quantities.
2. It had fewer bugs than most of the other drives we looked at.
3. The bugs it did have were easier to work around.

We chose a specific drive -- rather than attempt to support a whole bunch of different ones -- because we didn't have time to write code for and test on more than the one drive.
_________________________
-- roger

Top
#224618 - 11/05/2004 01:03 Re: backup HD [Re: mduran]
mduran
stranger

Registered: 04/02/2004
Posts: 19
Hi,

Thanks to Randy / Tony for their outline and tips on installing a new drive in the Central. I am still very interested in being able to backup the contents of my 120 GB HHD to another drive, preferably to my Win XP machine. I know this a very tricky thing but I'm sure some guru among you could be able to put together some instructions like Randy's did in his post (like what Linux commands have to be used / installed in the Central etc).

I don't know wether I am asking for an impossible in this forum due to legal constraints, but I can solemny swear that my intention here is merely to keep my increasing volume of music safe.

Thanks,

Miguel

Top
#224619 - 11/05/2004 15:33 Re: backup HD [Re: mduran]
geeknerd
member

Registered: 24/09/2003
Posts: 148
Well, that depends. A quick way might be to download everything through jemplode. I downloaded a few songs with jemplode, but I'm not sure how well it would work for 120G and if you can upload the songs.

If that doesn't work, then more effort is required. I did it through installing an entire debian ARM distribution on the disk. If you get past that you can easily SCP stuff off, or hook up a usb drive and copy the stuff directly off. Just make sure you get a usb drive supported by the ARM kernel. The one I have wasn't supported (or rather it was, but didn't work) so I used the SCP to copy off the music.

I posted my instructions under a recent thread "full debian dist..."

Keep us posted on your progress and we could give you some more pointers.

Top
#224620 - 12/05/2004 11:09 Re: backup HD [Re: geeknerd]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
It's simpler than that. You just disconnect the CD-Rom drive, plug the old drive into the CD-Rom drive's cable, drop to a shell prompt with ctrl-alt-del on a USB keyboard plugged into the Central, and issue the commands to mount the second drive and copy its FIDs directory.

The only problem is that I don't know the commands.
_________________________
Tony Fabris

Top
#224621 - 12/05/2004 19:01 Re: backup HD [Re: tfabris]
geeknerd
member

Registered: 24/09/2003
Posts: 148
That would work, assuming that the boot process doesn't choke when it doesn't detect a cdrom on boot.

However, that wouldn't make for easy backups if you want to keep an updated copy.

If anyone wants to give this method a shot, you should know the following commands:

mkdir /mnt/hdb
mount -t ext2 /dev/hdb /mnt/hdb
cp -r /drive0 /mnt/hdb

Top
#224622 - 13/05/2004 03:50 Re: backup HD [Re: geeknerd]
mduran
stranger

Registered: 04/02/2004
Posts: 19
In reply to:

That would work, assuming that the boot process doesn't choke when it doesn't detect a cdrom on boot.




Could anybody please confirm / deny this ? I like this solution.

thanks,

miguel

Top
#224623 - 13/05/2004 10:10 Re: backup HD [Re: geeknerd]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
That seems to copy the whole hard drive. What about making it a bit faster by just copying the FIDs folder?
_________________________
Tony Fabris

Top
#224624 - 13/05/2004 21:53 Re: backup HD [Re: tfabris]
The Central Guy
enthusiast

Registered: 18/03/2002
Posts: 225
Loc: San Diego, California USA
I'll have to refresh me memory on this one. I did try to hook up two Hard Drives to the Central, with the idea in mind that maybe I'd be able to store music on them and get more space. It's been awhile since I've tried it, but I believe that the result was that the machine wouldn't boot. I've tried so many things, though, that I'd have to do it again to verify it...

I just use a CorpSystems Hard Drive duplicator to make my backup copies...It's not the fastest system in the world (both drives are on the same IDE channel), but it does make an exact duplicate....That reminds me, it's about time to back up my stuff again...I did have my main 120 GB Central drive fail, and the backup I had set aside saved my bacon....I would recommend a backup disk to everyone who has invested hours ripping and fixing titles...

Randy
_________________________
Happy owner of 2 Centrals, 2 Empegs Mk2a 160GB, 1 Empeg Mk2a 60 GB, a Rio Riot, 4 Rio Receivers, and two 1GB iPod Shuffles...

Top
#224625 - 14/05/2004 01:20 Re: backup HD [Re: The Central Guy]
mduran
stranger

Registered: 04/02/2004
Posts: 19
Yes, I also thought of using one of these HD duplicators. Problem is that those thing are quite expensive, especially in Europe. If hooking up a HD works then I'd defintely would go for this solution. Besides, I'm interested in copying only the FIDs, not the entire kernel.

thanks,
Miguel

Top
#224626 - 14/05/2004 02:15 Re: backup HD [Re: mduran]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Besides, I'm interested in copying only the FIDs, not the entire kernel.

Assuming you've got enough music that you're concerned about backing it up, the additional time/space required for backing up the "kernel" is negligible.

The kernel, plus the player binary, databases and stuff is likely to be no more than about 30Mb, which is only the size of 7-10 MP3 files.
_________________________
-- roger

Top
#224627 - 14/05/2004 10:29 Re: backup HD [Re: Roger]
geeknerd
member

Registered: 24/09/2003
Posts: 148
Correct me if I'm wrong (I haven't poked around on my central in a while) but all the stuff on "drive0" is either music or local configuration. The kernel, etc, is contained in /.

I don't remember the exact partition layout off the top of my head, but it seemed to be designed so that during an upgrade, you could replace all of the kernel, but leave the music and configuration untouched.

Doing a backup of the root partition could be more complex given boot sectors, etc. It probably wouldn't be worth the effort given that you can just restore root off of the cd.

Top
#224628 - 14/05/2004 10:56 Re: backup HD [Re: geeknerd]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
Oh right! Duh, I should have realized that.

So does anyone want to try those commands and see if they work? (i.e., there's nothing special you have to do to get the unit to boot?)
_________________________
Tony Fabris

Top
#224629 - 15/05/2004 04:14 Re: backup HD [Re: geeknerd]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
It probably wouldn't be worth the effort

Yeah, that's the effort involved in backing it up so that it can be restored directly from the backup. As you say, since you can reinstall from the rescue CD, there's no point.

My point, however, was that worrying about time/space as a reason for not backing up the whole shebang wasn't worth it.

Oh, and IIRC, there is no boot sector on the hard disk -- it loads one kernel out of flash, which mounts the root filesystem and then loads another one.
_________________________
-- roger

Top
#224630 - 28/07/2006 16:04 Re: backup HD [Re: geeknerd]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
Digging up an old thread here....

Quote:
That would work, assuming that the boot process doesn't choke when it doesn't detect a cdrom on boot.

However, that wouldn't make for easy backups if you want to keep an updated copy.

If anyone wants to give this method a shot, you should know the following commands:

mkdir /mnt/hdb
mount -t ext2 /dev/hdb /mnt/hdb
cp -r /drive0 /mnt/hdb


Those commands... hdb would be whatever drive is plugged in place of the CD ROM drive? In other words, if I initialize a fresh drive using the "restore to as new" CD, then I plug the old drive back in its original spot and put the new blank drive in place of the CD-ROM, then those commands copy the songs from the old drive to the new drive?

Anyone actually done this?

(I'm going to be upgrading the drive on my Central with an extra 60 I've got lying around, and I'm looking for the best way to preserve the songs.)
_________________________
Tony Fabris

Top
Page 1 of 2 1 2 >