LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   MP3 files get errors over time? (https://www.linuxquestions.org/questions/linux-general-1/mp3-files-get-errors-over-time-213497/)

lazlo20 08-04-2004 06:18 PM

MP3 files get errors over time?
 
hey there . . .

i have a problem that realy drives me mad!!! i'm wana build an audio archiv . . . here comes the story:


ok, there were mp3 files on my external usb hdd (ntfs)
in order to REALY work with my ext. hdd i moved the filey back to my scsi disk (reiserFS)
everything was fine, i formated the ext. hdd with reiserFS
copied the files back to the ext. hdd (now reiserFS)

NOW: nearly all of my mp3 (maybe other audio files as well) have corrupted frame headers (glitches, noise because of missing frames . . . whatever!)

QUESTION: how the f****** hell can that be? what could cause such effect? errors in my memory? errors in my filesystem or even harddisk?

is there a way to avoid such things form happening again? maybe write my audio files to a crypto loop back dev? any ideas? please please please, nobody could even give me a hint! maybe you can!

thanks for help/comments in advance

lazlo

win32sux 08-04-2004 06:44 PM

in windows, burn the mp3s to cd or dvd and then mount the disk in linux and copy them from there...

i get the feeling things went bad when you copied directly from ntfs...

just my two cents...

lazlo20 08-04-2004 07:00 PM

to late :( i'm already on linux only.

win32sux 08-04-2004 07:03 PM

you need to determine at what stage the corruption is ocurring... i suspect it's during the copy from the ntfs drive... but you need to confirm this...

what method are you using for ntfs support?? from what i understand there's several methods, some better than others...

lazlo20 08-04-2004 07:12 PM

what do you mean by "methods"? i mounted the hdd with kernel nfts read support (read only) . . .

hard to say . . . i just realized some hours after i copied them. i'm realy afraid of working with my audiofiles, not do make it worse! i taught about "chmod 444" on all my mp3s but will this avoid anything system-like to overwrite/delete frames in my files? or is it just impossible that something other than cp,mv,any audio tool used with my files could write into my files?

maybe i do some testing, like copy a file from disk to disk an then run "mp3_check" (cool tool (freshmeat)) to see what happend.

win32sux 08-04-2004 07:17 PM

by methods i mean the ntfs support method... the type of ntfs driver you are using...

maybe you can take the usb hard drive to a windows computer and test the mp3s to make sure they are fine on the disk... then pass them to a fat32 partition(s) and then you should be able to access them from linux without any problems...

lazlo20 08-04-2004 07:23 PM

thats not quiet the problem. my files are already on my reiserfs disk. :(

just for the future: who can i protect my files from those things under linux?

are there other apps like "cp" which do a CRC or md5 on files befor and after copy?
would using a crypto lookback dev / image be a solution? or just "chmod 444" on the files?
is there maybe somthing like a rocksolid FS with jurnaling/transactions to make sure files are correct?

win32sux 08-04-2004 07:45 PM

md5 is a good way to verify integrity... but, you really don't need to take any special measures to protect your files against corruption as long as you use filesystems that are 100% supported by linux... ntfs doesn't even come close to that... in other words, always stay away from ntfs on linux if you can...

lazlo20 08-04-2004 07:52 PM

mmmh, ok. so you mean there's no need to worry while using reiserFS? i never had such problems with linux. hopefully nfts was the hole in the submarine ;)

amosf 08-04-2004 10:27 PM

I've been years moving mp3's back and forth from fat32 to reiser to ext2/3 and never had trouble. I'm guessing it was a ntfs or ntfs driver thing :( In linux only you should have no trouble.

r0b0 08-05-2004 01:27 AM

Maybe you can reformat your USB hdd to fat32 to avoid future problems.

lazlo20 08-05-2004 04:46 AM

mmmh . . . ok, fat32 might be more portable but i feel more secure with reiserfs (or any other jurnaling fs (except ext2/3 which already were a pain in the . . . to me))

win32sux 08-05-2004 07:34 AM

yeah, but by formatting the usb drive with fat32 you could use it to move files from linux AND windows...

with reiserfs you'll only be able to use it with linux computers, which is okay if you're never gonna hook that drive up to a windows machine...


All times are GMT -5. The time now is 06:12 PM.