Score:0

how to make an HDD live as long as possible on Ubuntu Server

pk flag

I got myself a Raspi with an Ubuntu Server OS on it and I use it for several applications.

Usually I use it for testing or experiments and education, but I had an idea to put an external HDD on it and use it as a Backup Folder I can always use (so if I need a file from this HDD I can just copy it or if I want to backup stuff I can back it up to the HDD).

Now I’m worried that the HDD will be working continuously and may have reduced life because it’s in 24/7 use.

My Question is if it’s possible to have the HDD turn itself off and on whenever it’s needed.

My Raspi is a Raspberry Pi 4b with 4GB RAM; the HDD is a WD Elements Portable 5TB.

I’ve heard about hdd´s going into standby mode, but I want a sure way to maximise the device’s longevity.

ChanganAuto avatar
us flag
A portable drive is arguably the worse choice for something like a server that may well be up 24/7 to be useful.
sefikkaan avatar
pk flag
other option would have been an internal hdd with an adapter, and they needed some extra electricity. But after looking out on the web alot said it is an bad idea because of heat, electricity, sound, etc. and they recommend an external HDD which dont have all these "cons". Would it be rly that bad for te HDD if it runs in that server, also if i want to try it with the method of automatically turning off ?
sefikkaan avatar
pk flag
It kind of helped me. The hdparm command is for intern and not extern hdd, but that got me to an another programm called "hd-idle" which sets external Hard Drives into Stand by after 10 minutes. I will test it out to check if its rly work and tell u my result
sefikkaan avatar
pk flag
@mikewhatever i tested hd-idle and it were sucessfull! i can set the idle time how i want and thats what i searched for. Ty for ur hint.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.