LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-04-2004, 06:18 PM   #1
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
Unhappy 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
 
Old 08-04-2004, 06:44 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 08-04-2004, 07:00 PM   #3
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
to late i'm already on linux only.
 
Old 08-04-2004, 07:03 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 08-04-2004, 07:12 PM   #5
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 08-04-2004, 07:17 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 08-04-2004, 07:23 PM   #7
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 08-04-2004, 07:45 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 08-04-2004, 07:52 PM   #9
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 08-04-2004, 10:27 PM   #10
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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.
 
Old 08-05-2004, 01:27 AM   #11
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Maybe you can reformat your USB hdd to fat32 to avoid future problems.
 
Old 08-05-2004, 04:46 AM   #12
lazlo20
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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))
 
Old 08-05-2004, 07:34 AM   #13
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
For people how want to play WMA files without converting MP3 files waelaltaqi Linux - Software 15 11-17-2005 08:30 AM
mp3 player with time stretching for guitarist? munkie_poo Linux - Software 1 11-12-2005 09:53 PM
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
Kubuntu MP3 Errors omc1jz Ubuntu 5 10-23-2005 02:14 PM
First Time with C++, Unknown Errors Kenji Miyamoto Programming 6 01-13-2005 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration