SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-02-2008, 06:46 PM
jm9843 jm9843 is offline
Sage Aficionado
 
Join Date: Oct 2003
Posts: 288
WHS - Setting up an unmanaged recording drive

While this topic has been covered for the most part (recently here), the one thing that I haven't seen addressed is what user account the SageTV service utilizes. This doesn't seem to be an issue if you are assigning your unmanaged recording disk a drive letter; only when using the unc path (i.e. \\localhost\RecordedTV). Using the unc path is preferable for migrating recordings between different physical disks, not having to manage drive letters, etc.

The only permissions that I was able get working was by granting full control to the "Everyone" user. This isn't ideal.

Does anyone know how to effectively give permission to only the SageTV service for an unmanaged WHS share?

Thanks.
Reply With Quote
  #2  
Old 12-02-2008, 06:57 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
You create a user with a password to have the SageTV service log in with. The user should be in the Administrator group and it must have a password. That should be all that you need to do.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 12-02-2008, 07:05 PM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
The WHS SageTV service logs on as "Local System Account" by default and maybe for good reason. You could try creating a SageTV "user" then changing the SageTV service to log on as that use and then changing the permission for the "RecordedTV" share to allow the SageTV user access to the share but I'm not sure if Sage will complain about not being logged on as the LSA. It's worth a try but I only use the UNC path when adding files to my WHS shares, which are, of course, managed by WHS. It would probably be simpler to just assign it a drive letter and use it. As Ive said in another thread, my WHS sage uses WHS shares not unmanaged disks but my usage isn't as extensive as others.

EDIT:
I see gplasky types faster than I do. :P
Reply With Quote
  #4  
Old 12-02-2008, 08:51 PM
bigbill's Avatar
bigbill bigbill is offline
Sage Aficionado
 
Join Date: Dec 2006
Location: San Diego, California
Posts: 444
Don't forget to make sure you set that user to be able to "logon as a service" right in Local Policy. I am fairly sure local system has no issue using UNC paths if they are local to the server. It won't work if you are pointing at something over the network.
__________________
Home DVR: SageTV v9.2.2(64)
i3-6100 3.7ghz, 4GB RAM, Win10 Pro, 3 small fast SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round, 70", 55" & 40" Sony's
RV DVR: 2@SageTV v9.2.2, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit
Reply With Quote
  #5  
Old 12-09-2008, 06:35 AM
jm9843 jm9843 is offline
Sage Aficionado
 
Join Date: Oct 2003
Posts: 288
Thanks for the advice guys. I should have thought to check to see if the service was running as the local system account - must have spent too long at the computer.

So after making sure that the local system account had full control to the unmanaged drive, specifying the recording drive by unc path was no problem. However, this thread got me to thinking that I should be running the SageTV service logged in as a local user (specifically created for Sage) so that I can restrict access to certain shares to be read-only. The primary motivation being so that extender users can't delete items from the imported video/music shares.

To summarize my effort in doing so, I've tried the following:
- create the SageTV user
- change the SageTV.exe service to log in as the new user, restart the service
- set the new user's permission to imported media shares to be read-only
- set the new user's permission to the recorded tv share to be full-control
- set the new user's permission to the SageTV directory (in Program Files) to be full-control

My extenders are now unable to delete imported videos (good!), and everything looks normal until I try watching Live TV. Doing so displays an error message about the capture device not having acess to the local file system. Because I've given the new sage user full-control to that share (the recorded tv share), I wouldn't expect this to be a problem. Sage correctly shows the remaining space on the recorded tv share and can play back from it (i.e. has read access). Is it possible that there is a service seperate from SageTV.exe that handles the capturing? If so, does anyone have an idea of which service that may be?

Temporarily, I've switched back to running the Sage service under the local system account which fixes the capture error but does me no good as far as restricting the video/music import shares.

Any and all advice is welcome.

Thanks.
Reply With Quote
  #6  
Old 12-09-2008, 01:00 PM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
Stick with the local system account and edit your Sage.properties (or sageclient.properties) file:

video_lib_hide_delete=true

Personally, I would just let the WHS pool manage the drive too. Now that we can use 64K clusters in the WHS pool, I see no reason to use an unmanaged drive in WHS for Sage.

Last edited by S_M_E; 12-09-2008 at 01:05 PM.
Reply With Quote
  #7  
