HOME | ABOUT | PUBLIK | HBXT.DE | TWITTER

Suche:

RSS | Atom

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

WebFaction Forum / Zope memory watchdog

TP: Die Bibliothek im Informationszeitalter

ORCID: Neue Initiative zur Autoren-ID « WissPub.net

Python tip: zcd | We Are Team Rubber

Using METS, PREMIS and MODS for Archiving eJournals

vimcolorschemetest - Project Hosting on Google Code

Indexes in catalog.xml considered harmful ? Maurits van Rees

Of babies and bathwater (or: Why I love the Zope Component Architecture) ? Martin Aspeli

Build Python in Buildout ? BlueDynamics Alliance

Eine Software-Architektur für webbasierte Publikationssysteme / Schöpf, Thomas

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 02:30    #

Great! Thanks for the tip!

tsakai    2009-09-28 06:27    #

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

 

name
email
http://
Message