[mythtv-users] Raid1 home prevents mythbackend from starting.

Douglas Peale Douglas_Peale at comcast.net
Mon May 23 06:02:39 UTC 2011


I had mythTV working on a single disk system. The single disk is a SSD and much too small for storing either my home directory
(lots of pictures) or my MythTV recordings, so I set up a raid1 mirror to use as a home disk.

I figured that I did not want to fracture it into a bunch of partitions, and I want to have selected other directories on the
raid, so I had the raid mount at a different location than /home (/media/raid1), created a home directory on it, and made a soft
link from /home to the home directory on my mirror (/media/raid1/home).

(note that mounting it in /media is probably a bad idea since then it shows up as an icon on the desktop, but I think that is
irrelevant to this problem)

This seems to work fine, except mythbackend won't start anymore.

This is an excerpt from the backend log:
2011-05-22 21:58:25.592 mythbackend version: fixes/0.24 [v0.24.1-1-g347cd24] www.mythtv.org
2011-05-22 21:58:25.594 Using runtime prefix = /usr
2011-05-22 21:58:25.595 Using configuration directory = /home/mythtv/.mythtv
2011-05-22 21:58:25.596 Unable to read configuration file mysql.txt
2011-05-22 21:58:25.597 Empty LocalHostName.
2011-05-22 21:58:25.599 Using localhost value of Compromise
2011-05-22 21:58:25.603 New DB connection, total: 1
2011-05-22 21:58:25.605 Unable to connect to database!
2011-05-22 21:58:25.606 Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

mysql.txt is a soft link back to the SSD, and I can access it fine when I look at it manually.
As far as I can tell, all of the permissions are identical between the renamed old home directory, and my copy of it on the raid1.

Is using the soft link a bad idea? Anything obvious I'm missing?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110522/12e4856d/attachment.bin 


More information about the mythtv-users mailing list