Matt Mossholder on 28 Sep 2013 14:32:47 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Spanning volumes with LVM (Ubuntu)


Just a suggestion here.. this isn't the recommended way to setup a mythtv system. You should really:

1. Have the OS and database reside on a drive.
2. Allocate another drive per-tuner.
3. Avoid any layering between the drive and mythtv... no LVM, no RAID, etc.

You can usually get away without #2, depending on the bitrate of the streams and the number of tuners per drive, but using LVM to join multiple drives really isn't a good idea in conjunction with mythtv.

I would recommend you used the 1TB drive for the OS and DB, and use the other two drives for storing recordings. If you want to put other static content (pictures, music, etc.) on the recordings drives, that is probably OK, as long as you aren't hammering the disks while you are recording.


  Â--Matt

P.S. ping me if you need help.

 Â --Matt


On Sat, Sep 28, 2013 at 4:52 PM, Rich Freeman <r-plug@thefreemanclan.net> wrote:
On Sat, Sep 28, 2013 at 12:53 PM, Eric H. Johnson
<ejohnson@camalytics.com> wrote:
> No, I believe it only exists on the 1TB drive.
>

Exact command lines and output would probably help here.

When you used pvcreate/pvextend, did you specify /dev/sdx1, or
/dev/sdx? ÂIf the former there is a decent chance that you only
partitioned 2GB.

As you point out ext3/etc can handle large volumes, but they'll only
use whatever lvm exposes to them.

Can you give us the output of pvs, vgs, and lvs? ÂThat will probably
make more clear what is going on.

Also, running lvm alone on top of multiple volumes means that if any
drive fails you're going to lose a lot of data. ÂYou should probably
be running md-raid underneath that unless you just intend to restore
the whole thing from backup anytime you lose a drive, or unless you're
running something like zfs/btrfs (in which case you wouldn't be using
lvm).

Rich
___________________________________________________________________________
Philadelphia Linux Users Group     --    Âhttp://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion Â-- Â http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug