|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, February 15, 2013 2:29 AM
Points: 282,
Visits: 1,047
|
|
Hi All,
I was wondering whether there is a script/way out there in which one can monitor disk space on a network shared drive, I know once can use xp_fixeddrives, but this is mainly for local drives on the actual server.
Does anyone have a solution for this problem, the network drive can be mapped onto the operating system.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, November 26, 2012 3:25 AM
Points: 1,389,
Visits: 596
|
|
Dean Jones (12/2/2008) Hi All,
I was wondering whether there is a script/way out there in which one can monitor disk space on a network shared drive, I know once can use xp_fixeddrives, but this is mainly for local drives on the actual server.
Does anyone have a solution for this problem, the network drive can be mapped onto the operating system.
see the link:
http://www.sqlservercentral.com/Forums/Topic113227-5-1.aspx http://www.databasejournal.com/features/mssql/article.php/3080501/Using-xpfixeddrives-to-Monitor-Free-Space.htm
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 9:16 AM
Points: 768,
Visits: 1,161
|
|
Kishore.P (12/2/2008)
Dean Jones (12/2/2008) Hi All,
I was wondering whether there is a script/way out there in which one can monitor disk space on a network shared drive, I know once can use xp_fixeddrives, but this is mainly for local drives on the actual server.
Does anyone have a solution for this problem, the network drive can be mapped onto the operating system.
see the link: http://www.sqlservercentral.com/Forums/Topic113227-5-1.aspx http://www.databasejournal.com/features/mssql/article.php/3080501/Using-xpfixeddrives-to-Monitor-Free-Space.htm
These 2 links don't seem to support Network Drives space? as far as I can read... OP did mention xp_fixeddrives as well, but that only works for local drives of the SQL server
OP is probably asking if we can check space on a UNC path, or a Network-mapped drive... which I am curious too as well
SQLServerNewbie
MCITP: Database Administrator SQL Server 2005
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Tuesday, September 18, 2012 3:00 PM
Points: 770,
Visits: 1,593
|
|
| Conceal this extended SP into a SP, the call that SP from a linked server, this can be used with the machine where we have SQL installed :)
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, February 15, 2013 2:29 AM
Points: 282,
Visits: 1,047
|
|
Hi Guys,
Yes, I mean a UNC path either directly or mapped onto a computer, not sure which one will be easier but just one way or the other really.
thanks.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 23, 2013 3:27 PM
Points: 2,692,
Visits: 1,075
|
|
You won't be able to directly monitor the free space of a share within SQL Server.
What you could do is create a Performance Counter Log to record the appropriate free space counter from the remote server. Then you can use Logman.exe to load that data into a SQL Server database. Once there you can track it and raise notifications about low space.
Hope this helps Phill Carter -------------------- Colt 45 - the original point and click interface 
Australian SQL Server User Groups - My profile Phills Philosophies Murrumbeena Cricket Club
|
|
|
|