[mythtv-users] using a LVM partition for /video

Claude Gélinas agr. claude at phyto.qc.ca
Sun Mar 5 18:06:07 UTC 2006


Le dimanche 05 mars 2006 à 03:46 -0800, R a écrit :
> When I installed Fedora Core 4 on this MythTV box I created a LVM partition.
> 
> fdisk -l /dev/sda
> 
> Disk /dev/sda: 160.0 GB, 160000000000 bytes
> 255 heads, 63 sectors/track, 19452 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1           7       56196    6  FAT16
> /dev/sda2   *           8        1919    15358140   83  Linux
> /dev/sda3            1920        2046     1020127+  82  Linux swap / Solaris
> /dev/sda4            2047       19452   139813695    5  Extended
> /dev/sda5            2047       19452   139813663+  8e  Linux LVM
> 
> 
> Fedora allowed me to create this LVM but did not mount it.
> How do I get this LVM mounted under /video ?
> Is there anything else I need to do or
> do I just specify /video in MythTV?

mkdir /video
chown mythtv.mythtv /video
chmod 777 /video
you should have something like /dev/VolGroup00/LogVol00

mount it like this by adding a line in you /etc/fstab

/dev/VolGroup00/LogVol00       /video  ext3     exec,dev,suid,rw 1 2

ext3 could be replaced by whatever FS you have on your lvm




-- 
-----
Claude Gélinas agr., dta
Phyto Ressources inc.
==============================================================================
Varennes, Québec, Canada           Tél.: (450) 652 9764,   Fax.:(450) 652 6182
     Des questions sur les insectes et maladies des plantes ornementales ?
                 Want to know more about ornamental plant pest ?
                            http://www.phyto.qc.ca



More information about the mythtv-users mailing list