
mtdean at thirdcontact
Jul 12, 2012, 11:23 AM
Post #5 of 5
(353 views)
Permalink
|
|
Re: 0.25 - Video repeated "Scan For Changes" forgets things?
[In reply to]
|
|
On 07/12/2012 03:23 AM, Kingsley Turner wrote: > On 05/07/12 12:44, Kingsley Turner wrote: >> Hi, >> >> I've a bunch of Videos on my MythTV Videos section (not recordings). >> >> However when I do "Scan For Changes" sometimes things aren't found. >> If I scan again, sometimes they come back, maybe other things >> disappear. I have all my personal rips on a single external hard >> drive - twice now all the meta-information has disappeared from these >> files. > > I had this again today. > > It seems that the external USB hard drives are in sleep mode. > Perhaps they do not come online quick enough .. in the syslog we get > these messages: > > Jul 12 15:49:12 192.168.1.20 [23453.867268] sd 7:0:0:0: [sde] > Unhandled error code > Jul 12 15:49:12 192.168.1.20 [23453.867280] sd 7:0:0:0: [sde] > Jul 12 15:49:12 192.168.1.20 Result: hostbyte=DID_OK driverbyte=DRIVER_OK > Jul 12 15:49:12 192.168.1.20 [23453.867287] sd 7:0:0:0: [sde] CDB: > Jul 12 15:49:12 192.168.1.20 Read(10) > Jul 12 15:49:12 192.168.1.20 : > Jul 12 15:49:12 192.168.1.20 28 > Jul 12 15:49:12 192.168.1.20 00 > Jul 12 15:49:12 192.168.1.20 03 > Jul 12 15:49:12 192.168.1.20 f0 > Jul 12 15:49:12 192.168.1.20 0e > Jul 12 15:49:12 192.168.1.20 bf > Jul 12 15:49:12 192.168.1.20 00 > Jul 12 15:49:12 192.168.1.20 00 > Jul 12 15:49:12 192.168.1.20 08 > Jul 12 15:49:12 192.168.1.20 00 > Jul 12 15:49:12 192.168.1.20 > Jul 12 15:49:12 192.168.1.20 [23453.867328] end_request: I/O error, > dev sde, sector 66064063 > Jul 12 15:49:12 192.168.1.20 [23453.867415] XFS (sde1): metadata I/O > error: block 0x3f00e80 ("xfs_trans_read_buf") error 5 buf count 4096 > Jul 12 15:49:19 192.168.1.20 [23460.732392] sd 6:0:0:0: [sdd] > Unhandled error code > Jul 12 15:49:19 192.168.1.20 [23460.732405] sd 6:0:0:0: [sdd] > Jul 12 15:49:19 192.168.1.20 Result: hostbyte=DID_OK driverbyte=DRIVER_OK > Jul 12 15:49:19 192.168.1.20 [23460.732755] sd 6:0:0:0: [sdd] CDB: > Jul 12 15:49:19 192.168.1.20 Read(10) > Jul 12 15:49:19 192.168.1.20 : > Jul 12 15:49:19 192.168.1.20 28 > Jul 12 15:49:19 192.168.1.20 00 > Jul 12 15:49:19 192.168.1.20 03 > Jul 12 15:49:19 192.168.1.20 f8 > Jul 12 15:49:19 192.168.1.20 41 > Jul 12 15:49:19 192.168.1.20 5f > Jul 12 15:49:19 192.168.1.20 00 > Jul 12 15:49:19 192.168.1.20 00 > Jul 12 15:49:19 192.168.1.20 08 > Jul 12 15:49:19 192.168.1.20 00 > Jul 12 15:49:19 192.168.1.20 > Jul 12 15:49:19 192.168.1.20 [23460.732799] end_request: I/O error, > dev sdd, sector 66601311 > Jul 12 15:49:19 192.168.1.20 [23460.732875] XFS (sdd1): metadata I/O > error: block 0x3f84120 ("xfs_trans_read_buf") error 5 buf count 4096 > > And all the files disappear. > If you "Scan For Changes" again, they're back, but with no meta data. > So then I have a nearly a thousand files to re-meta. > > Is this worthy of a bug report? > Is it a bug ? IMHO, no. We're doing the best we can with the information we have--i.e. when the files we saw disappear (in this case because your file system isn't working), we assume you deleted them. You can switch to a non-USB connection for reliability, or just ensure you "manually" spin up/"renew" the USB connection to the drives before doing a Video Library scan. Raymond Wagner will be including a rewrite of the scanner in a future version of MythTV which will better cope with umounted/broken/missing/... file systems, so when we support that feature, it will fix any problems you're having with your current setup. Mike _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-users
|