From owner-freebsd-questions@FreeBSD.ORG Sun Sep 19 22:09:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13591106566C for ; Sun, 19 Sep 2010 22:09:12 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id B1CB58FC0C for ; Sun, 19 Sep 2010 22:09:11 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id CE48E1D632; Sun, 19 Sep 2010 23:50:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=g5Mc4Mv poUhKgxJ6Pr1/O1rjjN8=; b=EHcqRrgFj/GTT0HlnFzx6ZaauLTdxKpnpHXQxnq YHk9J8Vy0V+FpjtoSBZJ6fsE5zpF6zvpdrNRrJTmUKXN5vdWyZhGckzblpByPsno YfKNE5v8uHqnHs0pa63W+b1I5vCL3O91b8cj5t13BB0/PwJLgj7QOI8q4WcFqsHb spiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=g FvROpvsPNg5e/HGY/fLqwQeLeQSgtudkjTPYUw6cOv4CmEJ6e17NIdM4Fykevna/ YfAW3pRH/Jio35bi3+fZl0727pJQdbhvxL+jbdeqoxeK6zJD/+KQQMiYcAUOnbI0 borKMZ1K9bngNW4omqNfhJ1ysnkZCcc/MOMePZBKdc= Received: from [10.255.253.2] (modgunn.iii-norr.com [213.242.135.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 963491D615; Sun, 19 Sep 2010 23:50:31 +0200 (CEST) Date: Sun, 19 Sep 2010 23:50:30 +0200 From: Goran Lowkrantz To: Aaron , freebsd-questions@freebsd.org Message-ID: <949C4B7C7E60C84BD1AFEBA7@[10.255.253.2]> In-Reply-To: References: <03936477@ipt.ru> <37854271@ipt.ru> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: Problem running custom startup script at proper time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 22:09:12 -0000 --On Sunday, September 19, 2010 2:39 PM -0700 Aaron =20 wrote: > Doh! Forgot to reply to the mailing list. > > > Nope, that didn't work either. Darn. Maybe I'll just have to modify > the /etc/rc.d/zfs script to run the for loop first :( Do you load zfs.ko in loader.conf? I have built a few NAS systems on=20 NanoBSD and found that I had to wait loading zfs until I had go the cache=20 file copied from backup storage as I am using the diskless setup. Could it be that you need to run your script before loading zfs.ko? Cheers, G=C3=B6ran > > On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: >> On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: >>> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: >>> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: >>> > >>> >> # PROVIDE: gnop >>> > >>> > What if you try "PROVIDE: disks" instead? >> >>> No good. I also tried the following in the gnop script: >> >>> # PROVIDE: gnop >>> # REQUIRE: mountcritlocal >>> # BEFORE: zfs >> >> /etc/rc.d/geli has this: >> ----- >> # PROVIDE: disks >> # REQUIRE: initrandom >> # KEYWORD: nojail >> ----- >> >> Seems that that should work for you. If not I'm out of ideas >> for now. >> >>> The services -r looks promising, but the dmesg is still the same :( >>> =C2=A0When I disable zfs auto-mount, and then run it manually after = boot, >>> it uses the .nop devices that were created correctly as it should. >> >>> EXCERPT services -r >>> /etc/rc.d/mdconfig >>> /etc/rc.d/mountcritlocal >>> /etc/rc.d/gnop >>> /etc/rc.d/zfs >> >> -- >> WBR, Boris Samorodov (bsam) >> Research Engineer, http://www.ipt.ru Telephone & Internet SP >> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"