Skip to content

u/emeraldtears

In this archive from Dec 2013 to Mar 2017

1
posts
41
comments
0
media
158
score

This is a common fallacy in computing. 1GB != 1,000,000,000 bytes.

5GB == 5,368,709,120 bytes. This is due to the multiplicative effect of each unit of size increasing by a factor of 1024 times the previous unit, starting at kilobyte (i.e. kilobyte == 1024 bytes, megabyte == 1024 kilobytes). This is an example of the difference that often exists in units of scale in computer science vs. common SI "powers of ten" notation - scales in CS-land are predominantly measured in powers of 2, and thus can differ greatly and subtly.

While there are some who believe that the 1024 is somewhat arbitrary, the origins of that number lie in the limitations of physical hardware many decades ago. See here for more information on that. Basically, it all has to do with how you represent a number in binary, and hence how you scale at powers of 2.

Adding confusion to the issue, several years ago HDD manufacturers made some sort of public decree that their stated disk sizes would not use the historical convention (where 5GB == 5x230 == 1,073,741,824 bytes), and instead refer to size in the more SI-centric convention of powers of 10 (i.e. 5x109 == 5GB == 5,000,000,000 bytes).

Tl;dr it would be safe to always assume that file size is measured in the "2x" convention - therefore a 5KB file is not 5,000 bytes but 5120.

12 points

AD DS, Directory Services (what most just call "Active Directory"), requires DNS services in order to operate. You can enable the DS role without installing the Microsoft DNS role, however managing name resolution externally can be challenging - you should have a good reason to do so.

6 points

Ancient netburst architecture, deeply pipelined and gated by an in-order model that limited thread work on ht cores to long-wait scenarios.

Newer ht tech is much different because the limiting factors in the underlying architecture have moved substantially. Thread ordering, cache utilization, branch prediction, they are all now more efficient which means ht cores can have a significant impact depending on the workload.

4 points

Not necessarily - perhaps the custom firmware short-strokes the drive, thereby isolating a small portion of the actual R/W storage that can be seen and interacted with only by the drive firmware.

Users would only ever see the portion of R/W that the firmware allowed it to, and tools to re-format, etc., would not affect it because it wasn't presented to the OS.

4 points

So, in this conversation can we factor in the extraordinary speed penalty of parity calculation? Because I don't see that very often. I'd recommend RAID5 just to not have RAID6 sometimes (I kid...barely).

The sacrifice of dual-parity calc on array performance is not generally acceptable in an enterprise production environment, so most places I find RAID6/60 are in behemoth HP SANs and "because we could!" 2U/25-bay servers that inevitably have a controller take a crap on them. People just often choose to use RAID because it's an easy redundancy method, not necessarily because it's good or even a best practice. RAID isn't a cure-all, and complicated RAID is a guaranteed problem, at some point in the future.

I think the lesson we all forget is this: even though disk is now cheap enough to throw at just about any problem, there's a reason backup/archival media still exist and there are good use cases for it still. When was the last time you shipped a set of disks comprising an array to an offsite facility for security and cold storage? Right, probably never. That's what tape is for.

If you're so concerned about the array that you want RAID6/60 or some such, you might as well invest in tape and offsite too.

I know, I wrote everything above from an enterprise and not a homelab perspective, and yes good tape (and autoloaders) ain't cheap, fair enough. My point is: parity calc overhead sucks balls and I do my best to avoid it.

And yes, I consider URE and other rebuild issues (including time) to be overhead.

(Funny story, I once had three shelves on a HP 8k SAN die at once due to a power bump, lost two production DBs and a critical file store. Replaced shelves/drives, started rebuild - thanks to ADG replicas still existed but also thanks to ADG parity calc it was going to take 3 days to complete restoring <4TB of data... One call to Iron Mountain and 4 hours later I had the tape from the night before in my hand. Restoration took 3.5 hours from the time I loaded the tape to the time I got the DBA offering to buy me a drink.)

1 points

Good point on the AC stuff. The link I gave was to a single-hose system, but that's not actually what I plan to use. The garage does get to about ~90F in the summer so obviously it's not a great idea to suck the ambient air - outside air will be the source, although that generally gets pretty high as well.

The reason I mentioned the humidifier aspect down the road is the actual solution: I would recycle the top-of-rack air into the AC but for humidity - since AC is effectively a de-humidifier, recycling the air means we'll suck every drop of water out of the air - this puts the rack at risk of static electric discharge. Ideal RH is around 40% - a humidifier might be the only way I solve the issue, but it's pretty stupid on such a small scale.

