LinHES Forums http://forum.linhes.org/ |
|
Added sata drive for recording video - now myth unhappy http://forum.linhes.org/viewtopic.php?f=14&t=13529 |
Page 1 of 1 |
Author: | pairajacks [ Sun Jan 14, 2007 10:53 pm ] |
Post subject: | Added sata drive for recording video - now myth unhappy |
"Watch TV" blanks and comes back to the menu, apparently because it can't find the new sata drive location. (From Mythtv-setup/General, I replaced /myth/video with /mnt/sda1/recordings). When I switch back to /myth/video, Myth is happy again. I thought I installed the sata drive right, but I'm a noob, thus the reason for this post (what did I do wrong?) The Knoppmyth (R5d1) install seemed to recognize my Sata drive, and I did a mkfs.ext3 /dev/sda1 and made a directory called recordings and gave it full access chmod 777 recordings |
Author: | mcouture [ Mon Jan 15, 2007 8:06 am ] |
Post subject: | |
I'm a noob too so... You are specifying the actual device /dev/sda1 What you need to do is mount that device to a directory, then tell Myth to use that directory. Look at the manuals for mount and fstab. (man mount and man fstab). |
Author: | tjc [ Mon Jan 15, 2007 11:43 am ] |
Post subject: | |
Looks like he was actually using a mount point, even if it had the device name encoded in it. I'd suspect that the real problem was something more basic like setting the ownership and/or permissions on those directorties correctly after creating the filesystem. |
Author: | mjl [ Mon Jan 15, 2007 7:57 pm ] |
Post subject: | |
Hi, First, check the pamphlet, http://mysettopbox.tv/pamphlet.html # Quote: mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/hda3
Here he sets up large blocks for storage. In your case, use /dev/sda1 Once you have it formatted, mount it some place, look under /mnt/ or /media . Once you have it mounted then # cp -a /myth/* /<where you mount it> as this will copy all the directoies and files needed with your current working system keeping ownership and permissins also. Once the copy is complete, # umount /<where you mount it> and mount it to /myth. Before you can do that, edit /etc/fstab and change the /dev/<partition> /myth to be /dev/sda1 /myth # mount /myth and you should be as you just were except with the added space of the new directory replacing the original /myth partition. Mike |
Author: | tjc [ Mon Jan 15, 2007 10:11 pm ] |
Post subject: | |
You know we're all thrashing around here and not asking for diagnostics... ![]() ![]() pairajacks - we need the details. We'll want your exact mount command and /etc/fstab entries. Also the output from running "mount" with no arguments and an "ls -al" of the mounted drive. If you're not set up to cut & paste from a remote session on the KM box, redirect the output to a file and sneaker-net it across. |
Author: | pairajacks [ Tue Jan 16, 2007 1:27 am ] |
Post subject: | |
2nd attempt (before reading some of the latest replies): mkdir /myth/video_160gHD chmod 777 video_160gHD Edited fstab.... LABEL=/myth/video_160gHD /myth/video_160gHD ext3 defaults 1 2 mount /dev/sda1 /myth/video_160gHD Output from terminal: root@mythtv:/myth/video_160gHD# ls -alt total 28 drwxrwxrwx 3 root root 4096 Jan 15 11:02 . drwxr-xr-x 17 root root 4096 Jan 15 10:54 .. -rw-r--r-- 1 root root 57 Jan 15 10:52 TryKenFile drwxrwxrwx 2 root root 16384 Jan 15 10:24 lost+found root@mythtv:/etc# df -H Filesystem Size Used Avail Use% Mounted on /dev/hda1 5.0G 3.0G 1.8G 63% / /dev/hda3 26G 212M 25G 1% /myth /dev/sda1 142G 34M 135G 1% /myth/video_160gHD root@mythtv:/etc# "WatchTV" just goes blank, then comes back to menu (still doesn't like my new HD) Is it because of the owner "root root" in the ls -alt command? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |