From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 19:07:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D467534 for ; Mon, 30 Jun 2014 19:07:51 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 084D12993 for ; Mon, 30 Jun 2014 19:07:50 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s5UJ7jc0070420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Jun 2014 13:07:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s5UJ7jWA070417; Mon, 30 Jun 2014 13:07:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 30 Jun 2014 13:07:45 -0600 (MDT) From: Warren Block To: Bertram Scharpf , Chris Kelley Subject: Re: Mount: /dev/da0: Operation not permitted In-Reply-To: <20140630183018.GA98290@becker.bs.l> Message-ID: References: <20140630183018.GA98290@becker.bs.l> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 30 Jun 2014 13:07:45 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 19:07:51 -0000 On Mon, 30 Jun 2014, Bertram Scharpf wrote: > On Monday, 30. Jun 2014, 10:32:57 -0700,, Chris Kelley wrote: >> # mount -t ufs /dev/da0 /mnt/vault >> mount: /dev/da0: Operation not permitted > > The first block of 512 bytes is used for partition information and may > not be overwritten by any file system. Usually more than that, depending on the type of partitioning scheme. But devices can be formatted without being partitioned. The commands shown earlier suggest that is the case with this drive. > Do the partitioning, Preserving the data on the drive is probably a goal. For the OP: might something be different in the environment where the drive is to be mounted? Maybe securelevel, or chflags of some type set on the mountpoint?