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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounted on
> /dev/ada0p2 =A0 =A09.9G =A0 =A06.2G =A0 =A02.9G =A0 =A068% =A0 =A0/
> devfs =A0 =A0 =A0 =A0 =A01.0k =A0 =A01.0k =A0 =A0 =A00B =A0 100% =A0 =A0/=
dev
> /dev/ada0p3 =A0 =A0 =A04G =A0 =A0 32M =A0 =A03.6G =A0 =A0 1% =A0 =A0/home
> /dev/ada0p4 =A0 =A0 =A04G =A0 =A0 32M =A0 =A03.6G =A0 =A0 1% =A0 =A0/shar=
ed
>
> xiaoxi# hastctl role primary shared
> xiaoxi# hastctl status shared
> shared:
> =A0role: init
> =A0provname: shared
> =A0localpath: /dev/ada0p4
> =A0extentsize: 0 (0B)
> =A0keepdirty: 0
> =A0remoteaddr: tcp4://192.168.208.132
> =A0replication: fullsync
> =A0dirty: 0 (0B)
> =A0statistics:
> =A0 =A0reads: 0
> =A0 =A0writes: 0
> =A0 =A0deletes: 0
> =A0 =A0flushes: 0
> =A0 =A0activemap 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 =A0 =A0 /shared =A0 =A0 =A0 =A0 ufs =A0 =A0 rw =A0 =A0 =A02 =
=A0 =A0 =A0 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-r=
ole-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.

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



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