Keep Da Link

To content | To menu | To search

Keyword - zfs

Entries feed - Comments feed

-->

Feb. 28, 2012

FreeBSD vimage jails

 

I tried to use VIMAGE for jails, can be summarized as: independant network stack, firewalling, nat, a real loopback ... for your jails

First I had pf in my kernel, it does not work with VIMAGE, it will kernel panic, (as module too), so remove it (I hope it will be solved soon).

I used the package from DruidBSD: vimage boot, and used the following config:

vimage_enable="YES"     
vimage_list="testjail"
vimage_testjail_rootdir="/usr/jails/testjail"           # root directory
vimage_testjail_hostname="testjail"      # hostname
vimage_testjail_devfs_enable="YES"                      # mount devfs
vimage_testjail_vnets="vtnet1"                         # network interfaces

vtnet1 is a dedicated hard interface (from KVM) and will appears only in the jail after you start /etc/rc.d/vimage start

Nice but I need a bridge there so I needed netgraph modules, but I encounter this issue: link_elf_obj: symbol ifnet undefined, for unknown reason VIMAGE will break ng_ether if used as module, add it to your kernel then rebuild:

# Virtual networking for jail
options         VIMAGE
device          epair
device          if_bridge

option          NETGRAPH
option          NETGRAPH_ETHER

No you can use vimage_testjail_bridges="vtnet0" instead of vimage_testjail_vnets, it will automagically create a bridge visible in you jail named ng0_testjail.

Happy jailing !

 

Feb. 7, 2012

FreeBSD 9.0 ZFS root on OVH

I had so much pain to make it work so here is how to have a ZFS root with a raidz pool on 5 disks, specially with OVH without any console or kvm to debug the boot process.

The server has 5 disks that I put in raidz and boot on it, but this should apply to most installation.

Continue reading...

Oct. 14, 2011

Install FreeBSD 9.0 with ZFS root

The "new" FreeBSD installer does not give you the options to simply install ZFS as root, so sad, here is how to do it.

Continue reading...

March 31, 2011

(Re)Discovering FreeBSD and ZFS

Since Sun's killers euh Oracle shutdown OpenSolaris, FreeBSD is becoming more and more attracting with ZFS port, you should really give it a try (We are back baby).

Here is a fast installation of FreeBSD with a ZFS root.

Continue reading...

Aug. 9, 2010

ZFS on linux

For license reasons (god damn GPL), ZFS can't be integrated into the Linux kernel, but there is a userland fuse version called ZFS-FUSE, so I tried to measure the fuse overhead vs others filesystems presents on my server.

Continue reading...

Feb. 26, 2009

Understanding the ZFS tuning

 

ZFS is all about performance (many levels of caching, pre-fetch, ...) and memory consumption :-)

Here are my last links about ZFS internals, it's worth a read if you plan to use ZFS on large productions :

 

 

 

  • The arc_summary.pl tool is very useful for analysis, made by Ben Rockwood with the kstat counters.

 

  • Also by Ben Rockwood : ZFS in the Trenches is an overview of a real-life-production usage of ZFS : interesting counters and tuning hints at the different levels (monitoring, ARC, ZIL, Physical I/O, backup & replication), useful tools, and experience sharing. A must-read !

 


If you have some interesting links about ZFS too, share them with us in the comments !

Thomas

Continue reading...

Nov. 12, 2008

The new Sun Storage 7000

As announced early, Sun unveiled a new storage platform with the latest improvements in both hardware and software.

Here's a few details :

Continue reading...

May 23, 2008

Revue de presse, ZFS, Dtrace, Opensolaris

BSDCan 2008 ZFS internals Pawel Dawidek le porter de ZFS sur FreeBSD parle du futur commit ZFS et des nouvelles fonctionnalités, c'est aussi un article qui détaille très bien le fonctionnement interne de ZFS, slides de la présentation, voir aussi au passage la prés du portage Dtrace FreeBSD

Je parlais récemment dans ce blog de Sun xVM VirtualBox, le système de virtualisation (comme vmware) qui a des fonctionnalités intéressantes que je n'avais pas vues :

  • Les virtuals machines peuvent être configurées pour être vu en RDP, donc administrable à distance (séquence de boot inclue)
  • iSCSI initiator, des disques iSCSI peuvent être attribués à une VM
  • USB over RDP on peut connecter un device usb et le faire voir à distance par la VM


Opensolaris est plein de surprise, on peut y trouver dans /opt/DTT/Python des scripts pour dtrace, ce qui sous entend que le python d'Opensolaris a été "dtracisé".
Effectivement des probes ont été intégré depuis opensolaris snv 65 à Python 2.4.4 :

49964  python738 libpython2.4.so.1.0                  PyEval_EvalFrame function-entry
49965  python738 libpython2.4.so.1.0                      dtrace_entry function-entry
49966  python738 libpython2.4.so.1.0                  PyEval_EvalFrame function-return
49967  python738 libpython2.4.so.1.0                     dtrace_return function-return

Rappelons qu'Apple avait fait un travail similaire dans Leopard, les probes suivant étant disponibles dans Mac Os X 10.5:

20874 python28356            Python                PyEval_EvalFrameEx function-entry
20875 python28356            Python                PyEval_EvalFrameEx function-return

La doc de Sun sur Dtrace indigeste comme une doc Sun mais complète.

Nov. 4, 2007

Revue de presse du 04/11/07

MySQL replication maitre/maitre et un script de hotbackup via LVM por vos bases MySQL

ZFS wiki for FreeBSD FreeBSD est un très bon système souvent masqué par l'activité tentaculaire de Linux, mais grace à une license plus libre que Linux (certains diront moins libre), le portage de ZFS est déjà pleinement fonctionnel, ce qui le remet dans la course.
La première version stable incluant ZFS: FreeBSD 7.0 devrait sortir mi décembre, à vos graveurs !!!

Nouvelle version de Roundup, suivi d'incident

Une revue de PyObjC 2.0 de Leopard

Un "Google" Os sur une base Linux vendu sur un pc à 200$ Intéressant pour un ptit serveur silencieux à faible coup, la machine tourne sur un VIA (comme les dédibox)

Groovy 1.1rc2, mais qu'est ce que Groovy ? et la sortie de nouvelles versions de plugins Groovy pour Netbeans 6

12 Galeries photo en Js pour votre site

MigLayout 3.0 a Free Swing Layout

Komodo ouvre son code: Openkomodo Komodo (d'ActiveState) est un editeur puissant, multi language, à tester.
EDIT: J'ai testé c'est pas mal du tout, c'est bien le trunk de Komodo qui a été ouvert, donc support de Ruby, Python, de certaines API web, dojo, YUI ...

Oct. 4, 2007

Revue de presse du 04/10/07

Writing python code that doesn't sucks v2

Le module sched python Cela aurait évité à mes amis developpeurs de faire des thread dans tous les sens pour avoir un timer toutes les 5mn ... :)

Direct IO ou pas pour ZFS ? le thread promet d'être long :), à lire pour suivre: ZFS_Best_Practices_Guide ZFS and DirectIO,One I/O, Two I/O, Red I/O, Direct I/O

Rails, un bouquin et comment faire fonctionner un site très charger je ne sais jamais traduire scalability ... par Jedi

- page 1 of 2 -