Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

spinning disks up/down

Featured Replies

In my home theater all my movies are kept on my unraid NAS.  To speed up a load of a particular movie,  I would like to be able to spin up (or spin down)  all of the disks on my unraid system using TCP/IP.  Is there a TCP sequence I can use to do that?.  I know I did this many years ago, using a command like the following sent to port 80:

GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1
Host: 192.168.1.209
Connection: Keep-Alive
Accept-Language: en-US
Accept-Encoding: gzip, deflate
(blank Line)
(blank Line)

 

What is the proper method with the current Unraid version and what should I expect as a reply 

  • Author

I would like to directly send a command to the array to spin down or spin up the disks prior to accessing them. I would like to do this over TCP/IP using either HTTP or Telnet. is this possible, and if so where can i find information on the sequence to use?

  • Community Expert

I have merged your topics about this. Please don't post in multiple threads for the same question. It is impossible to coordinate responses when you post in multiple threads. "Crossposting" has been considered bad form on message boards since before the World Wide Web.

 

If you feel your question hasn't received enough attention after a reasonable time, please post again in the original thread. People often will just quote their original question in a new post in the same thread, or simply make a new post in that thread just saying "bump".

  • 2 weeks later...
  • Author

Bump. 

There must be a way to spin drives up/down. using a command over TCP (HTTP, Telnet, ????).  I know previous versions of Unraid have had that capability as I incorporated that capability using an HTTP GET in my home theater system.  I generally have all the drives spun down, and I know of the option to spin down the drives after a time lapse.  The WEB interface has the capability ("Spin up all" and "Spin down all" buttons). 

 

I send the following over TCP/IP:

 

GET /update.htm?cmdSpinupAll=Spin%20Up HTTP/1.1
Host: 192.168.1.209
Connection: Keep-Alive
Accept-Language: en-US
Accept-Encoding: gzip, deflate
 

I receive back a large web page which starts as:


HTTP/1.1 200 OK
Server: nginx
Date: Mon, 30 Nov 2020 13:47:29 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Cache-Control: no-cache
X-Frame-Options: SAMEORIGIN
(blank Line)
d55

<!DOCTYPE HTML>
<html>
<head>
<meta name="robots" content="noindex, nofollow">
<style>
@font-face{
font-family:'clear-sans';font-weight:normal;font-style:normal;
src:url('/webGui/styles/clear-sans.eot');src:url('/webGui/styles/clear-sans.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans.woff') format('woff'),url('/webGui/styles/clear-sans.ttf') format('truetype'),url('/webGui/styles/clear-sans.svg#clear-sans') format('svg');
}
@font-face{
font-family:'clear-sans';font-weight:bold;font-style:normal;
src:url('/webGui/styles/clear-sans-bold.eot');src:url('/webGui/styles/clear-sans-bold.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-bold.woff') format('woff'),url('/webGui/styles/clear-sans-bold.ttf') format('truetype'),url('/webGui/styles/clear-sans-bold.svg#clear-sans-bold') format('svg');
}
@font-face{
font-family:'clear-sans';font-weight:normal;font-style:italic;
src:url('/webGui/styles/clear-sans-italic.eot');src:url('/webGui/styles/clear-sans-italic.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-italic.woff') format('woff'),url('/webGui/styles/clear-sans-italic.ttf') format('truetype'),url('/webGui/styles/clear-sans-italic.svg#clear-sans-italic') format('svg');
}
@font-face{
font-family:'clear-sans';font-weight:bold;font-style:italic;
src:url('/webGui/styles/clear-sans-bold-italic.eot');src:url('/webGui/styles/clear-sans-bold-italic.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/clear-sans-bold-italic.woff') format('woff'),url('/webGui/styles/clear-sans-bold-italic.ttf') format('truetype'),url('/webGui/styles/clear-sans-bold-italic.svg#clear-sans-bold-italic') format('svg');
}
@font-face{
font-family:'bitstream';font-weight:normal;font-style:normal;
src:url('/webGui/styles/bitstream.eot');src:url('/webGui/styles/bitstream.eot?#iefix') format('embedded-opentype'),url('/webGui/styles/bitstream.woff') format('woff'),url('/webGui/styles/bitstream.ttf') format('truetype'),url('/webGui/styles/bitstream.svg#bitstream') format('svg');
}
html{font-family:clear-sans;font-size:62.5%;height:100%}
body{font-size:1.3rem;color:#1c1c1c;background:#f2f2f2;padding:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.logLine{font-family:bitstream;font-size:1.2rem;margin:0 8px;padding:0}
.logLine.spacing{margin:10px;}
</style>
<script>
parent.document.getElementById('progressFrame').style.zIndex = 10;

origin = parent.location.origin;
search = parent.location.search;

function replaceName(name) {
  var x = search.indexOf("name=");
  if (x) search = search.substring(0,x+5) + name;
}

function replaceOrigin(new_origin,new_port) {
  if (parent.location.hostname == "localhost")
    origin = parent.location.protocol + "//" + parent.location.hostname + ":" + new_port;
  else
    origin = new_origin;
}

function addLog(logLine) {
  document.body.innerHTML += logLine;
  window.scrollTo(0,document.body.scrollHeight);
}

function disablePage() {
  for (var i=0,element; element=top.document.querySelectorAll('input,button,select'); i++) element.disabled = true;
  for (var i=0,link; link=top.document.getElementsByTagName('a'); i++) link.style.color = "gray"; //fake disable
}

function enablePage() {
  parent.location.assign(origin + parent.location.pathname + search);
}

disablePage();
</script>
</head>
<body class="logLine" onload="enablePage();"></body>
</html>

 

 

Can somebody please help me?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.