Results 1 to 7 of 7

Thread: [SOLVED] Proper way to move storage

  1. #1
    Join Date
    Jul 2008
    Beans
    13

    [SOLVED] Proper way to move storage

    Hi I have a (mostly) working Mythbuntu 8.04 box and have added another hard drive to increase the capacity.
    What is the proper way to 'redirect' MythTV's drive useage to this new drive?? I think the simplest way would be to turn the /var/lib/mythtv/<folders> into links to folders on the new drive.
    I guess a more sensible way would be to reconfigure mythtv and samba (and whatever else uses those folders) to simply use the folders on the new drive.

    So, can anyone suggest a good way (and where the options are in mythtv to do so)??

    Thanks

  2. #2
    Join Date
    Mar 2007
    Location
    Christchurch, NZ
    Beans
    3,239

    Re: Proper way to move storage

    in mythtv-setup add it as a storage group. Simple, no more to do.

  3. #3
    Join Date
    Jul 2008
    Beans
    13

    Re: Proper way to move storage

    I thought storage groups were for recordings only. Can I use them for imported videos\music\pictures too?? I tried creating a new storage group and pointed the directory at a directory on the new drive with some videos I had on another machine, but they didn't show up in the video manager, nor did a rescan of the video manager find them.

  4. #4
    Join Date
    Jun 2006
    Location
    Neither here nor there
    Beans
    3,283
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Proper way to move storage

    You can point to multiple directories in mythvideo by separating them with a colon in the video directory field.
    Linux & MythTV 4 Life
    Running ubuntu on an Atom 330, Atom D525, Turion 64 X2 TL-56, X2 3800, X2 4200, X2 4600, E2180, Core i5 450M, and a Core i7-2600
    My Hardware

  5. #5
    Join Date
    Mar 2007
    Location
    Christchurch, NZ
    Beans
    3,239

    Re: Proper way to move storage

    Quote Originally Posted by GyroTech View Post
    I thought storage groups were for recordings only. Can I use them for imported videos\music\pictures too?? I tried creating a new storage group and pointed the directory at a directory on the new drive with some videos I had on another machine, but they didn't show up in the video manager, nor did a rescan of the video manager find them.
    sorry I slightly misunderstood your question.

    You can use storage groups for recordings only. But if you move lots of recordings from the old location to the new disk (and new storage group) then you will free up your older hard drive for more videos and music.

    Or you can do as suggested by newlinux.

  6. #6
    Join Date
    Aug 2006
    Location
    Billings, MT
    Beans
    72
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Proper way to move storage

    And then there's always LVM. It will do what you want. That's how I have mine setup. But God help you when a drive fails. It's a real pain to get things back when something goes wrong. And your most likely to lose everything on the entire array.

  7. #7
    Join Date
    Mar 2007
    Location
    Christchurch, NZ
    Beans
    3,239

    Re: Proper way to move storage

    Indeed, which makes LVM a very dangerous soution. Stick to storage groups. Thats why they were developed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •