HOME | ABOUT | PUBLIK | HBXT.DE | TWITTER

Suche:

RSS | Atom

hbxt.de - Ihr freundlicher Dr. von der Schnittstelle
IT-Dienstleistungen für Wissenschaft, Bildung, Text

Der Erfolg des Kandidaten - Bürger Gauck - Politik - sueddeutsche.de

Posts about funkload ? redturtle blog

How to write funkload test in few minutes ? RedTurtle's Blog

Python Package Index : mr.developer 1.12

MergingUnrelatedRepositories - Mercurial

Speaking UNIX: Go fish!

OA publishers: just use HTML!

heise online - Web-Security-Scanner von Google

Re: Solution to get cronolog working... - Igor Sysoev - ru.sysoev.nginx - MarkMail

WebFaction Forum / Zope memory watchdog

Hendrik Bunke, 19.03.2009

ZFS and linprocfs

My FreeBSD workstation at home runs almost completely on ZFS, only /boot is UFS. This works really, really good. However, if you're running linux applications you need to mount linprocfs at startup. This causes the system to boot in single-user mode. It just can't mount /usr/compat, since this is on a ZFS filesystem which is mounted after the usual filesystems. In single-user mode you could then do

zfs mount -a
exit
and everything works again. Of course, that's no solution.

First idea: simply mount /usr as 'legacy' via fstab. Thats not very elegant. Second idea: change rcorder so that /etc/rc.d/zfs runs before /etc/rc.d/mountcritlocal. This might have some unconsidered sideeffects. It might also prevent ZFS from reading zpool.cache in /boot/zfs (I didn't try).

Then I discovered the 'late' option for mount(8) and fstab respectively. So the very simple solution is to change the linprocfs entry in /etc/fstab to:

linprocfs       /compat/linux/proc  linprocfs   rw,late  0   0
This prevents linprocfs from being mounted before ZFS-based /usr.

Kommentare

Aline Freitas    2009-04-26 01:30    #

Great! Thanks for the tip!

tsakai    2009-09-28 05:27    #

I had a same trouble. But this tip solves it perfectly.
Thank you very much!

 

name
email
http://
Message