Unoffical empeg BBS

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

Topic Options
#310879 - 03/06/2008 10:56 Yet another HD Upgrade problem
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
I just successfully installed a larger HD on my spare riomk2. The drive was formatted clean and thus has no songes on it. It boots up fine and syncs with Emplode no problem. The drive is 100g.

I want to copy the songs from my original riomk2 which has 2 hds on to the one hd of the spare unit.

when i try to do this i am getting this error message:

"EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended"

so i run the routine that the FAQ's tell me to do and yet when i try again to copy the files from one disc to another i keep getting the same error message.

Any insight into this?

Thanks,

Ed
_________________________
...One man gathers what another man spills

Top
#310882 - 03/06/2008 11:17 Re: Yet another HD Upgrade problem [Re: edsmiata]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
how do you make the copy?
_________________________
the "monkey" who learned to check a harddrive

Top
#310884 - 03/06/2008 11:33 Re: Yet another HD Upgrade problem [Re: Boelle]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
i removed one of the hd from the original player, slapped on the jumper and indtalled it at the tail end of the ide cable
_________________________
...One man gathers what another man spills

Top
#310885 - 03/06/2008 11:38 Re: Yet another HD Upgrade problem [Re: edsmiata]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
It means that at some point, for some reason, the player has been rebooted with the drive mounted as read-write. This FAQ entry has the details on what to do:

http://www.riocar.org/modules.php?op=mod...;faqent=162#162
_________________________
Remind me to change my signature to something more interesting someday

Top
#310887 - 03/06/2008 11:44 Re: Yet another HD Upgrade problem [Re: andy]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
yes! this was the faq that i was following and i ran the following

ro
umount /dev/hda4
swapon /swapfile
fsck -fay /
fsck -fay /dev/hda4
fsck -fay /dev/hdc4
swapoff /swapfile
sync

i thought all was well but when i tried to do the copy i ran into the same error message..

should i have run something else??

tks

ed
_________________________
...One man gathers what another man spills

Top
#310888 - 03/06/2008 11:49 Re: Yet another HD Upgrade problem [Re: edsmiata]
Boelle
addict

Registered: 22/11/2007
Posts: 475
Loc: Denmark, Odense
Originally Posted By: edsmiata
yes! this was the faq that i was following and i ran the following

ro
umount /dev/hda4
swapon /swapfile
fsck -fay /
fsck -fay /dev/hda4
fsck -fay /dev/hdc4
swapoff /swapfile
sync

i thought all was well but when i tried to do the copy i ran into the same error message..

should i have run something else??

tks

ed


i think you forgot to:

umount /dev/hdc4
_________________________
the "monkey" who learned to check a harddrive

Top
#310889 - 03/06/2008 12:01 Re: Yet another HD Upgrade problem [Re: Boelle]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: Boelle
i think you forgot to:

umount /dev/hdc4


No. He forgot to "rom"
_________________________
-- roger

Top
#310890 - 03/06/2008 12:06 Re: Yet another HD Upgrade problem [Re: Roger]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
so i should have run this?

ro
rom
fsck.ext2 -fay -b 32768 /dev/hda4

also i did run "umount /dev/hdc4 "..i just forgot to copy it here!
_________________________
...One man gathers what another man spills

Top
#310891 - 03/06/2008 12:13 Re: Yet another HD Upgrade problem [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: Roger
No. He forgot to "rom"

Um, you don't need to remount the music partitions read-only, if you're going to unmount them altogether in the next breath anyway. The listed commands, including the "umount /dev/hdc4", should really have fixed the problem if they completed without errors. So perhaps something that happens subsequently is reintroducing it? Exactly what commands are you using, edsmiata, to copy the files?

Peter

Top
#310893 - 03/06/2008 12:20 Re: Yet another HD Upgrade problem [Re: edsmiata]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: edsmiata
so i should have run this?

ro
rom
fsck.ext2 -fay -b 32768 /dev/hda4

also i did run "umount /dev/hdc4 "..i just forgot to copy it here!



OK. I skimmed over it and said what I would have done. Tony's FAQ (and Boelle) were correct.

What you're doing is this:

"ro" - remount the root filesystem as read-only. This is needed because Linux requires a reboot if you check a partition that's mounted read-write. Just in case something changed. The root filesystem is where all of the good stuff on a Unix-like box is usually kept. Think of it as C:\ combined with C:\Windows\System32 on a Windows box.
"umount /dev/hda4" - unmount the music partition of the first disk. Not really needed, but safe enough.
"swapon /swapfile" - checking the disk needs quite a lot of memory, so enabling swap is a good idea.
various "fsck" commands - these check the root partition and the two music partitions.
"swapoff /swapfile" - we don't need the swap any more. Keeping it enabled requires the disk to stay spun up, and we usually try to avoid that. It's probably not a big deal, since you'll be powering down before moving the empeg back to your car.
"sync" - ensure everything's flushed to the disk.

