[mythtv-users] ls: reading directory /tv/d2: Input/output error

Mitch Gore mitchell.gore at gmail.com
Sat Feb 14 01:12:43 UTC 2009


>
> The directory locations aren't stored in the DB.  Just add a new directory
> to the Storage Group(s) and Myth will check for recordings in it.  (And, for
> best performance, remove any directories that no longer exist.)
>
> Mike

Well that makes it easier....

In other news, so this doesnt happen again I am trying to get smart to
work within linux.

when starting the service i get:

Feb 13 19:01:29 mythtv smartd[8263]: smartd version 5.36
[x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Feb 13 19:01:29 mythtv smartd[8263]: Home page is
http://smartmontools.sourceforge.net/
Feb 13 19:01:29 mythtv smartd[8263]: Opened configuration file /etc/smartd.conf
Feb 13 19:01:29 mythtv smartd[8263]: Drive: DEVICESCAN, implied '-a'
Directive on line 1 of file /etc/smartd.conf
Feb 13 19:01:29 mythtv smartd[8263]: Configuration file
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Feb 13 19:01:29 mythtv smartd[8263]: Device: /dev/hda, opened
Feb 13 19:01:29 mythtv smartd[8263]: Device: /dev/hda, found in smartd
database.
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hda, is SMART
capable. Adding to "monitor" list.
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hdb, opened
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hdb, packet devices
[this device CD/DVD] not SMART capable
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hdd, opened
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hdd, found in smartd
database.
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/hdd, is SMART
capable. Adding to "monitor" list.
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/sda, opened
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/sda, IE (SMART) not
enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART
features
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/sdb, opened
Feb 13 19:01:30 mythtv smartd[8263]: Device: /dev/sdb, IE (SMART) not
enabled, skip device Try 'smartctl -s on /dev/sdb' to turn on SMART
features
Feb 13 19:01:30 mythtv smartd[8263]: Monitoring 2 ATA and 0 SCSI devices
Feb 13 19:01:31 mythtv smartd[8263]: Device: /dev/hdd, 1 Currently
unreadable (pending) sectors
Feb 13 19:01:31 mythtv smartd[8265]: smartd has fork()ed into
background mode. New PID=8265.

So on sda and sdb SMART is not enabled.  These are my TV drives so i
try to enable with the command.  No go:

[root at mythtv ~]# smartctl -s on /dev/sda
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options.

I try adding -d ata looks like it works but they dont add to the monitor list:
[root at mythtv ~]# smartctl -d ata -s on /dev/sdb
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

Any suggestions? my TV drives ara SataII

Thanks,

-- 
Mitchell


More information about the mythtv-users mailing list