[mythtv-users] LVM Recommendations

James L. Paul james at mauibay.net
Mon Dec 8 18:12:35 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 December 2003 05:40, Stuart Felenstein wrote:
> Setting up (for the first time), Mythtv on a Redhat 9 system.  I have one
> 80 gig hard disk currently.  I want to use LVM and wonder if someone can
> recommended "logical volume sizes" that would work well.  I'm still in the
> Linux learning stage. Also, are there any particular group names I should
> use for Myth, outside of ./tmp /home , etc.?

As for sizes, bigger is better. I use my LVM volume only for the video 
directory, so it's easily resizeable when I want to add storage. So, as 
usual, size doesn't matter. Except for bigger being better. :)

Where you mount it also doesn't matter much. I chose /opt/myth but you can 
stick it wherever makes sense to you. You can put it wherever you want and 
just tell myth where that is. Creating an /opt directory for application 
specific storage and mounts is not uncommon. All that really matters is that 
_you_ know how your filesystem is laid out.

Another tip... I used an ext3 filesystem with largefile support, since there 
will be very few, if any, small files on it I didn't see reason to take up 
space with more inodes than I'll ever need. Also I set the percentage of 
reserved blocks to zero. Since root doesn't need any system space on it I see 
no reason to waste the default 5% space reserved for root.

So I did smething like:
mkfs.ext3 -m 0 -T largefile /dev/myth/opt

>
> Thank you,
> Stuart
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/1QVjT8BYaKRUpkQRAjnnAJ9e+h4oUrQdJZWwyUe6RBmyIoEsCgCghuFQ
ELyFTO2PTVqg5JYlJYB48hs=
=tp65
-----END PGP SIGNATURE-----




More information about the mythtv-users mailing list