From owner-freebsd-questions@FreeBSD.ORG Thu Jun 7 12:02:04 2012 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 DD3421065680 for ; Thu, 7 Jun 2012 12:02:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9A74C8FC1C for ; Thu, 7 Jun 2012 12:02:04 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q57C20OE052909; Thu, 7 Jun 2012 06:02:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q57C20Nf052906; Thu, 7 Jun 2012 06:02:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 7 Jun 2012 06:02:00 -0600 (MDT) From: Warren Block To: Gary Aitken In-Reply-To: <4FD03ECF.3030500@dreamchaser.org> Message-ID: References: <4FD03ECF.3030500@dreamchaser.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 07 Jun 2012 06:02:01 -0600 (MDT) Cc: FreeBSD Mailing List Subject: Re: mount failure 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: Thu, 07 Jun 2012 12:02:04 -0000 On Wed, 6 Jun 2012, Gary Aitken wrote: > Running under X with xfce, just did this: > > gpart show -l da0 > gpart delete -i 1 da0 > gpart destroy da0 > > gpart create -s GPT da0 > gpart bootcode -b /boot/pmbr da0 > > gpart add -t freebsd-boot -i 1 -s 512K -l gptboot da0 > gpart bootcode -b /boot/gptboot -i 1 da0 > > gpart add -t freebsd-ufs -a 4K -s 35G -i 2 -l fbsdroot da0 > gpart add -t freebsd-swap -a 4K -s 512M -i 3 -l fbsdswap da0 > gpart add -t freebsd-ufs -a 4K -s 1G -i 4 -l fbsdvar da0 > gpart add -t freebsd-ufs -a 4K -s 512M -i 5 -l fbsdtmp da0 > gpart add -t freebsd-ufs -a 4K -s 893G -i 6 -l fbsdusr da0 > > newfs /dev/gpt/fbsdroot > newfs -U /dev/gpt/fbsdvar > newfs -U /dev/gpt/fbsdtmp > newfs -U /dev/gpt/fbsdusr > > mount /dev/gpt/fbsdroot /mnt/goflex > > I then tried to create a snapshot of / > X immediately slowed to less than a crawl, and I couldn't do anything. > At first I could move the pointer a little, but then I lost it. > After a half hour or so, I power-cycled and rebooted. > > When I tried to mount the usb drive, I (not surprisingly) got this: > > #mount /dev/gpt/fbsdroot /mnt/goflex/root > mount: /dev/gpt/fbsdroot : operation not permitted > WARNING: RW mount of /mnt/goflex denied. File system is not clean - run fsck. > > But when I try to do an fsck, I can't: > #fsck /dev/gpt/fbsdroot > fsdk: could not determine filesystem type > (same msg for /dev/gpt and /dev/da0p2) # fsck -y -t ufs /dev/gpt/fbsdroot I don't see any obvious problem with the procedure.