From owner-freebsd-current@FreeBSD.ORG Sun Jun 24 08:48:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AC1316A400 for ; Sun, 24 Jun 2007 08:48:41 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE4613C468 for ; Sun, 24 Jun 2007 08:48:40 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1344528mue for ; Sun, 24 Jun 2007 01:48:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Aegr3sY6waVDhrAMwfanSWJfw5/QpHHmDlznkVGllHDi0B4kY/Vbg86hjIgeXXis14uqk+09PA5J6QrAP7rbur13BgRYClGW55VgZakClV3zcTnR49d4rd5yChmFWaXGREuak/Cp1Jq1SrVsk6oKmV9nrNZ/amMFiPJt6KOj2oY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=QZBJzxO15QEqGQ8EqkMByGUWkQxnbe/6pVoG1DDusxTcJk0aYLNATN8xnszeZgkiVWR568W6DkAaNz2xhrSZh0rbAh3GJk2P+GrtP/IFiRRUaDV5Z4IH3W9ol9NenVUpC9WG7B3scgEKx0yx4j/vo62e/hCeYXHhTtNzpy0Wc68= Received: by 10.82.152.16 with SMTP id z16mr10040257bud.1182673413765; Sun, 24 Jun 2007 01:23:33 -0700 (PDT) Received: by 10.82.139.1 with HTTP; Sun, 24 Jun 2007 01:23:33 -0700 (PDT) Message-ID: <5635aa0d0706240123l26990885ve7adc2ccbabfc282@mail.gmail.com> Date: Sun, 24 Jun 2007 10:23:33 +0200 From: "Outback Dingo" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS on 7.X CURRENT /usr refuses to remount after boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2007 08:48:41 -0000 ok, configs first #cat /boot/loader.conf acpi_ibm_load="YES" # IBM z60m Laptop if_iwi_load="YES" # Intel wireless driver on IBM z60M legal.intel_iwi.license_ack=1 # Intel binary agreement snd_hda_load="YES" # Intel High Definition Audio Driver zfs_load="YES" # load ZFS vfs.zfs.zil_disable="1" # x86 recommended config - http://wiki.freebsd.org/ZFSTuningGuide vfs.zfs.prefetch_disable="1" # x86 recommended config - http://wiki.freebsd.org/ZFSTuningGuide vfs.zfs.arc_max="83886080" # x86 recommended config - http://wiki.freebsd.org/ZFSTuningGuide vm.kmem_size_max="268435456" # x86 recommended config - http://wiki.freebsd.org/ZFSTuningGuide cat /etc/sysctl.conf # $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # kern.maxvnodes=50000 cat /etc/rc.conf # -- sysinstall generated deltas -- # Sat Jun 9 00:06:41 2007 # Created: Sat Jun 9 00:06:41 2007 # Enable network daemons for user convenience. hostname="z60m.somedomain.com" ifconfig_iwi0="DHCP" moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" ntpdate_enable="YES" ntpdate_flags="europe.pool.ntp.org" sshd_enable="YES" zfs_enable="YES" cat /etc/rc.d/zfs #!/bin/sh # # $FreeBSD: src/etc/rc.d/zfs,v 1.5 2007/04/22 20:55:08 pjd Exp $ now... as seen straight from the docs at http://wiki.freebsd.org/ZFSQuickStartGuide # echo 'zfs_enable="YES"' >> /etc/rc.conf # zpool create tank raidz da0 da1 da2 # zfs create tank/usr # zfs create tank/usr/home # zfs create tank/usr/home/user # zfs create tank/usr/lib # zfs create tank/usr/libexec # zfs create tank/usr/libdata # zfs create tank/usr/bin # zfs create tank/usr/sbin # zfs create tank/usr/local etc etc etc # cd /usr # tar zcvpf /tank/usr/usr-fs.tgz * # cd /tank/usr # tar zxvpf usr-fs.tgz cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s3b none swap sw 0 0 /dev/ad0s3a / ufs rw 1 1 # comment out old #/dev/ad0s3d /usr ufs rw 2 2 tank /usr zfs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 # echo 'daily_status_zfs_enable="YES"' >> /etc/periodic.conf # zfs set mountpoint=/usr tank/usr upon reboot, the system drops to single user with error message cannot find fsck_zfs in /bin, /sbin but from single user i can zpool import -f tank zfs mount -a exit and itll continue to multi-user mode what did i miss ???