|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
How to tell drive space, remotely?
Is there a way to tell how much space is empty on your SageTV servers drives, remotely?
Doing some travelling and have loads of Olympic recordings set up, but want to keep an eye on how full my drives are (I have two recording drives, one for each tuner) I thought it would be easy, but so far haven't found an answer. I tried Sage Webserver, but didn't see my drives space usage anywhere. any ideas?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#2
|
||||
|
||||
I don't have an answer to your question but I have one of my own. How do you assign a drive to a specific tuner?
|
#3
|
||||
|
||||
setup configuration sources
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#4
|
||||
|
||||
If you have the web server installed, you can see the drive space there. No clue why you aren't seeing it.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#5
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#6
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#7
|
||||
|
||||
is it because I use two drives, one for each tuning device? Or is it possible I think I'm using Web Server and I'm using something else? Sage/Frey 8080?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson Last edited by tvmaster2; 02-16-2014 at 11:51 AM. |
#8
|
||||
|
||||
In my "Setup" menu (v7.1.9.256) are these choices:
Configuration Wizard Detailed Setup Help Toggle Full Screen Parental Controls Scan Imported media System Information System Messages I cannot find any option in those categories that allow me to match Tuner with specific drive. I am most likely over-looking it. Can you direct me further? |
#9
|
|||
|
|||
That makes sense.. Like skirge said it should be on the webserver main page scroll down. PS I use 4 drives and have space display on the webserver.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 02-16-2014 at 12:28 PM. |
#10
|
||||
|
||||
I have five drives (2TB each) that I use and I can read the free space both on the Server and on the TV. For instance it now says "8303.0 GB Free Next 48 hours: 18 Shows 163.3 GB." It appears at the bottom of the screen in (what looks like) a capacity gauge type of bar.
|
#11
|
||||
|
||||
Quote:
EDTI: FOUND IT! thanks - I had it auto-booting to the files page, not the home page; Sadly, it only tells you total available space, and doesn't let you choose drives. I suppose a good FTP app will do that
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#12
|
|||
|
|||
Quote:
dir c:\>"C:\Users\Edwin\Google Drive\cdrive.txt"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 02-16-2014 at 01:54 PM. |
#13
|
|||
|
|||
It's possible to add a new page to the webserver that would show this (or anything else you want) using groovy scripting. Slugger added that functionality and discusses it in the webserver's thread.
|
#14
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#15
|
|||
|
|||
I am working on some Groovy code that does a report on hard drive space for all drives, including the system drive, TV recording drives, video library drives and lobs.db folder. I will try to post the code tomorrow.
__________________
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
|
|||
|
|||
Save this to a file called disks.groovy and put it in the SageTV\webserver\groovy folder and then you should be able to access the info from (substitute the name of your Sage server for Carnoustie and your port for 8080) http://carnoustie:8080/sage/disks.groovy. The web page should look something like this:
Quote:
Code:
import org.apache.commons.io.FileUtils import sagex.api.* lobsdbThreshold=50 //this number is in MB to trigger a warning SageTVPath=Utility.GetWorkingDirectory() FreeSpace=(Utility.GetDiskFreeSpace(SageTVPath)/1e9).toFloat().round(1) out << "<h1>SageTV is located at: $SageTVPath</h1>\n" out << "<p>Free Space on System drive is: $FreeSpace GB</p>" out << "<h2>Free space for TV Drives is:</h2>\n" Configuration.GetVideoDirectories().each { PathString=it.toString() FreeSpace=(Utility.GetDiskFreeSpace(PathString)/1e9).toFloat().round(1) out << "<p>$PathString Freee space is $FreeSpace GB</p>" } out << "<h2>Free space for Video Library Drives is:</h2>" Configuration.GetVideoLibraryImportPaths().each { PathString=it.toString() FreeSpace=(Utility.GetDiskFreeSpace(PathString)/1e9).toFloat().round(1) out << "<p>$PathString Freee space is $FreeSpace GB</p>\n" } lobsDir=new File (SageTVPath+"\\.lobs.db") if (lobsDir.exists()) { lobsDirSize= (FileUtils.sizeOfDirectory(lobsDir)/1000000).toFloat().round(1) if( lobsDirSize > lobsdbThreshold) { out << "<p>Error******************************\r\nlobs.db folder is getting too big!</p>" } out << "<p>.lobs.db folder is located at $lobsDir and size is $lobsDirSize MB</p>" }
__________________
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 |
#17
|
||||
|
||||
Is this a folder that needs to be created or should it exit already?
|
#18
|
|||
|
|||
I am not sure - I am pretty sure it will exist if you have one of the last few releases of the web UI. You might also need to get the Java FileUtis jar and put it in your jar folder. SJQv4 may be another prerequisite.
__________________
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 |
#19
|
|||
|
|||
Quote:
Quote:
You do not need to install SJQv4 to be able to install Wayne's script. Groovy scripting functionality is built right into the webui since v2.32 or v2.33 (can't remember exactly which release I did it in) so would need to be running at least that version of the webui (and really, you should be on 2.42). You would need to install the commons-io plugin since Wayner is making use of that jar in his script. That plugin would be under the Libraries section of Sage plugins. Despite Sage's insistence otherwise, you would need to restart Sage after installing the commons-io plugin. The webui plugin will not see the new jar file until you restart (due to different classloaders). Good chance that plugin is already installed on your system so then you'd be good to go and wouldn't need to restart Sage. Alternatively, Wayner could package up his script as a Sage plugin and then define all the prereqs such that all you'd need to do is install the script plugin and that's it. Same issue still, though (i.e. you'd need to restart Sage even though Sage will tell you it's not necessary after installing such a plugin -- unless all the jars being referenced in the script were already installed on your system).
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... Last edited by Slugger; 02-25-2014 at 09:14 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remotely Experienced | zoundz | Hardware Support | 0 | 09-25-2008 11:25 AM |
used space? free space? who what? where? | Kanati | SageTV Software | 6 | 05-17-2005 10:09 AM |
Can you increase storage space for SageTV beyond 1 drive? | Steve2112 | SageTV Software | 2 | 09-30-2004 06:43 AM |
Incorrect drive space report for UNC video dirs | Opus4 | SageTV Software | 9 | 08-03-2004 10:10 PM |
Out of disk space on 120GB drive??? | RedCoat999 | SageTV Software | 8 | 10-16-2003 05:51 AM |