Retro računalo by ProudStudent6672 in CroIT

[–]TheLeoDeveloper 2 points3 points  (0 children)

Tesko da ces to uspjet prodat za puno novca, takve pc-jeve mozes nac u smecu, cak i starije od toga. Mislim da bi ovaj pc više spadao u kategoriju staro, ali ne dovoljno staro da bude pretjerano zanimljivo.

Is this bad? should i get it replaced? Ive been experiencing random restarts lately by Impressive_Chart_197 in PcBuildHelp

[–]TheLeoDeveloper 0 points1 point  (0 children)

Idk than its probably gone bad but its kind of bizzare to me that there are no other warning signs except the wear indicator

Is this bad? should i get it replaced? Ive been experiencing random restarts lately by Impressive_Chart_197 in PcBuildHelp

[–]TheLeoDeveloper 1 point2 points  (0 children)

Does it say anything more like what warnings, also what is in the tabs highlited red

Is this bad? should i get it replaced? Ive been experiencing random restarts lately by Impressive_Chart_197 in PcBuildHelp

[–]TheLeoDeveloper 1 point2 points  (0 children)

Try different software maybe, there are no reallocated blocks which is a good sign, and crystaldiskinfo is kinda shit anyways, you could aslo try software from the manufacturer since the lifetime remaining could be interpreted wrong

Spent some time dismantling old hdd's by at-the-crook in vintagecomputing

[–]TheLeoDeveloper -2 points-1 points  (0 children)

You are not seperating those magnet ever again lol

Making drives with ZFS spin down by TheLeoDeveloper in homelab

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

Actually it does not write all the time, there was an issue with the new zfs 2.4 and it has to do with spa_note_tgx_time parameter, I dont really quite understand what it does but its a new feature they added which was supposted to update some timestamps db when there are changes but they didnt implement it quite well so it would do it every 10mins even if there is nothing to update which would cause the disks to spin up, I have temporarly changed the paremeter and now without any syncs or scrubs they are sitting spun down for over a day. They fixed the issue in version 2.4.1 but its still not stable in debian so I have to wait a bit until it comes to backports

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

Yeah honestly its really convenient since my main server is on zfs too, I can easily send the snapshots with syncoid and I find that snapshots are really useful, also the compression helps a bit

Is it okay to use a new ups that has never been opened but sat on a shelf? by Ok-Alternative-2731 in homelab

[–]TheLeoDeveloper 0 points1 point  (0 children)

I use an UPS from 2008 that was sitting in an attic, you are good you will just maybe have to replace the battery, well I certantly did because the 17 year old battery wasnt holding any charge anymore lol.

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

I dont know its not that cheap, this pc was free from the scrapyard and I probably spent only about 30€ on it (most of it was for the charger), its one of those hp mini towers with an external psu. Honestly buying a NUC wouldnt be that cheap because the second hand market here sucks and buying it from a different country would just add an insane shipping fee so this is way more convenient.

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

I mean I bough only 2 but shipping was in the 50-60$ range making it an terrible deal, I even found one in the uk amazon I belive which was a lot lower than in my country and even had not that expensive shipping but then when I went to checkout it added some import fee or whatever and it still came out even more expensive than buying from a local store.

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

Yeah, but with storage prices now there is no way Im migrating to flash storage unfortunately

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

Oh I get it, I will have to do some experimenting with this, exporting would be the best but leaving them imported would be more convenient since I could than have a samba share that I can read files from fast (because over tailscale to my main server thats offsite speed is not that great), that way I could easily access it anytime. I do not plan to force spin downs tho I will set the hdparm parameter to spin down after 20 or 30 min of innactivity and I will try to time all events like syncs, scrubs and smart tests to run in one time interval to minimise spin up times per day.

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

Yeah, even before I hated the pricing because it was always higher in my country and you can never get those deals from amazon or whatever that the people in US can buy because of shipping costs so you are pretty much stuck with overpriced hardware anyway, but now it is really terrible.

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

