4,474 reputation
1724
bio website BlackMesh.com
location
age
visits member for 4 years, 6 months
seen Dec 3 at 20:52

Director of Emerging Technology at BlackMesh Managed Hosting, longtime Linux aficionado, sometime Drupal developer (and d.o sysadmin), and occasional filesystem tinkerer.


Sep
26
awarded  Promoter
Sep
23
comment rm on a directory with millions of files
Each filename was exactly 36 characters long.
Sep
23
revised rm on a directory with millions of files
added 1 characters in body; edited tags
Sep
23
revised rm on a directory with millions of files
added 230 characters in body; added 94 characters in body
Sep
23
comment rm on a directory with millions of files
That said, if there's no per-directory file limit, why did I get "ext3_dx_add_entry: Directory index full!" when there were still inodes available on that partition? There were no subdirectories inside this directory.
Sep
23
comment rm on a directory with millions of files
Indeed, I noticed just this behavior after deleting everything. Luckily, we had already mv'd the directory out of the "line of fire", as it were, so I could just rmdir it.
Sep
23
comment rm on a directory with millions of files
I really like this answer, actually. As a practical matter, in this case, no, but it's not one I would have thought of. Bravo!
Sep
23
comment rm on a directory with millions of files
As to rm being very slow, "time find . -delete" on 30k files: 0m0.357s / 0m0.019s / 0m0.337s real/user/sys. "time ( ls -1U | xargs rm -f )" on those same files: 0m0.366s / 0m0.025s / 0m0.340s. Which is basically margin-of-error territory.
Sep
23
comment rm on a directory with millions of files
rm -rf ran for a day and a half, and I finally killed it, without ever knowing if it had actually accomplished anything. I needed a progress bar.
Sep
23
revised rm on a directory with millions of files
added 241 characters in body; edited tags
Sep
23
awarded  Student
Sep
22
comment Installing Zend Server via Puppet, on RHEL and Ubuntu?
Indeed, that's how we do it.
Sep
22
asked rm on a directory with millions of files
Aug
24
comment mysql dump of talble limit 100
That's hideous and hilarious. Well-played. And here I was writing a script!
Aug
24
comment How can I figure out if port 25 is blocked on my network?
John: "filtered" means that no response was received from the server. "Closed" means a TCP RST was received. The former usually indicates that a firewall has blocked the connection (as they rarely issue RSTs for their "deny" rules), while the latter typically indicates that there really is nothing listening on that port, albeit with the caveat that, with a bit of effort, a crafty net.admin can completely mess up that set of assumptions.
Aug
24
comment How can I figure out if port 25 is blocked on my network?
Slick! You can even specify a port with "-p", so it'd be "tcptraceroute -Tp 25 mydomain.tld" in this case. Thanks for the pointer.
Aug
20
answered How can I figure out if port 25 is blocked on my network?
Aug
20
answered mod_rewrite, execute rules if substring found
Aug
17
revised Is there a tool for subnetting for free?
edited tags
Aug
17
answered Installing Zend Server via Puppet, on RHEL and Ubuntu?