Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 21:16:45 +0200
From:      Eduardo Morras <emorrasg@yahoo.es>
To:        freebsd-questions@freebsd.org
Cc:        Chris Kelley <mail@thechriskelley.com>
Subject:   Re: Mount: /dev/da0: Operation not permitted
Message-ID:  <20140630211645.160e63cb3c9135df08afd85e@yahoo.es>
In-Reply-To: <AE1180C0-0C4A-4EBB-AD44-14F6FA905E79@thechriskelley.com>
References:  <AE1180C0-0C4A-4EBB-AD44-14F6FA905E79@thechriskelley.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Jun 2014 10:32:57 -0700
Chris Kelley <mail@thechriskelley.com> 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: <JMicron H/W RAID10 > 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<NO_6_BYTE>

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 <emorrasg@yahoo.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140630211645.160e63cb3c9135df08afd85e>