From nobody@FreeBSD.org Mon Nov 19 04:06:19 2007 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51CEC16A468 for ; Mon, 19 Nov 2007 04:06:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3F6F013C467 for ; Mon, 19 Nov 2007 04:06:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJ45cf4012549 for ; Mon, 19 Nov 2007 04:05:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lAJ45cKX012547; Mon, 19 Nov 2007 04:05:38 GMT (envelope-from nobody) Message-Id: <200711190405.lAJ45cKX012547@www.freebsd.org> Date: Mon, 19 Nov 2007 04:05:38 GMT From: Steve Wills To: freebsd-gnats-submit@FreeBSD.org Subject: mdconfig init script requires image to be on root file system X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 118113 >Category: conf >Synopsis: [md] mdconfig init script requires image to be on root file system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 19 04:10:01 UTC 2007 >Closed-Date: Thu Aug 12 23:42:13 UTC 2010 >Last-Modified: Thu Aug 12 23:42:13 UTC 2010 >Originator: Steve Wills >Release: 7.0-BETA3 >Organization: >Environment: >Description: /etc/rc.d/mdconfig requires that images be on the root file system. This script would be good for having images of jails mounted at boot, but I don't want to keep them on root file system, nor do I have room. Most users don't have room either, given the default root fs size(s). It might also be useful for having an ISO image mounted at boot. Is there a reason for the requirement that the image be on the root file system? Also, even if the file is on /, and you apply the patch in PR conf/118035, you still get this error: # /etc/rc.d/mdconfig start Creating md0 device (vnode). fsck: Could not determin filesystem type Fsck failed on /dev/md0, not mounting the filesystem. >How-To-Repeat: dd if=/dev/zero of=/tmp/jail.img bs=1 count=1 seek=2147483648 echo 'mdconfig_md0="-f /tmp/jail.img"' >> /etc/rc.conf /etc/rc.d/mdconfig start (This also returns no error, which may also be considered a bug). >Fix: Remove the check for root filesystem, add filesytem type of fsck command for UFS images, remove fsck all together for ISO images. >Release-Note: >Audit-Trail: From: Steve Wills To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/118113: [md] mdconfig init script requires image to be on root file system Date: Thu, 12 Aug 2010 18:49:41 -0400 Please close this bug. It doesn't seem to still be an issue. Thanks, Steve State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 12 23:41:55 UTC 2010 State-Changed-Why: Submitter notes that this apparently has been resolved. http://www.freebsd.org/cgi/query-pr.cgi?pr=118113 >Unformatted: