Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 14:28:00 +0200
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        fannyfauzi <fauzi.fanny@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: HAST role failure
Message-ID:  <CA%2BdUSyrdxNQDMCUvfcM1PKm=5C8Znth-%2B6cmUPp9e7Vcw=BdqQ@mail.gmail.com>
In-Reply-To: <1329287228940-5485041.post@n5.nabble.com>
References:  <AANLkTim70T5rA=F-Nhrp=FtHHR8Njuwt9dfXaoH_z=8g@mail.gmail.com> <AANLkTinoZ8pTEi_aB4RRrpL-4BKbBiebo7TMsg0wTg_9@mail.gmail.com> <AANLkTi=67KdWnZmTGKCgubO9ECA0hLu_2o3jH3ySKGUi@mail.gmail.com> <20101213143030.GE1740@garage.freebsd.pl> <AANLkTimcmQq3dB5zeJ-5OfiAW1ZV5pjAuSOJfRE73qGg@mail.gmail.com> <AANLkTinzkqO_NK4BMfvY5VY9j1dTqSy9u-SBVjWmBEXz@mail.gmail.com> <1329243132007-5483280.post@n5.nabble.com> <861upxmdiz.fsf@kopusha.home.net> <CA%2BdUSyq_J7YJPAz5783nRBBUvPw7rHSvMKY6SE-H011aeqkQYg@mail.gmail.com> <1329287228940-5485041.post@n5.nabble.com>

index | next in thread | previous in thread | raw e-mail

On Wed, Feb 15, 2012 at 8:27 AM, fannyfauzi <fauzi.fanny@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdUSyrdxNQDMCUvfcM1PKm=5C8Znth-%2B6cmUPp9e7Vcw=BdqQ>