operation not permitted on entropy file
David Benfell
benfell at parts-unknown.org
Mon Aug 11 15:35:37 UTC 2014
On Mon, Aug 11, 2014 at 05:16:53PM +0200, Polytropon wrote:
> On Mon, 11 Aug 2014 09:52:00 -0500, Adam Vande More wrote:
> > Try fsck'ing a nearly full TB FS on a production box that has had a dirty
> > unmount and you will begin to appreciate the adventure a bit more.
>
> I prefer appreciating my precious data. :-)
>
On my system, it's a 2TB disk.
> > > And if I don't have
> > > soft updates by default, then why are they being reported by fsck?
> >
> > This statement doesn't make sense. Can you post the output you're seeing
> > along with the mount options in play?
Ummm, how could I post this output? In single user, read-only mode, I
don't think it got logged anywhere. I didn't take a picture. But I saw
lots of messages referring to "unexpected SU+J inconsistencies." I
remember the abbreviation sequence because I didn't know what it stood
for (and still don't understand 'soft updates').
>
> Having _no_ soft updates is probably only true for / when the
> traditional partitioned layout has been chosen in the installer
> (that is, for sysinstall; I don't know bsdinstall's defaults
> from my memory). All other partitions are usually initialized
> with soft updates enabled.
Okay, this part I'm not remembering. It was FreeBSD 10/stable I was
installing (I made a disk with my notebook). I don't know if it was
sysinstall or bsdinstall.
>
> Here's an example (restricted to disks):
>
> % mount
> /dev/ad4s1a on / (ufs, local)
> /dev/ad4s1d on /tmp (ufs, local, soft-updates)
> /dev/ad4s1e on /var (ufs, local, soft-updates)
> /dev/ad4s1f on /usr (ufs, local, soft-updates)
> /dev/ad4s1g on /opt (ufs, local, soft-updates)
> /dev/ad6 on /home (ufs, local, soft-updates)
>
Mine:
home# mount
/dev/ada0p3 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
I had understood you to say that neither journaling nor soft-updates
were the default for the / partition. I'm not remembering if they were
presented as options in the install or if I selected those options.
(This isn't stuff I ordinarily think much about.)
> As you can see, only / doesn't have soft updates enabled. This
> is the choice I made in sysinstall (FreeBSD 8 here) when the
> disk was new.
If the the installation program presents the options, there's a
possibility I ticked the selection. I don't remember.
> > > And for reference, I notice that journaling decisions need to be made
> > > *prior* to creating the filesystem.
> >
> > Journaling decisions can be made basically at anytime the FS isn't mounted
> > or mounted ro using tunefs(1).
Ah. Okay. I was only looking at the gjournal man page.
> The safest way to change those settings is to enter single user
> mode and use tunefs on the unmounted partitions.
--
David Benfell <benfell at parts-unknown.org>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140811/8b97f269/attachment.sig>
More information about the freebsd-questions
mailing list