Mount: /dev/da0: Operation not permitted

Eduardo Morras emorrasg at yahoo.es
Mon Jun 30 19:19:25 UTC 2014


On Mon, 30 Jun 2014 10:32:57 -0700
Chris Kelley <mail at 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 at yahoo.es>


More information about the freebsd-questions mailing list