[mythtv-users] Need advice on FC12 HD partitioning

Another Sillyname anothersname at googlemail.com
Sat Jan 2 08:28:04 UTC 2010


2010/1/2 Jarod Wilson <jarod at wilsonet.com>:
> On Jan 1, 2010, at 12:50 PM, steve wrote:
>
>> I am setting up a new MythTV system to replace my old one (intended for HD).  The OS is Fedora Core 12.
>>
>> I’m using the wiki how to, http://www.mythtv.org/wiki/Installing_MythTV_on_Fedora  but it gives advice on partitioning that no longer seems valid for FC12.  For example it says I should use ext3 for the format of /boot and /  but jfs for /video.  However, the format options given by the installer are
>>
>> ext2
>> ext3
>> ext4
>> physical volume (LVM)
>> software RAID
>> swap
>> vfat
>> xfs
>>
>> So should I use ext4 for /boot & / and xfs for /video?  The howto says XFS is better “at least, when it’s stable…” which is kind of scary.
>>
>> Also I was advised to put /video on a separate drive, so I have a 160 gb drive and a 1 tb drive.  Does this affect the recommended sizes in the howto?  Also the default partition combined both drives into one logical volume, which I don’t think I want if the point is to keep the video on a separate drive.
>>
>> If someone could help me out with a recommended partitioning scheme I’d appreciate it because I know it’s important for good MythTV performance.
>
> ext4 /boot and / here, with xfs video storage partition. Been that way for quite some time now, no problems to speak of. Most of xfs's issues are on 32-bit kernels, exacerbated by use of software raid and/or lvm (I don't use either, and I run as 64-bit kernel).
>
> --
> Jarod Wilson
> jarod at wilsonet.com
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Few Suggestions...

Use ext4 for all you drive file formats, these days it's fine.

As regards the file structure I would suggest for your drives......

160 TB - Setup as you boot and 'working' drive

300mb /boot ext4   The default is 200mb but use 300mb too allow custom
kernels later if you wish.

say 8gb swap (although it's suggested to use the amount of RAM I
always use RAM x 2 to allow for future memory upgrades, and let's face
it the difference between 4gb and 8gb on a 160gb disk is
insignificant).

151.7gb / ext4   This gives you plenty of working space.

Now set up your 1tb drive as a ext4 drive (use gparted - I'll assume
it's /dev/sdb)

In your /mnt directory set up a directory called mythsrvsdb1

Now in /etc/fstab at the bottom add

/dev/sdb1 /mnt/mythsrvsdb1 ext4 defaults 0 0

once you've mounted the drive make sure the permissions are set
correctly to allow the mythtv user to have write access to the
directory.

now in myth setup your storage group to /mnt/mythsrvsdb1

That should do it...

Why have this extra work?

1.  If you need to physically move the storage drive later it's all
self contained

2.  If you later want to use something like nuvexport to do transcodes
from a different machine you can setup an nfs share to the
/mnt/mythsrvsdb1 share and give it the same directory path on the
remote machine.....this makes life easier as the /mnt/mythsrvsdb1
storage group already exists (and the mapping is still correct even on
the remote machine).

Hope this makes sense and helps.....


More information about the mythtv-users mailing list