From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 19:19:24 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB78490A for ; Mon, 30 Jun 2014 19:19:24 +0000 (UTC) Received: from nm14-vm1.bullet.mail.ir2.yahoo.com (nm14-vm1.bullet.mail.ir2.yahoo.com [212.82.96.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 250872A85 for ; Mon, 30 Jun 2014 19:19:23 +0000 (UTC) Received: from [212.82.98.48] by nm14.bullet.mail.ir2.yahoo.com with NNFMP; 30 Jun 2014 19:16:36 -0000 Received: from [46.228.39.66] by tm1.bullet.mail.ir2.yahoo.com with NNFMP; 30 Jun 2014 19:16:36 -0000 Received: from [127.0.0.1] by smtp103.mail.ir2.yahoo.com with NNFMP; 30 Jun 2014 19:16:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1404155796; bh=Qpvl+lP+2YrT0HOr5gPbtOY74MZA9IPFDsWwZ4B3ZB0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=iE9rbPpxzmeGwJKJHZn5FUZ3SmdNJG6EyuwS9TbryxogSlpLEQ0HdHACgskjRhNBX0Ipv1pQS4VUZYukGFZPavweEoxyas4sbefakcg+YO9TtyZp37xXgKOCHUKV2k6FcvQnzw5hnzl/W8M7/fOjIalWQ8XrXTIHa2Bdbun4wwE= X-Yahoo-Newman-Id: 669986.21123.bm@smtp103.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: RcS1D4YVM1lE7Z8JfRKuXJ.qiTz.mkcNkf48Wnq7Lr0eoqF QZ_PrZqFQzKvwgfTkJBL7.YK7.3YlDZjM0inHF21vCXWS8NeMkfuBXPhr.1w o4rXISUiBUs1WUd30gketg4vvCpXHjtAocFV7qQR5llBssIDvdwnujo5hj4c taeWkEgS.EkSlK1jEHa31CoG8DczY0sz5i4z0uUeAEuFmH5axKNwQV_1EcUh 3_H9Pk55KZs6T0nNvuIponEooQFajfhQ0XEOSlaAjjS3SIQZeQ07GE9hs1m_ pY51nymvv7JLypWq0ZmGA_M650p9JoKxlTpIjY9tpMmyxIlnKnK2.2Aemw6M R0PIOzx8hyMhMyYNdfs7VvZp1AusQBi9MvyCvuzbbtTlrpyg2BoqynyD_Oxn WCYls2DsDN_RAtMngJwckX0LuVHEyt33RaLSHZVf46wXnDbw8aT3bb2kY3h5 ADrkcGH.BMl_m6mJVPGwOzVDXdpuSKIfF.aO6_9HdwXO9w2KTzXwZruYvVjU - X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from localhost (emorrasg@212.21.233.80 with plain [98.139.211.125]) by smtp103.mail.ir2.yahoo.com with SMTP; 30 Jun 2014 19:16:36 +0000 UTC Date: Mon, 30 Jun 2014 21:16:45 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Mount: /dev/da0: Operation not permitted Message-Id: <20140630211645.160e63cb3c9135df08afd85e@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.22; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Chris Kelley 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:19:25 -0000 On Mon, 30 Jun 2014 10:32:57 -0700 Chris Kelley wrote: > Hi, > > I’m trying to get a USB RAID 1+0 formatted as UFS to mount after a > power outage and auto-restart. mount(8) errors with “Operation not > permitted”. I’ve tried the following: > > # mount -t ufs /dev/da0 /mnt/vault > mount: /dev/da0: Operation not permitted > If you try to mount twice you get the same error. Are you sure it isn't mount? > # dmesg | grep da0 > da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: Serial Number AD01EA0D91FF > da0: 40.000MB/s transfers > da0: 1907648MB (3906863104 512 byte sectors: 255H 63S/T 243190C) > da0: quirks=0x2 This show us you have a disk there, but perhaps disk and the RAID has different /dev name. What's the output of #ls /dev/ > > # fsck -t ufs -fy /dev/da0 > ** /dev/da0 > ** Last Mounted on /mnt/vault > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 1148248 files, 21336627 used, 451688721 free (39393 frags, 56456166 > blocks, 0.0% fragmentation) > > ***** FILE SYSTEM IS CLEAN ***** > > > There doesn’t seem to be any error or message in /var/log/messages > or /var/log/all.log. I’m not quite sure how to handle this. > > > Thanks, > Chris --- --- Eduardo Morras