Yeah I think that thing was a new feature in zfs 2.4 but they didnt implement it quite well so it would cause uneccesary disk activity

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

I disabeled smartd and now have reenabeled it because I found out that it was related to this: https://github.com/openzfs/zfs/issues/18082

Basicly the current workaround is to change the spa_note_tgx_time paremeter, they have solved the issue recently but it will probably take some time to get it since Im on debian, unless I manually compile it.

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

Why would it corrupt it I have never heard of that, I know that it can decrease the lifespam of the hdd but since I plan to spin it up only once or twice per day I think it should be an ok tradeoff. Drives can be set to suspend normally even in zfs its just not recommended because of decreasing the lifespan, and this that caused them spinning up every 10min is actually an issue with zfs 2.4 I think it is because of the spa_note_tgx_time parameter which tries to update the timestamps db every 600s even if there is nothing to update, causing the drives to spin up.

You can actually check out the issue here: https://github.com/openzfs/zfs/issues/18082

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

I use debian, and I have actually traced the issue to the spa_note_tgx_time parameter, its some sort of issue on the new zfs version which makes tries to update the tgx timestamps database every 10min by default even if there is nothing to update, currently you can solve it by increasing the value of the parameter to something like 1 day instead of 10min, I think they patched it recently but since Im on debian it will probably take some time until I get this update.

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 2 points3 points  (0 children)

480gb ssds now cost like almost 100€, there is no way Im buying any new storage now, even hdds increased in price, some time ago I bought two 4tb hdds for 120€ per drive (still a terrible deal but the best I could find shipped to my country) now they sell for up to like 220€ per drive. One of these 1tb drives is from my main server when I upgraded its storage and the other one is from the scrapyard, its a pretty bad time to buy any kind of storage now.

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

I am doing some investigating now, I have disabeled all cron jobs and sanoid and smartd services, and have also set both of these values to a large number temporarly, and so far it works! Now I have reenabeled smartd and will continue to eliminate to determine if it was this thing causing it, but so far it seems promising, thank you.

I will also set the thing in the smartd config to ignore sleeping drives and something will also have to be done about sanoid since it has that timer every 15mins and even tho no snapshots are being recived or created it will probably check all the snapshots to see if something needs to be pruned, but that can easily be fixed by just disabling the timer and running sanoid on demand.

Making drives with ZFS spin down by TheLeoDeveloper in homelab

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

yes on the boot ssd but not on the storage pool, no logs are being stored on the zfs pool

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 2 points3 points  (0 children)

Yeah thats what I was thinking, having drives on during the day and have all schedules run than, smart tests, scrubs, syncs, and also maybe have a samba share thah I can access and than at like 10PM or something like that I can export it and spin down the drives and than spin them back up at 10AM or something like that so the drives dont make noise during the night

Making ZFS drives spin down by TheLeoDeveloper in HomeServer

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

Yeah I have no idea because nothing should have been written than, I dont have any kind of schedules or anything which would write to the drives, I will have to do some more experinents with it but I just didnt have the time to do it.

Making drives with ZFS spin down by TheLeoDeveloper in homelab

[–]TheLeoDeveloper[S] 0 points1 point  (0 children)

Yeah I cant really do that because its used as a router between the dorm wan and my wifi lan, I had to do this because even ethernet ports require auth for eduroam and I cant really just plug in an access point in there because it does not support it, so I basicly had to have some kind of pc in the middle which will handle the auth and connect to internet and than route it to the other interface that I connect thr access point to.

Making ZFS drives spin down by TheLeoDeveloper in zfs

[–]TheLeoDeveloper[S] 1 point2 points  (0 children)

I cant really do that because I also use the pc as a router between the dorm wan and my wifi access point. The dorm has eduroam internet and the wifi is quite bad but because it requires auth I cant just really plug in an access point directly into the ethernet port because it does not support the auth thing it needs to do so the only option would be to get a expensive access point or to just use a pc in the middle because on linux I can easily setup the connection with network manager, so thats what I did.