m1abrams
500+ Head-Fier
- Joined
- Mar 29, 2005
- Posts
- 833
- Likes
- 11
Quote:
In case you do not understand when you would need such a feature I will provide an experience I had not long ago. I have all my music stored in FLAC on a file server that has a scsi raid controller. Well the only thing on the array is the music. One day I was playing some songs and they were failing. So I manually ran the flac check on them and sure enough they were corrupted. I wrote a small bash script to check all my files and a large portion of my FLAC files were corrupted. What happened I thought, I check the last modifed date on the corrupted files and I noticed that was a date I did some metadata changes to a lot of files. I used metaflac to change the data on another uncorrupted file and bam it corrupted that file. Digging into my system logs I noticed I was getting all kinds of write errors from the raid controller. Turns out the controller went belly up. Like a good sysadmin I have backups and was able to restore. However I had to go pretty far back into my backups, if I had not had found it when I did I could have very well lost any good backup.
I now have a script that runs weekly that will email me if it finds any errors.
Originally Posted by linuxworks /img/forum/go_quote.gif why use .wav when it creates the same exact output as shorten or flac (etc) and saves you about half, in disk space? also, wav does NOT have crc built in. you won't know if your file has bit errors (later). I believe flac and most other modern 'containers' have crc ability so you can run some checksum program on the file and know if its been bitflipped or not somewhere (see 'flac tester'). you really should consider converting your wav to flac. you won't lose a thing but you'll gain some nice utility. |
In case you do not understand when you would need such a feature I will provide an experience I had not long ago. I have all my music stored in FLAC on a file server that has a scsi raid controller. Well the only thing on the array is the music. One day I was playing some songs and they were failing. So I manually ran the flac check on them and sure enough they were corrupted. I wrote a small bash script to check all my files and a large portion of my FLAC files were corrupted. What happened I thought, I check the last modifed date on the corrupted files and I noticed that was a date I did some metadata changes to a lot of files. I used metaflac to change the data on another uncorrupted file and bam it corrupted that file. Digging into my system logs I noticed I was getting all kinds of write errors from the raid controller. Turns out the controller went belly up. Like a good sysadmin I have backups and was able to restore. However I had to go pretty far back into my backups, if I had not had found it when I did I could have very well lost any good backup.
I now have a script that runs weekly that will email me if it finds any errors.