Hi, I'm running the Nextcloud snap on my dad's 12 year old laptop (hp elitebook 8470w) but it has some performance issues. It fails to load for half a minute pretty often.
I'm considering buying a rPi 5 instead to run a few things:
- umami.is or similar simple web analytics
- Nextcloud with memories.gallery to store all my family photos
- maybe HUGO to build websites
- possibly listmonk to send emails later
Another positive could be the lower power draw, but I'm not sure one pi5 is strong enough to run these.
What I'd need help with is the SMART results of the laptops HDD:
Getting these kinds of errors:
[451080.136193] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136235] ata1.00: cmd 61/08:08:80:07:4a/00:00:10:00:00/40 tag 23 ncq dma 4096 out [ [451080.136235] res 40/00:ff: 00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) 451080.136352] ata1.00: status: { DRDY } [ [451080.136385] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136427] ata1.00: cmd 61/08:00:90:07:4a/00:00:10:00:00/40 tag 24 ncq dma 4096 out [ [451080.136427] res 40/00:01:00:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout) [451080.136543] ata1.00: status: { DRDY } [451080.136577] ata1.00: failed command: WRITE FPDMA QUEUED [451080.136619] ata1.00: cmd 61/08:c8:28:08:4a/00:00:10:00:00/40 tag 25 ncq dma 4096 out [451080.136619] res 40/00:01:c8:7f:d5/00:00:10:00:00/e0 Emask 0x4 (timeout) [451080.139084] ata1.00: status: { DRDY 3 }
And I couldn't make sense of the smartmontools long test results for the HDD:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 6799 (249 70 0)
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4753
170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 76
183 Runtime_Bad_Block 0x0032 100 100 010 Old_age Always - 8
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 76
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always -5 59312
226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 65535
227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 48
228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 65535
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 559312
242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 523233
249 Unknown_Attribute 0x0013 100 100 000 Pre-fail Always - 160
```98
In my opinion, if you're buying something to use as a server, you might as well invest in a PC dedicated for the purpose, as it's a lot more flexible and extendable. You should be able to get away with using relatively low-end hardware and still see a lot more performance than that of a pi.
If your budget is almost nonexistent, replace the harddrive, as that seems to be what's wrong with your current setup.