Rebuilding greyhole pool after reinstalling OMV

  • Actually prolly have anamlgamate as one folder because when you are adding to plex it doesn't let you see anything but folders til you add the library. I would not be able to figure out how to add the files that are beside the subdirectory "MoviesTwo" in "collection" in pleb web client"

    G Elliott


    System:
    Silverstone Tek DS380B Mini-ITX DTX NAS Case
    Silverstone Tek 450W SFX PSU
    ASUS H87I-Plus Mini ITX
    Intel Pentium G3420 3.2GHZ
    Patriot G2 2x4 GB DDR3
    Samsung EVO 120 GB SSD (System)
    WD Black 4x4TB (Media)
    Openmediavault 4.1.8.2-1 (Arrakis)
    Plexmedia Server - remote media access
    XBMC - Kodi for local/home theater (SMB)

  • I think it would work better to add additional content as I format it (to take advantage of the pooled space) to unload the MoviesTwo directory into its parent as one big happy "collection" (sry wife wants dinner so I iphone now)


    OK. There's several ways of doing that and I don't really know which is "best" but I would do it like this:


    First, let's get rid of "Collections", since it should be empty anyway.


    Code
    rmdir Collections/


    OK, now lets move everything from "MoviesTwo" to "Collection". I ran through the whole process to test it out. I hope it makes sense.



    So, the key command here is:


    Code
    mv * ../


    mv --> "move"


    * --> "everything"


    ../ --> "up one directory"


    You simply go into the "MoviesTwo" directory and then type that code, and it moves everything into the parent directory and leaves "MoviesTwo" empty.


    You can then


    Code
    cd ..
    rmdir MoviesTwo
  • ...but your "TV Shows" directory is still on its own, as a sub-directory of Movie collection.


    I suspect you want "TV Shows" to be in it's own top-level directory, like "Collection".


    To do that, just do:


    Code
    cd Collection/
    mv TV\ Shows/ ../


    To see it in action, and the results:


    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c/Collection# ls -la
    total 20
    drwxr-xr-x 5 root root 4096 Feb 19 15:57 .
    drwxrwxrwx 11 root root 4096 Feb 19 15:48 ..
    drwxr-xr-x 2 root root 4096 Feb 19 15:56 Lord_Of_The_Rings
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie2.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie3.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie4.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie7.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie8.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie9.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:53 Movie.mkv
    drwxr-xr-x 2 root root 4096 Feb 19 15:57 MoviesTwo
    drwxr-xr-x 2 root root 4096 Feb 19 14:44 TV Shows
    (we don't want TV Shows here)
    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c/Collection# mv TV\ Shows/ ../
    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c/Collection# ls -la
    total 16
    drwxr-xr-x 4 root root 4096 Feb 19 16:10 .
    drwxrwxrwx 12 root root 4096 Feb 19 16:10 ..
    drwxr-xr-x 2 root root 4096 Feb 19 15:56 Lord_Of_The_Rings
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie2.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie3.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:54 Movie4.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie7.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie8.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:55 Movie9.mkv
    -rw-r--r-- 1 root root 0 Feb 19 15:53 Movie.mkv
    drwxr-xr-x 2 root root 4096 Feb 19 15:57 MoviesTwo
    (TV Shows is gone)
    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c/Collection# cd ..
    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c# ls -la
    total 139172
    drwxrwxrwx 12 root root 4096 Feb 19 16:10 .
    drwxr-xr-x 11 root root 4096 Feb 10 18:32 ..
    drwxrwsrwx 6 root users 4096 Feb 7 08:11 backup
    drwxr-xr-x 4 root root 4096 Feb 19 16:10 Collection
    -rw-r--r-- 1 root root 154846 Feb 6 09:26 CPbackup
    drwx------ 2 root root 16384 Aug 22 2011 lost+found
    drwxrwsrwx 8 minecraft users 4096 Feb 6 07:32 Media
    drwxrwsrwx 6 minecraft users 4096 Feb 6 21:11 Music
    drwxrwsrwx 149 minecraft users 4096 Feb 15 15:24 RAWbackup
    -rw-r--r-- 1 root root 1200 Feb 6 10:08 snapraid.conf
    -rw-r--r-- 1 root root 1184 Feb 6 10:06 snapraid.conf.bak
    -rw------- 1 root root 142283590 Feb 17 13:01 snapraid.content
    -rw------- 1 root root 0 Feb 17 12:52 snapraid.content.lock
    drwxr-xr-x 3 root root 4096 Feb 11 16:23 Software
    drwxrwsrwx 2 root users 4096 Feb 6 09:31 tftp
    drwx------ 5 minecraft minecraft 4096 Oct 14 2011 .Trash-1000
    drwxr-xr-x 2 root root 4096 Feb 19 14:44 TV Shows
    (here it is!)
    root@openmediavault:/media/67081dda-f67f-4081-ad65-4e1702aaa82c#

  • Thanks Cogitech . You and all of the knowledgeable folks in this forum work too hard to clean up the messes us dopes make trying to use code. Alas my phone won't let me scroll through the code for some, can't get back to terminal until my Wife is fed and my typing is declining with each scotch and water . I'll have to attack Bbphon

    G Elliott


    System:
    Silverstone Tek DS380B Mini-ITX DTX NAS Case
    Silverstone Tek 450W SFX PSU
    ASUS H87I-Plus Mini ITX
    Intel Pentium G3420 3.2GHZ
    Patriot G2 2x4 GB DDR3
    Samsung EVO 120 GB SSD (System)
    WD Black 4x4TB (Media)
    Openmediavault 4.1.8.2-1 (Arrakis)
    Plexmedia Server - remote media access
    XBMC - Kodi for local/home theater (SMB)

  • Tried to say I cant touch til mornin but phone is freaking out. Get your self a scotch and I will report. Again I am very grateful for your effort and help


    GTE

    G Elliott


    System:
    Silverstone Tek DS380B Mini-ITX DTX NAS Case
    Silverstone Tek 450W SFX PSU
    ASUS H87I-Plus Mini ITX
    Intel Pentium G3420 3.2GHZ
    Patriot G2 2x4 GB DDR3
    Samsung EVO 120 GB SSD (System)
    WD Black 4x4TB (Media)
    Openmediavault 4.1.8.2-1 (Arrakis)
    Plexmedia Server - remote media access
    XBMC - Kodi for local/home theater (SMB)

  • Lastly, if you don't really want the "Collection" directory to be named "Collection" but "Movies" (or something else), just:


    Code
    mv Collection/ Whatever_You_Want/


    As long as the "Whatever_You_Want" directory doesn't exist, mv will rename "Collection" to "Whatever_You_Want".


    Now go create your shares and get snapraid setup! :)

  • Sry. But one question. Why when I'm in Allmedia and I type ls it lists collection and collections but then I cd into collection it says no such directory?

    G Elliott


    System:
    Silverstone Tek DS380B Mini-ITX DTX NAS Case
    Silverstone Tek 450W SFX PSU
    ASUS H87I-Plus Mini ITX
    Intel Pentium G3420 3.2GHZ
    Patriot G2 2x4 GB DDR3
    Samsung EVO 120 GB SSD (System)
    WD Black 4x4TB (Media)
    Openmediavault 4.1.8.2-1 (Arrakis)
    Plexmedia Server - remote media access
    XBMC - Kodi for local/home theater (SMB)

  • How are you trying to cd into it??? When you are in a folder and want to cd into a subdirectory in that folder you can:


    ls (to list files/folders in the current folder)


    then to change to one of the subdirectories:


    cd ./nameoffolder

  • Morning Tekkb. I figured that file view issue out - I just cd'd back to root then typed the path all the way to the subdirectory, then typed command ls -la, and I could view all 467 files. Actually that is all good, mhddfs is set up perfectly, and I set up the snapraid as well. Unfortunately the snapraid sync killed itself about 20 minutes in, and that is what I am dealing with now. I'm gonna change this thread to "resolved", and take that issue up as a new thread. I took a picture of the terminal screen - and will try to embed that to see if anyone can identify the problem. I a afraid it was a CPU overheat. I've noticed that the cpu heats up quickly under load, and cools down pretty quickly when the watercooler/fan throttles up. I'd like to find a way to manually just throttle the thing up all the way so that it doesn't heat up to begin with.


    Anyway, thanks so much again to you, Cogitech and davidh2k for walking me through this whole debacle.


    GTE

    G Elliott


    System:
    Silverstone Tek DS380B Mini-ITX DTX NAS Case
    Silverstone Tek 450W SFX PSU
    ASUS H87I-Plus Mini ITX
    Intel Pentium G3420 3.2GHZ
    Patriot G2 2x4 GB DDR3
    Samsung EVO 120 GB SSD (System)
    WD Black 4x4TB (Media)
    Openmediavault 4.1.8.2-1 (Arrakis)
    Plexmedia Server - remote media access
    XBMC - Kodi for local/home theater (SMB)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!