So, yes, Boelle was correct: unmounting the second music partition cleanly ("umount /dev/hdc4") should have prevented the warning, but it's not strictly necessary.

To be honest, you can usually ignore the warning until you've finished the copy, at which point you should definitely run the listed commands.
_________________________
-- roger

Top
#310894 - 03/06/2008 12:22 Re: Yet another HD Upgrade problem [Re: peter]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: peter
Um, you don't need to remount the music partitions read-only, if you're going to unmount them altogether in the next breath anyway.


Yep; you're right, Peter. I mis-read the posting and spouted off without thinking. I'm not sure I cleared much up with my follow-up post.
_________________________
-- roger

Top
#310895 - 03/06/2008 12:26 Re: Yet another HD Upgrade problem [Re: edsmiata]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Originally Posted By: edsmiata
yes! this was the faq that i was following and i ran the following

ro
umount /dev/hda4
swapon /swapfile
fsck -fay /
fsck -fay /dev/hda4
fsck -fay /dev/hdc4
swapoff /swapfile
sync


It is probably complaining about /dev/hda5, so do that one as well as the other two.

Cheers

Top
#310901 - 03/06/2008 12:43 Re: Yet another HD Upgrade problem [Re: Boelle]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
Originally Posted By: Boelle
how do you make the copy?


just as it is stated in the faq's

Via Hyperterminal, Press q (Enter) to drop to the shell prompt.


Read-write mount the disk drives. Type:
rw (Enter)
rwm (Enter)
There will probably be a pause before the shell prompt appears again.


Copy the files from the second drive to the first drive:
cp -auvfx /drive1/fids /drive0/ (Enter)


Depending on the drives and the amount of data, it might take a surprisingly long time to complete the copy operation. Be prepared for a long wait. Some users have reported that it can take hours.


When it's done, read-only mount the disk drives. Type:
ro (Enter)
rom (Enter)


Log out of the shell and drop back to the player software: logout (Enter)

if memory is correct i usually get the error notice after

Read-write mount the disk drives. Type:
rw (Enter)
rwm (Enter)


Edited by edsmiata (03/06/2008 12:44)
_________________________
...One man gathers what another man spills

Top
#310904 - 03/06/2008 12:54 Re: Yet another HD Upgrade problem [Re: edsmiata]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: edsmiata
if memory is correct i usually get the error notice after

Read-write mount the disk drives. Type:
rw (Enter)
rwm (Enter)


OK. That's expected. You've attempted to mount the disks read-write. Linux is warning that the disks have not been checked, and that this could be dangerous. You can usually ignore the warning, as long as you run the fsck steps soon afterwards. Alternatively, run them before you start the copy (i.e. immediately you get a shell prompt).
_________________________
-- roger

Top
#310905 - 03/06/2008 13:02 Re: Yet another HD Upgrade problem [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: Roger
"umount /dev/hda4" - unmount the music partition of the first disk. Not really needed, but safe enough.

Sorry to leap in again, but the umount is really needed. If you're checking a filesystem which might actually need repairing, it's critical that you either (a) umount it first, or (b) remount it read-only first, and then afterwards reboot without remounting it read/write. Anything else risks writeout of stale page-cache data undoing fsck's good work and/or causing complete filesystem scroggage.

On an Empeg (but not a real Unix box) you can get away without the reboot after checking the root filesystem only, but only because it hasn't actually changed, and the fsck just silences the warning by updating the last-check timestamp from 1999 or whenever it was we last rebuilt the filesystem images.

Peter

Top
#310907 - 03/06/2008 13:11 Re: Yet another HD Upgrade problem [Re: Roger]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
Originally Posted By: Roger
Originally Posted By: edsmiata
if memory is correct i usually get the error notice after

Read-write mount the disk drives. Type:
rw (Enter)
rwm (Enter)


OK. That's expected. You've attempted to mount the disks read-write. Linux is warning that the disks have not been checked, and that this could be dangerous. You can usually ignore the warning, as long as you run the fsck steps soon afterwards. Alternatively, run them before you start the copy (i.e. immediately you get a shell prompt).


ok i will try this tonight before i do anything else....but fyg i did run this last night and i still got the error message when i tired to copy the files

ro
umount /dev/hda4
umount /dev/hdc4
swapon /swapfile
fsck -fay /
fsck -fay /dev/hda4
fsck -fay /dev/hdc4
swapoff /swapfile
sync
_________________________
...One man gathers what another man spills

Top
#310909 - 03/06/2008 13:29 Re: Yet another HD Upgrade problem [Re: peter]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Yep. He's right again. I was getting confused between mounting it read-only and then not needing to unmount it and unmounting it completely.

To be on the safe side, unmount it completely.
_________________________
-- roger

Top
#310910 - 03/06/2008 13:43 Re: Yet another HD Upgrade problem [Re: Roger]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
LOL is there anything I should know between u guys or am i going in the right direction :-o


Edited by edsmiata (03/06/2008 13:46)
_________________________
...One man gathers what another man spills

Top
#310911 - 03/06/2008 16:10 Re: Yet another HD Upgrade problem [Re: edsmiata]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: edsmiata
LOL is there anything I should know between u guys or am i going in the right direction :-o


Do the disk check according to the FAQ, remembering to umount /dev/hda4 and umount /dev/hdc4, then reboot (power-cycle), and then do the copy according to the FAQ. If you've already done the copy, then do the disk check afterwards -- it's better to do it first, but not a big deal, usually.

But, yeah, so far you're doing fine.
_________________________
-- roger

Top
#310912 - 03/06/2008 16:18 Re: Yet another HD Upgrade problem [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
So is the consensus that the FAQ needs to be updated by adding a umount /dev/hdc4 line?
_________________________
Tony Fabris

Top
#311096 - 08/06/2008 10:06 Re: Yet another HD Upgrade problem [Re: tfabris]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
ok..so i did what you suggested and all worked fine...coppied the contents of the 2 hdds onto the one hdd...but the nice and neat playlists tha i set up on the original empeg are now all messed up!

was there a routine i missed to copy over the original playlists as well?

tks

ed
_________________________
...One man gathers what another man spills

Top
#311098 - 08/06/2008 10:39 Re: Yet another HD Upgrade problem [Re: edsmiata]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Simply copying the files from two drives onto one should have been fine.

Playlists are merely files like music files but are simply a list of more playlists or files rather than MP3/FLAC/OGG data.

The filenames are numbers (called FIDs). They are unique across the two drives so there should be no conflicts. The empeg doesn't even care which drive the files are on. It just looks on both drives when looking.

Define what you mean by "messed up"...

edit: technical info here on FIDs here (and on the link):
http://www.riocar.org/modules.php?op=mod...;faqent=133#133


Edited by Shonky (08/06/2008 10:41)
Edit Reason: added FAQ link
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#311099 - 08/06/2008 11:08 Re: Yet another HD Upgrade problem [Re: Shonky]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
the playlists on the new drive do not replicate exactly what was on the orginal two drives
_________________________
...One man gathers what another man spills

Top
#311103 - 08/06/2008 15:13 Re: Yet another HD Upgrade problem [Re: edsmiata]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Copying the FIDS from two disks onto one disk should not mess up the playlists, provided that:

The two source disks were from the same player.
The two source disks were not messed up to begin with.
The steps in the drive upgrade guide were followed.
The single destination drive was truly blank and properly prepped.
The old source disks were left out of the player when the copying is done.

You wouldn't happen to be running v3 alpha would you? "playlists all messed up" is a phrase I usually associate with V3 alpha.
_________________________
Tony Fabris

Top
#311105 - 08/06/2008 16:34 Re: Yet another HD Upgrade problem [Re: tfabris]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
no running 2.0 :-(
_________________________
...One man gathers what another man spills

Top
#311107 - 08/06/2008 16:40 Re: Yet another HD Upgrade problem [Re: edsmiata]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
check on all above....
_________________________
...One man gathers what another man spills

Top
#311110 - 08/06/2008 17:59 Re: Yet another HD Upgrade problem [Re: edsmiata]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
well what appears to have happened is this...

i have my playlists set up by Artist, in alpha order...all the A groups go into A...within the A i set it up individually by artist...then within each artist i have all their albums....all the way to Z

well it seems that a whole lot of the albums within each artist playlist got 'bounced out' and set up as a playlist in itself...thus "eat a peach' for the ABB is no longer under the ABB but instead by itself on the root folder of Playlists

:-(
_________________________
...One man gathers what another man spills

Top
#311123 - 08/06/2008 22:37 Re: Yet another HD Upgrade problem [Re: edsmiata]
edsmiata
addict

Registered: 18/08/2002
Posts: 544
Loc: New Jersey
anyways...without trying to figure what went wrong i just put the albums back in their respective artist folder in the respective playlist and all is well again

a tks to all for the help

ed
_________________________
...One man gathers what another man spills

Top