[mythtv-users] Partition Advice.

James L. Paul james at mauibay.net
Sun Oct 19 23:55:27 EDT 2003


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



Duncan Thomas wrote:
| Hello all. New user - Very happy.
|
| My current setup is 2 drives.
|
| First one is a dual boot NTFS - EXT3 40 gig hard drive
| Second one is a 200 gig NTFS Partition.
|
| I basically want to scrap the NTFS partition on the second drive and
| dedicate it for my TV recordings and DVD's. I was going to simply set
| the second drive up as EXT3.
|
| Can anyone give some advice on how they would set this up with respect
| to the file system? I have gleaned a bit of information from the mailing
| list and the Myth site but not enough to make a decision with respect to
| file system performance etc. I am not sure if this is a factor, but I
| would want to run Samba to share out the second drive.

I have something similar. I recommend using LVM. Create a partition on
the 40G drive of whatever size you have to spare for video. Do the same
on the 200G drive, presumably all of it. :)

The LVM Howto is straightforward. Set the partition types, make sure LVM
is available in the kernel, and follow the howto to create a volume.
Then create your filesystem on the volume device. I created mine for
large files and zero superuser reserve.

I originally didn't use LVM when I set up my myth box, just an EXT3 /opt
partition. Later I added a 120G drive, set it up as an LVM volume,
copied my /opt/mythtv directory to it, retyped my /opt partition and
added it to the LVM volume then extended the filesystem to use the added
space. Worked like a charm and took less than 20 minutes. :) Now I can
repartition or change drives easily and simply grow or shrink the space
I use for video recordings without really disrupting anything. :)

Do make sure you initialize the LVM volumes during startup. Most major
distributions will do this by default, I think. RH9 certainly does. I
only had to update my /etc/fstab device entry for /opt.

You didn't mention any extreme applications that are performance
concerns. I don't see that Samba has anything to do with the issue, a
mounted filesystem is a mounted filesystem. The drive hardware and
hdparm config is way more significant that the overhead of LVM.

| Regards Duncan
|
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| mythtv-users mailing list
| mythtv-users at mythtv.org
| http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/k6L+T8BYaKRUpkQRAiavAJ0WFEtwNweZKHukzZ92Hb7dVZtWlQCeIoP5
QSSbyU56sT52vEw/udBunpQ=
=m/6c
-----END PGP SIGNATURE-----



More information about the mythtv-users mailing list