Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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...
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.
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...
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?
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...
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
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.
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))
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.