mentby.com
Blog | Jobs | Help | Signup | Login

loading

can't mount ext4 fs as est3 or ext3

Thu, 25 Apr 2013 08:30:47 -0700 Post Comments

I get the following in /var/log/messages

EXT3-fs (sda5): error: couldn't mount because of unsupported optional features (240)
EXT4-fs (sda5): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)

Here is the entry in fstab

/dev/sda5        /        ext4    noatime,discard         0 1

I am having no difficulty, but seeing the first (error) message every
day in logwatch is annoying.

Since all my fs are ext4 I could remove ext3 support from the kernel
(3.5.4).  Is that the recommended procedure?

thanks,
allan

Read more »

For a long time I have had in make.conf

EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --jobs --load-average=5"
MAKEOPTS="--jobs --load-average=5"

(for previous processors the 5 was 3).

It seems that this configuration fails for several packages (or tickles
bugs in their ebuilds/Makefiles).

Lately whenever a build fails I change to

MAKEOPTS="--jobs=1"

and this very often "fixes" the problem.

It is not clear that any time saved by having jobs=5 compensates for
having to redo builds.  So my question is do people

1. keep jobs=1 in MAKEOPTS
2. have jobs=n in MAKEOPTS but degrade on error as I do
3. have jobs=n and file bugs when it fails.

thanks,
allan

PS I do not change EMERGE_DEFAULT_OPTS

Read more »

using vixie-cron and anacron together

Sat, 16 Mar 2013 11:17:39 -0700 Post Comments

I have used vixie-cron and anacron together for years.  I put the
scripts for anacron in /etc/anacron.{daily, weekly, monthly}
so they were separate from the cron scripts in
/etc/cron.{daily, weekly, monthly} (hourly irrelevant for this)

[[ actually I was even more nonstandard and put them in
   /local/etc/anacron-{...} but that is another story ]]

I want to be more standard with a new installation so I am following the
anacron documentation and putting the anacron scripts in
/etc/cron.{daily, weekly, monthly}.

I am then supposed to "comment [these] jobs out of their crontab files"

Am I correct that I comment out cron.daily by commenting out the line

  9  3  * * *   root    rm -f /var/spool/cron/lastrun/cron.daily

from /etc/crontab.  I think this "has to work" but the code in
/usr/sbin/run-crons is a little tricky and I want to be sure.

thanks,
allan
Profile Widget
Copy and paste this HTML code to your blog or website: