Hard drive standy keeps plex from playing media

how long does it take for the disk to spin down? only a few minutes?

Seems like it, I haven’t timed it officially but it seems only like a few minutes. Same thing with the other hard drive

Ok… time to do this interactively with it if it’s going to be that aggressive

for each drive you have mounted:

sudo hdparm -B 255 /dev/sdX where X is the drive letter (e.g sudo hdparm -B 255 /dev/sdb )

if you do not have hdparm installed, get it… you should have it though

This comes from the hdparm man page if you wish to read along.

       -B     Get/set  Advanced Power Management feature, if the drive supports it. A low value
              means aggressive power management and a  high  value  means  better  performance.
              Possible  settings  range from values 1 through 127 (which permit spin-down), and
              values 128 through 254 (which do not permit spin-down).  The  highest  degree  of
              power management is attained with a setting of 1, and the highest I/O performance
              with a setting of 254.  A value of 255 tells hdparm  to  disable  Advanced  Power
              Management altogether on the drive (not all drives support disabling it, but most
              do).


Are you using WD blue / green drives ?

It was set at 254, changed it to 255. My drives are a Seagate Barricuda 160 gig, Quantum Fireball 6.4 gig (more because I could rather than I actually needed it) it doesn’t support APM, and a Hitachi 80 gig. Odd setup but I’m not exactly wealthy even if hard drives are decently priced

I started with a pile of old scrappy drives too. It’s taken me 5 years to get to where I’m at PLUS I’m single. :smiley:

If this stops them from doing their thing, we have the correct value to put for $HDPARM. (255).

Zero should work but 255 will force the shell script to run through the loop for each device and force it off if the device supports it.

If not. Hit the ubuntu forum. This is not right.

I don’t know how the quantum fireball even goes to sleep, it doesn’t support APM or SMART, it released it 1998 lol. I’ll give it all another go

1 Like

maybe the bearings are starting to overheat and it’s going offline ?

Maybe, though it’s sound levels have never indicated that. I’m shocked it still works at all, but I figure if I can get it fixed with one drive I can probably do them all.
Also, I keep having songs with wrong lengths, any fix for that while I wait for the drives to spin down? (i.e Poison by Alice Cooper will be listed as 35 minutes) I apologize if I’m flooding you here but I’ve had soooo many problems that I’ve just tried to ignore due to a lack of info online that’s close to what I’m having

All this talk of 1998 drives makes me want to pull out my 4GB Fujitsu drive :stuck_out_tongue:

There’s something to be said about old drives that somehow last for 20 years :smile:

Like the old CDC drives? All 20 MB of them ? :smiley: ( that needed 200 tpi heads for that little trick )

I should get one of those for this server honestly :joy:

Alright, the hitachi works, the seagate is working, but the old boy seems to not want to cooperate

upgrade the memory too 21L02 RAM :smiling_imp:

Now you know what you have to do. Scrounge up some sheckles for a replacement

I probably have something else I could jerry rig in there some day. Any way, thanks for the help. Any idea why song lengths are all wacked out? I recall Welcome to the jungle not being over 3 hours

Analysis probably isn’t set to run in the Schedule Tasks (butler). certain types, like RM are nasty as heck to measure the actual run length

I’ll see if I can get it to analyze throughout the night

you can always force it by ā€œSelectingā€ it all in Plex/Web (over over one and click the upper left circle ) then move the the last one , hover over it and Shift-Left-Click to select all. Then click Analyze