Honestly I'm just going to have to try it and make adjustments - guaranteed I won't get it right the first time. I'm not aiming for massive AC effectiveness, just maintaining sub-80F. Even with poor compressor/condenser efficiency I think I should manage that. Life of the AC unit is another question...

1 points

Understood - resale value (and ease of modification should it become necessary) are important!

The US electrical codes, and my local area specifically, allow surface-mount conduit and panels - this is the only way I'd be able to run power due to the same restrictions you listed. Surface-mounting is easily removed and just leaves behind screw holes that can be puttied over.

My goal is to have everything centralized either in or immediately around the rack in an easy breakdown setup, because god knows I'll move again one day and I don't want to leave functionality behind.

Good luck!

1 points

I'm going to face this down in my own lab build shortly. I have an HP 10k G2 800mm x 800mm rack that I'm stuffing everything into, and it's got an open floor, vented roof, solid sides, and vented front/rear doors.

I need to seal it from dust/debris, as well as from the external air environment. Here's how I plan to do it:

  • Sheetmetal floorpan - two piece, removable, accessible from underneath the rack; sandwiches a high-flow filter membrane on the bottom and low-profile large-diameter DC fans on a fan controller made IP accessible with an Arduino/RasPi. Local sheetmetal fabrication company is going to cut parts for me as they do side-jobs - contact a machine shop or sheetmetal company near you to inquire if you can do the same. I don't even need plans, just dimensions of the things I need cut - pictures, even!

  • Sheetmetal roof - just a framework to hold more DC fans, same idea as in the floor, for vertical airflow; exhaust will flow outside through a window vent (see below); parts cut by the same sheetmetal company as above; reinforcing both parts are 1/8" thick 1" wide steel runners available in the Materials section at any Home Depot or Lowes.

  • Plexiglass (acrylic) door inserts - custom-cut door inserts to make the vented doors resist airflow. No need to be completely airtight, but doors will be sealed with weather stripping around where they meet the rack, and on the inside where the plexi meets the door frame. Inserts will be made by me out of 1/4" material from anywhere local using a circular saw - two 4x8' sheets are all that's needed, ~$100/ea from Home Depot/Lowes.

  • Sides sealed with weather-stripping - easy since they already fit snugly, again no need to be air-tight. ~$5 for 10' at Home Depot/Lowes.

  • Power for the rack - will consolidate two large 20amp breakers into two smaller double 20amp breakers, leaving room for two additional small double 20amp breakers that will be wired with conduit over to a surface-mounted receptacle box near the rack with 4x NEMA 5-20R, each a dedicated 20 amps at 120v. Alternatively, if I can convince myself, I'll wire two 240v circuits with L5-20 instead of the 4x120v - it depends on what UPSs I hook up and whether they will take a single-phase 240v setup. Yet to decide on that front, but will be influenced by PDUs (I have both kinds).

  • Here's the hard part: I'm going to get a portable air conditioner (like this), fabricate a cold-air feed to connect to one side of the floorpan intake system; exhaust will be routed outside via a window vent shared with the roof exhaust - venting will use common HVAC flexi tubing with some mild insulation. Same Arduino/Raspi setup for fan control will also control the AC unit via IR with a blaster lead cupped over the IR receiver on the AC unit. $300+ depending on quality and unit size - 8k BTU should be enough for a full rack if it's not in constant high use, but more BTU=better.

Additional costs for ducting (cheap), insualtion (cheap), vertical window vent (not cheap), DC fans, fan controllers, and Arduino/Raspi not yet factored in. Also may need a humidifier/water injector for summer usage, but that's way down the line and not cheap or easy.

There are a few technical challenges concerning the fan/AC control system, but nothing that hasn't been done before. About the hardest part will be finding/making temperature/humidity/airflow sensors that will operate reliably and writing the features for the controller(s).

As a secondary objective, and insurance, there will be a separate system controlling rack power - a smoke detector will be housed in the exhaust ducting and the alarm switch will be used to trigger a simple manual breaker as a power failsafe between the UPS and rack PDUs. This will allow the rack to shut off completely by itself in the event of smoke/fire, and require manual intervention to get it back online. This is not a simple setup

Hope my ideas help you think through yours!

EDIT: updated, clarified, added details and costs, added power section

4 points

It depends. I've had a lot of used equipment over the years, including a lot of used drives. If the drives are from a respectable source that you don't suspect has deliberately mistreated them they usually work out pretty well.

I generally only use second-hand drives when they've been included with a piece of equipment, though - I don't seek out used drives alone, unless they are for a special use.

YMMV, but I'd say you could probably make a worse bet.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.