228 reputation
211
bio website cloudcabin.org
location Moscow, Russia
age 30
visits member for 3 years, 8 months
seen 2 days ago

System administrator at Badoo Development, Moscow

Self-taught Linux admin, Perl and PostgreSQL enthusiast


May
19
comment df shows too much space on tmpfs
Well what actually happened is the tmpfs partition was not mounted, but it was listed in mount, so df -h was reporting the usage of / instead, since it's the 'parent' partition of a directory which was supposed to be the mountpoint for tmpfs. Mount, on the other hand, lied to me: 'It is possible that files /etc/mtab and /proc/mounts don't match. The first file is based only on the mount command options, but the content of the second file also depends on the kernel and others settings'. I should have checked /proc/mounts, too.
May
19
comment df shows too much space on tmpfs
I am terribly sorry, remounting did actually help, I've just retried it just in case and all the magic is gone. Could the mods please close the question?
May
19
asked df shows too much space on tmpfs
Mar
18
awarded  Yearling
Mar
12
comment Learning Linux beginning from novice
I'd propose (maybe for later) setting up a mail and jabber server, a simple blog, dynamic DNS and such. For home - dlna, transmission + web interface, samba/nfs.
Mar
7
comment Check all domains served by a DNS server
Aww. Been thinking about my current setup where I control the DNS server.
Mar
7
comment Check all domains served by a DNS server
You might try an axfr if it's allowed.
Mar
7
comment Mail server: SASL authentication failure - Postfix + Dovecot + Mysql
How comes you have smtpd_sasl_type = cyrus in your main.cf and all cyrrus-related stuff commented out in your master.cf? Also, could this possibly help you? ubuntuforums.org/showthread.php?t=2168820
Mar
7
answered Configure Postfix+Dovecot+MySQL for my usage case
Mar
4
comment Export virtual machine list
Please be aware that cron jobs are not persistent between reboots and you'll have to modify /etc/rc.local.d/local.sh to rewrite crontab and restart crond every time. There are plenty of guides for this.
Mar
4
comment Export virtual machine list
In the new web client, which comes with vsphere 5.5, this can be done like this: select your hypervizor or cluster, go to related objects -> virtual machines and in the left bottom corner you'll see an export button. Click it, pick columns you want (you definitely want the 'Host' column among others) and then click 'generate CSV report' and then 'save'.
Mar
3
answered Installing nginx on debian - sites-enabled
Mar
3
answered Export virtual machine list
Feb
25
awarded  Teacher
Feb
25
revised does the sharedscripts setting for logrotate apply to all processed logs, or only those in the current context?
added 8 characters in body
Feb
25
revised does the sharedscripts setting for logrotate apply to all processed logs, or only those in the current context?
rotatelogs
Feb
25
answered does the sharedscripts setting for logrotate apply to all processed logs, or only those in the current context?
Feb
25
accepted PhpMyID and mobile browsers
Feb
23
comment Puppet, hiera and erb - erb would not recognize array
What version of puppet do you run? I think omitting one pipe must not help and if it does I'm in trouble. I mean, in Ruby array.each do | i | is valid, so it should be valid in erb, too.
Feb
23
comment Puppet, hiera and erb - erb would not recognize array
It's 3.3.1. I belive the part of the problem is this (quoting puppetlabs docs): The lookup functions and the automatic parameter lookup always return the values of top-level keys in your Hiera data — they cannot descend into deeply nested data structures and return only a portion of them. To do this, you need to first store the whole structure as a variable, then index into the structure from your Puppet code or template. -- but it's still weird to me. It does see the type and it can render a template with the whole array but it can't index.