Old 12-09-2008, 01:28 PM
jm9843 jm9843 is offline
Sage Aficionado
 
Join Date: Oct 2003
Posts: 288
Quote:
Originally Posted by S_M_E View Post
Stick with the local system account and edit your Sage.properties (or sageclient.properties) file:

video_lib_hide_delete=true
Is there anything to keep the extender user from going into the options and re-enabling it? Perhaps giving the local system account read-only access to the properties file, leaving the rest unchanged?

Quote:
Originally Posted by S_M_E View Post
Personally, I would just let the WHS pool manage the drive too. Now that we can use 64K clusters in the WHS pool, I see no reason to use an unmanaged drive in WHS for Sage.
It seems easier to me to have a disk outside of the pool then to use an unsupported configuration. Besides, I'll sleep better at night knowing that the disk migrator service is keeping it's mitts off of the recording drive.
Reply With Quote
  #8  
Old 12-09-2008, 02:02 PM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
Quote:
Originally Posted by jm9843 View Post
Is there anything to keep the extender user from going into the options and re-enabling it? Perhaps giving the local system account read-only access to the properties file, leaving the rest unchanged?
I don't think they can enable/disable that in the menu options. I believe they would have to edit the actual file, on the server/client. I wouldn't worry about it unless they go around editing files.



Quote:
It seems easier to me to have a disk outside of the pool then to use an unsupported configuration. Besides, I'll sleep better at night knowing that the disk migrator service is keeping it's mitts off of the recording drive.
I guess it depends on your comfort level but using unmanged shares and SageTV in WHS is technically unsupported, by MS, too. I've never had a problem with demigrator on my recording share, since I turned off duplication for that share. Also, since the November update the D drive is no longer used as a landing zone.

YMMV...
Reply With Quote
  #9  
Old 12-09-2008, 02:05 PM
psklenar's Avatar
psklenar psklenar is offline
Sage Advanced User
 
Join Date: Dec 2007
Location: Southern New England, USA
Posts: 140
Quote:
Originally Posted by S_M_E View Post
... Also, since the November update the D drive is no longer used as a landing zone.
In that case, is a D: hard drive partition required at all then?

Also, can the drives in the pool be of varying sizes? Or do they all need to be the same size?

Thanks!
pat----
Reply With Quote
  #10  
Old 12-09-2008, 02:13 PM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
Quote:
Originally Posted by psklenar View Post
In that case, is a D: hard drive partition required at all then?
It's needed for tombstones, backups and on single drive WHS installs. Also the free space on "D" is used by the pool but only when the other drives are full. Tombstones are very small and that's why you don't want "C" or "D" formatted with 64K clusters. The pool, on the other hand, will generally have larger files, especially if used for Sage.

Quote:
Also, can the drives in the pool be of varying sizes? Or do they all need to be the same size?
Any size. I use multiple 250G, 500G and 1T drives and my system drive is 320G (resized for a larger "C" Drive) As I run out of space, I can replace one of the 250's with a 1.5T (or whatever) drive, as needed.
Reply With Quote
  #11  
Old 12-09-2008, 02:17 PM
psklenar's Avatar
psklenar psklenar is offline
Sage Advanced User
 
Join Date: Dec 2007
Location: Southern New England, USA
Posts: 140
Thank you very much!
pat----
Reply With Quote
  #12  
Old 12-09-2008, 02:53 PM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
No problem. As far as I'm concerned, the old reasons for using unmanged drives in WHS are now obsolete. Let me know how your WHS/Sage box performs if you do the 64K clusters, mine has always been fine. Maybe it's because I use a lot of drives or maybe because my Sage use is fairly light compared to some but, either way, I like WHS/Sage...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted SageTV save directory keeps reappearing in WHS Nerva SageTV Software 2 11-14-2008 12:35 PM
How to setup WHS for recording oldjetdriver SageTV Software 1 05-01-2008 09:19 PM
Disk selection recording algorithm gcrafton Hardware Support 2 04-25-2008 11:30 AM
Next recording date/time or hh:mm from now - can this be displayed? pseudonym SageTV Customizations 9 03-20-2008 01:41 PM
Recording drive question (calling all hard drive experts!) Kirby Hardware Support 4 07-17-2006 12:01 PM


All times are GMT -6. The time now is 08:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.