61,051 reputation
1176152
bio website bsd-box.net/~mikeg/blog
location New York, United States
age 32
visits member for 4 years, 7 months
seen 9 hours ago

Generic sysadmin. Hack coder. Jack of all trades, master of some.


Please Note:

I expect you to read any reference material I link to in my answers. If the answer to your question is contained in said reference material and the reference source is not likely to disappear I will probably not cut and paste it onto SF unless it's really cool/interesting/obscure.
In return I promise not to link anyone to goatse or tubgirl

I expect you to think for yourself and do a little thinking (and mayhaps even some work) to solve your problems. If you aren't capable of this, please exit the profession via the door on your left.
In return I promise to do my best to aim you in the right direction, and to clarify any points you have trouble with


2d
comment How to reliably and conveniently mirror 2 drives in hotswap hdd racks (likely without RAID1)?
@bogdan You could put a Windows-friendly front-end on the ZFS filesystem (Samba or similar)...
Aug
7
comment rsync IMAP SENT folders between 2 users
Note that this really relies on some intimate knowledge of your IMAP server and how it handles its storage backend (some don't use the filesystem to store individual files, though Dovecot does). It's possible that preserving symlinks may not be what you want in cases like this but that determination is left as a key detail for the implementer (Know Your System - I don't know Dovecot well enough to be sure so this is just a general cautionary note.)
Aug
7
comment rsync IMAP SENT folders between 2 users
@eichertc Your question has been answered (quite thoroughly). You are not required to like the answer, nor are you obligated to accept it. Imposing additional constraints on your question to invalidate an answer is poor form. If you would like to discuss this further please take it to Meta - comments are NOT the place to grouse about answers you do not like.
Jul
16
comment How to make Postfix to POST incoming mail to an external server?
and the app is? It's expecting things in what format? The emails are formatted how? Details like this are important. The answer to your question right now is "You write an application to parse MIME email and do what you want, then pipe the message to that application" - but that's not a very helpful answer. If you want a useful answer you need to ask a detailed question.
Jul
16
comment How to make Postfix to POST incoming mail to an external server?
WHY do you want to do this? What specific practical problem are you trying to solve?
Jul
9
comment Sharing HTTP session data in Passenger/Rack - What's the Best Current Practice?
@MichaelHampton That's generally my feeling. The underlying session stores are transparent to the developers (modulo my insisting that they "Make the session store a configuration option so I can change it without patching the code!") - If the software is properly engineered I can change session stores all day long with no code changes from the development team.
Jul
9
comment Sharing HTTP session data in Passenger/Rack - What's the Best Current Practice?
This could just as easily fit over on Stack Overflow, but at least in my organization "How you store the session data" is a sysadmin problem. (What goes in the bucket we provide is the developer's responsibility.)
Jul
9
comment Convert manual network commands into networking scripts
This is really two separate questions -- you should ask them separately.
Jun
30
comment windows server which files are in cache
I assume you're talking about the filesystem cache?
Jun
30
comment How many power circuits do I have in a rack?
+1 for mentioning cooling. Many times the watts-per-square-foot limitation in a datacenter is for cooling more than power distribution. You can usually bring more power to a rack pretty easily (pulling more cables or tapping a second power bus), but you can't take the heat away any faster...
Jun
30
comment Installing PGAdmin 3
Please read this Meta topic and improve your question. Right now you're essentially saying "It doesn't work! Please give me the exact commands to type in!", which doesn't meet the "professional" requirement of this site -- we expect you to put in some effort and provide a detailed description of the problem you're having.
Jun
30
comment Query AD Users from date
You need to put forth a little effort. Google. TRY. Make an attempt at a solution, then explain what problems you've encountered.
Jun
27
comment Is there anyway to tell what user will receive data from inbound packet?
@Rooster Perhaps you should ask THAT question instead of this one?
Jun
10
comment How does this main domain have a CNAME record?
Indeed, because the word should is used in RFC 1034 I suppose a more proper answer to the other question would be "Any sane DNS server will tell you that you can't do that, but an insane one will let you do whatever you want, to your endless detriment."
Jun
9
comment can't install anything anymore with apt-get
@AymaneShuichi I know "Blow it away and reinstall" sounds harsh, but see the duplicate question for why that's basically the standard recommendation. (Short version: It's incredibly difficult to make sure you get rid of every last trace of the intrusion, so it's better to restore to a known clean state and make sure you plug the hole they got in through.)
May
31
comment Mimicking Google's Persistent Disks — Is this a logical FreeBSD disaster recovery strategy?
@rmalayter read carefully: we do a full shutdown on our slave DB. There is no "downtime", merely a ~1 minute window where the slave is not replicating from the master (during shutdown/restart). This is (IMO) entirely sensible in order to have a 100% guarantee that the backup is of a clean, consistent database that will restart with no issues every time. These backups are also regularly restored to our QA environment (both as a restore test and for QA testing purposes), so it's saving "a few minutes" quite often.
May
31
comment Mimicking Google's Persistent Disks — Is this a logical FreeBSD disaster recovery strategy?
Note that for both UFS and ZFS you may not have to quiesce your database (for example, Postgres would happily recover if I just took a snapshot with the DB running - it would declare an "unclean shutdown" and replay its transaction log). We do the shutdown mainly as an extra level of paranoia, to guarantee that the database is "ready to start immediately" with no replay required in the event we need to go to our backups.
May
31
comment How to install deleted port on FreeBSD
@MadWombat I told you how to get a revision of the port (by checking out an appropriate revision of the ports tree using SVN, the basic instructions for which are in the handbook). I even gave you a revision tag that has a recent version of the port. I'm sorry if you don't appreciate my commentary on your situation, but frankly I don't care because it's not for you - it's for the next poor soul that winds up in this situation and needs a not-so-subtle reminder to always mount a scratch monkey.
May
22
comment Delete files except ones created on sundays with in last 4 weeks
Is there any (good) reason you're not using real backup software to manage your backups? Artisanal hand-crafted beer is good, artisanal hand-crafted backup programs are generally bad.
May
20
comment Need to transfer the free volume group space to another volume group space
I would rather shoot myself in the HEAD than assign a logical volume as an underlying member of another volume group. This surely is madness...