LinHES Forums
http://forums.linhes.org/

Question about storage groups and mixed SATA PATA setup
http://forums.linhes.org/viewtopic.php?f=17&t=18212
Page 1 of 1

Author:  mogator88 [ Thu Apr 24, 2008 11:20 am ]
Post subject:  Question about storage groups and mixed SATA PATA setup

Hi,

I'm wanting to add a another drive to my setup with the new release. Current setup is SATA 250gb for the system and videos and SATA 320gb for recordings. I have a 250gb PATA lying around that I'd like to add for more recording space.

I'd like to only keep transcoded recordings on the PATA disk. For some reason full bitrate recordings on a PATA disk do not play back smoothly on my system.

Does myth w/ storage groups allow you to specify where to keep a recording up so I can keep only transcoded recordings (or at least recordings that will be transcoded) on the PATA drive? Thanks!

Author:  Gnarl [ Thu Apr 24, 2008 12:14 pm ]
Post subject:  Re: Question about storage groups and mixed SATA PATA setup

mogator88 wrote:
Does myth w/ storage groups allow you to specify where to keep a recording up so I can keep only transcoded recordings (or at least recordings that will be transcoded) on the PATA drive? Thanks!
The short answer is no. You can specify to record shows to spacific storage group, but it won't store full recordings on one and save the transcoded recording to another. At least not that I know of. The good news is that if you manually move the transcoded recordings from one storage group to another, you don't need to modify the DB. Myth will find it automatically.

Author:  cliffsjunk [ Thu Apr 24, 2008 1:07 pm ]
Post subject: 

Your PATA drive should really be able to handle the higher data
rate of less compressed video.

The rest of this assumes you are logged in as root and the
hard drive in question is /dev/hda.

Make sure your dma and read ahead is turned on with
something like:
Code:
hdparm -A 1 -a 256 -d 1 /dev/hda
You might add the options "-k 1 -K 1" to make it a little more
permanent.

Make sure that you have an 80 connector cable connected
to that hard drive, not a 40 pin cable. If it is connected to the
same cable as your CD/DVD, try the other one. Make sure your
BIOS doesn't have a setting that is forcing it to run in a slow
mode.

Finally, that hard drive may be on it's last legs. You might
run smartctl on it when you have an hour to spare. The
following commands will tell you all about the drive, including
how long the "long" test will take to run:
Code:
apt-get install smartmontools
smartctl -a /dev/hda | less

This will actually test the drive:
Code:
smartctl -t long /dev/hda

Wait how ever long smartctl -t said to, then:
Code:
smartctl -a /dev/hda | less
again and look for anything bad sounding.

Cliff

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/