[Voyage-linux] MPD corrupting files?
Joshua Anhalt
(spam-protected)
Thu Nov 21 21:57:57 HKT 2013
How are you powering the new hard drive?
Is the hard drive spontaneously disconnecting/reconnecting? Look in the output from "dmesg", or in your /var/log/syslog. If so, check your USB cables and make sure there is sufficient power for the drive.
Are there any warning signs in the output of "smartctl"? (smartctl cannot access all types of USB connected hard drives, some USB/SATA bridge chips are poorly implemented.) This would be a sign of poor power, loose cable, or faulty hard disk.
It could be either a loose USB cable, insufficient, or unclean power to the disk drive (causing it to brownout with heavy access (db functions), or a faulty new drive (did you run badblocks on the drive before you started using it? (if you run badblocks now, be careful, some of its options will destroy existing data.)
Joshua
On Nov 20, 2013, at 7:42 PM, Bill Shurvinton wrote:
> Not really workable though, as I copy music onto the disk every week and the mpd database is stored on it as the flash drive I boot from is small. File system is ext3. Annoying part is that it all just worked until I changed the HDD.
>
> Bill
>
> On 20/11/2013 17:33, John Coltrane wrote:
>> Hi,
>>
>> as a simple workaround you can mount your external drive readonly, so
>> nothing can be corrupted, only thru hardware related probs, or by
>> unclean unmounts from other systems (if your external drive is kind of
>> shared)
>> A question is, what filesystem is on your external device ? You would be
>> well advised to use a native linux filesystem, not a crappy Microsoft
>> one like FAT or NTFS
>>
>> -John
>>
>>
>> On 11/19/2013 10:59 PM, Bill Shurvinton wrote:
>>> Hi,
>>>
>>> I am running voyage 0.92 with MPD as my music streamer (the voyage-mpd
>>> build won't boot, so had to use vanilla voyage then add mpd). All was
>>> good until a few weeks ago when the USB connected HDD with all the
>>> music on failed. I had a backup, so obtained a new HDD, copied the
>>> music across from the backup and continued to rip and transfer music.
>>> However all new rips that I transfer across become corrupted when MPD
>>> scans them to add to the database and are distorted on playback.
>>>
>>> Having looked at the database and the log files I can see nothing
>>> obvious so wondering if anyone else had seen something like this?
>>> There is over 400GB of music and some 25000 tracks, so its a
>>> relatively large collection, but nothing extreme.
>>>
>>> Rgds
>>>
>>> Bill
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list