HAST role failure

George Kontostanos gkontos.mail at gmail.com
Wed Feb 15 12:28:01 UTC 2012


On Wed, Feb 15, 2012 at 8:27 AM, fannyfauzi <fauzi.fanny at yahoo.com> wrote:
> Hi,
>
> And does /dev/ada0p4 device exist?
> yeah.. the previous i did 'umount /dev/ada0p4'.. and i returned to 'mount
> /dev/ada0p4'
>
> xiaoxi# df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/ada0p2    9.9G    6.2G    2.9G    68%    /
> devfs          1.0k    1.0k      0B   100%    /dev
> /dev/ada0p3      4G     32M    3.6G     1%    /home
> /dev/ada0p4      4G     32M    3.6G     1%    /shared
>
> xiaoxi# hastctl role primary shared
> xiaoxi# hastctl status shared
> shared:
>  role: init
>  provname: shared
>  localpath: /dev/ada0p4
>  extentsize: 0 (0B)
>  keepdirty: 0
>  remoteaddr: tcp4://192.168.208.132
>  replication: fullsync
>  dirty: 0 (0B)
>  statistics:
>    reads: 0
>    writes: 0
>    deletes: 0
>    flushes: 0
>    activemap updates: 0
>
> Feb 15 14:17:18 xiaoxi hastd[66931]: [shared] (primary) Unable to open
> /dev/ada0p4: Operation not permitted.
>
> I have ufs partition on /dev/ada0p4
> /dev/ada0p4     /shared         ufs     rw      2       2
>
> should i delete ufs partition on /dev/ada0p4 or any other advices?
>
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/HAST-role-failure-tp4033049p5485041.html
> Sent from the freebsd-fs mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"

Once your resource has been created you should be able to access it
via /dev/hast/shared

newfs -U /dev/hast/shared
mount /dev/hast/shared    /mnt

Don't try to mount ada0p4.

-- 
George Kontostanos
Aicom telecoms ltd
http://www.aisecure.net


More information about the freebsd-fs mailing list