J. Pablo Fernández

less info
1,571 reputation
62540
bio website pupeno.com
location Switzerland
age 30
visits member for 4 years, 1 month
seen 17 hours ago
stats profile views 278
See my web site

Feb
28
comment How do you *tag* a partition as ext4?
For the record, just adding extents caused the partition to be recognized as ext4 at boot time. Enabling uninit_bg made it recognizable as ext4 by mount, but at boot time it would try to mount it as ext3 and failed. I'm not sure if this is true for every machine out there.
Feb
27
comment If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?
I am considering this option. The problem is that it's a huge amount of files and before we process them we'll have to re-sync. I'm not sure how the re-syncing process will work with symlinks and how the processing software will work with it (we have some control over that).
Feb
27
comment If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?
@poige apparently it doesn't happen automamagically, but does it happen when creating a new dir? when enabling new features? That information is not in the question and answer you linked to.
Feb
27
comment If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?
The subdir limit has nothing to do with inodes. As you say, it's hardcoded in the driver and the ext4 has a different hardcoded limit. I'm not sure if switching to extent is required to have the bigger limit or not, hence this question. I understand you can switch to extent and/or new directories/files use extent. This is something I'm trying to test.
Feb
27
comment If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?
@HaukeLaging maybe, what do you have in mind?
Dec
6
comment Nightly backups (and maybe other tasks) causing server alerts
@ButtleButkus how do I turn notifications off for linode and new relic? How do I avoid something crashing in the middle and notifications left as off?
Dec
6
comment Not breaking permissions when running Rails-related commands on the server
Adding -H helped with the permission error.
Dec
6
comment Not breaking permissions when running Rails-related commands on the server
When running that line I get this error: bash: /root/.bash_profile: Permission denied
Jul
3
comment Why is ssh agent forwarding not working?
Why don't you update the answer to mention ssh-add -K and I'll accept yours instead of mine (since the information was posted almost simultaneously).
Jul
3
comment Why is ssh agent forwarding not working?
The permission of the keys are fine and the key in authorized_keys is fine (otherwise I think I would have trouble connecting on the first place).
Sep
1
comment PHP not running scripts, downloading them instead
I removed passenger completely and the behavior is still the same :(
Aug
31
comment PHP not running scripts, downloading them instead
I only checked the apache error and access logs. Does PHP keep logs somewhere else?
Aug
31
comment PHP not running scripts, downloading them instead
I added it to the question.
Aug
31
comment PHP not running scripts, downloading them instead
what's httpd -M supposed to do?
Aug
31
comment PHP not running scripts, downloading them instead
@DTest, thanks for the comment. Yes, I did several stop and starts, explicitly.
Aug
31
comment PHP not running scripts, downloading them instead
Yes, they are loaded, I added the info to the question. Thanks for your answer.
May
18
comment Bacula can't work over poor network connections
The connection is basically the ADSL that you'll get at any home. There are no guarantees of uptime and we generally don't need any. Even copying the backup files we don't need any. The download speed ends up being 31Mbps, the upstream is 4Mbps. Still, the speed to the servers we are backing up is probably much lower than that. Changing the fileset is not really a viable option. I think I'm just going to copy the backup volumes.
Apr
13
comment Apache failing with a 500 error
@Flow, I don't remember exactly, thankfully, I don't work much with PHP. Here's the relevant documentation I believe: php.net/manual/en/errorfunc.configuration.php
Apr
8
comment Should I backup /var/lib/bacula/bacula.db?
The Catalog fileset, as it was by default, contains /var/lib/bacula/bacula.sql, not /var/lib/bacula/bacula.db. And yes, I'm using SQLite.
Jan
29
comment Export and import a PostgreSQL database with a different name?
pg_dump in text or binary mode, by default, has tons of mentions of the database name.