|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Moving files from Windows to unRAID
I guess under unRAID I will be using a different FS so I can't just plug in my old data drives. What is the process to transfer? Just copy files over to the new unRAID drives? Assuming that I have .properties files set up then metadata should be good, correct? These files will be a combination of prior SageTV recordings and DVD-rips - plus music and photos.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
There are ways, in unRAID to add drives that are NOT a part of the storage pool... but, I don't recommend doing it, since, those drives will not benefit from the parity disk protection.
In setting up unRAID, you will likely have a large parity drive and a number of other drives, and I recommend creating "shares" and letting unRAID decide how to distribute the data across the disks... that way, as things fill up, you can just add more drives and unRAID can just start using those drives. When I did mine... I started with a 3tb partity disk and a single 3TB drive. I then setup my shares for "media" and I copied a disk from my old setup into unRAID. Once that was done, I then added the drive to unRAID storage pool, and I got the next drive and did the same, until I was done.... It took some time to copy over all the media.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
I know that unRAID uses a USB drive for the OS, but does it make sense to use a SSD for the partitions where SageTV and other applications are stored? I know that moving to an SSD years ago on Win dramatically improved performance.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
||||
|
||||
Quote:
So, if you wanted all your installed apps to be on SSD, you an just creats an "appdata" or "apps" share and then set it to be cache only, and then all the data for those apps would be on SDD. For Docker, my docker images are all only SSD, but, docker images don't store their configurations in the image (or else you would lose it when docker images get updated), so typically when you are configuring a docker image (like sagetv), you have to tell it where on the unRAID system it can store it's configuration/appication files, and that share can also be a cache share, if you want.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
||||
|
||||
just to add to the confusion...
there is also a plugin for unRAID called unassigned drives (or something to that effect...) it allows you to install a drive(s) that unRAID can see/use/etc but are not assigned to either the drive pool or the cache pool... as I saw no reason to have my recordings "protected" by parity, I have my 2 recording drives "unassigned"... works well for me... anyway, just tossing out more options for you
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice... |
#6
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#7
|
|||
|
|||
Quote:
__________________
Home Network: https://karylstein.com/technology.html |
#8
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#9
|
||||
|
||||
There's help on the page itself that tells you what they all do. Just click on Use cache disk:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#10
|
|||
|
|||
Just looked and the default for system/domains/appdata is Prefer. It writes to the cache disk unless full in which case it'll write to the array. BUT if space clears up it'll move back to the cache on the next mover invocation. Seemed sensable to me and keeps VMs / Docker stuff on the SSD as long as there is space. Only will fail on write if the cache disk is full. Anyway, all this was automatically done for me, but I also started with an SSD cache drive, a single parity drive and a single data drive, (since expanded to 2 cache, 1 parity and 3 data). If you don't start with a cache drive maybe it requires manual tweaking after.
Unassigned devices also lets you mount network shares. I did some testing of copying data from my Windows server that way. Faster to just mount locally, but can be used to get fairly static things moved over without causing an outage.
__________________
Home Network: https://karylstein.com/technology.html |
#11
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#12
|
||||
|
||||
Regarding the moving of data into unRaid, I did the same as Taddeusz above. I went ahead and added all the drives of concern to unRAID, as well as a single new drive. I added only the new drive to the pool (didn't have a parity drive yet). I then installed the SageTV Docker, and let it create the recordings and import folders. I then installed the Unassigned Devices plugin, which allowed me to browse all the attached NTFS drives from my old windows server. I picked the largest NTFS, and moved the files to the appropriate folders in the pool, then formatted/cleared the drive, and added it to the pool. Then went on to the next largest NTFS, and so on. Did this a little at a time (I actually configured Sage to look at those unassigned drives as import folders, so sage still had read access to those recordings during this process). Eventually, I had all the drives in the pool, and all the sage content in the correct folders. I added a parity drive a couple days later after I received the new one (my previous 'new' drive was 3TB, and the parity has to be at least as big as the biggest singular drive in the array), and one installed, manually started a parity check to populate the parity drive.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#13
|
|||
|
|||
Is there any reason not to just copy over the network from my old server to my new unRAID server. It will be much slower but if you aren't in a rush that isn't a big deal - just let it run overnight. I have about 7TB of data to move over.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#14
|
||||
|
||||
Quote:
For information, copying a single file from my desktop to my unraid tower over gigabit runs at about 70MB/sec. So your 7TB of data would take around 30 hours.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 01-21-2017 at 01:41 PM. |
#15
|
|||
|
|||
@Fuzzy - do you know what the speed was when you moved your files over using this methodology? When using the File Explorer in Win 10 my transfers start at about 110MBps, which uses pretty much the full network bandwidth of 1Gbps but then it slows down to about 10MBps. But I wonder what is the limiting factor, is it the parity drive? Note that my parity drive is still building right now. I think you can also stop the array while you are transferring files.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#16
|
||||
|
||||
No I was copying them in Midnight Commander so I didn't watch the transfer time.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#17
|
||||
|
||||
Like Fuzzy... when I do network copies... I see about 70mb/s consistent... i don't really see a burst and then a slowdown... it's just fairly consistent.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#18
|
||||
|
||||
I did some googling and found a few articles on performance tuning the unRAID system... I'm ok with my performance, but these might be of interst to those trying to get more IO bandwidth.
https://lime-technology.com/forum/in...?topic=31073.0 https://lime-technology.com/wiki/ind...ID_Performance http://lime-technology.com/wiki/inde...ser_Benchmarks
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#19
|
|||
|
|||
Now that my array is built i am getting much faster transfers just using Windows File Explorer to transfer media files from one of my existing SageTV servers. I seem to be able to sustain close to 100MB/s for at least thirty minutes. That's probably good enough for me as that is about 0.36TB/hour.
The only issue is that occasionally you get this stupid dialog box about certain properties not able to transfer over to the new drive. You have to then confirm that. You don't want that to happen a few minutes into an overnight file transfer.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#20
|
|||
|
|||
Dang, so I have a few drives to replace if I want better performance. I ran that performance script and my slowest drive is an old WD Green 1TB. It averages 75MB/s and of course is only 5400 RPM. I have two other drives that average below 100MB/s that I will also be replacing as early as I can.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving Recordings From Windows to Linux | Taddeusz | SageTV Github Development | 16 | 12-28-2015 05:56 PM |
Moving from Windows to Linux | jmode | SageTV Linux | 4 | 06-23-2011 12:31 PM |
No playback of files on UnRAID server | ckewinjones | SageTV Software | 10 | 02-12-2011 10:44 AM |
Moving a Sage install to a Windows 7 box | tonysathre | SageTV Software | 15 | 01-06-2010 02:28 PM |
Moving Sage Windows To WHS | mayhewda | SageTV Software | 5 | 10-27-2009 08:26 AM |