From owner-freebsd-fs@FreeBSD.ORG Wed Feb 15 12:28:01 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12AAA106564A for ; Wed, 15 Feb 2012 12:28:01 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C96178FC15 for ; Wed, 15 Feb 2012 12:28:00 +0000 (UTC) Received: by iaeo4 with SMTP id o4so1803231iae.13 for ; Wed, 15 Feb 2012 04:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zV2OjmwHXm3K+D/aFXxZY5LNH2rE9twn59GaQ01GQig=; b=tBZx0hswKM9TsAV601OMItER/kjVD5kv2qSbp2U2ZH1UoHzPubjBV+nXYKo+pOD0b1 AryDtqhc0PmFC4xvaUfYIrx7wb1zXCAb5cRugoHptzcgi5+5xIIiKCjclmr+zgzuanRH ghS6I/IrgYgJMEDN+9jg6/R0VmFTkF8o4ZY5I= MIME-Version: 1.0 Received: by 10.43.126.67 with SMTP id gv3mr469191icc.50.1329308880464; Wed, 15 Feb 2012 04:28:00 -0800 (PST) Received: by 10.231.231.17 with HTTP; Wed, 15 Feb 2012 04:28:00 -0800 (PST) In-Reply-To: <1329287228940-5485041.post@n5.nabble.com> References: <20101213143030.GE1740@garage.freebsd.pl> <1329243132007-5483280.post@n5.nabble.com> <861upxmdiz.fsf@kopusha.home.net> <1329287228940-5485041.post@n5.nabble.com> Date: Wed, 15 Feb 2012 14:28:00 +0200 Message-ID: From: George Kontostanos To: fannyfauzi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re: HAST role failure X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 12:28:01 -0000 On Wed, Feb 15, 2012 at 8:27 AM, fannyfauzi 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