Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 16:41:53 +0000
From:      "Warezweza via Twoo" <noreply+27kou6@twoomail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Warezweza added you as a contact on Twoo and wants to connect
Message-ID:  <B4.85.04717.1DE0C805@mail07.netnoc>

next in thread | raw e-mail | index | archive | help
Warezweza added you as a contact on Twoo and wants to connect.

Connect on Twoo Copy/paste the following link into your web browser:
http://mail.twoo.com/m/39VxDx_C

Twoo is the most fun way to meet new people in your area

Join over 10 million people
Twoo is the fastest growing network for meeting new people. Find out why over 10 million people have already joined Twoo.

Chat now
The first thing you want to do when you see a nice profile is start a conversation, right? On Twoo we promise you lots of people who are eager to have a chat. The best bit: it's free!

Mobile
Check out what is happening around you with the iPhone and Android apps. Take Twoo with you wherever you go.

----------------------------------------------------------------
Don't want to receive these mails? Follow this link:
http://mail.twoo.com/m/00TWyB_i
TWOO NV/SA, Grainsborough House, 81 Oxford Street, W1D 2EU London, United Kingdom info-enus@twoo.com BE0834322338.
From owner-freebsd-questions@FreeBSD.ORG  Sat Oct 27 17:56:26 2012
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 938CF86E
 for <freebsd-questions@freebsd.org>; Sat, 27 Oct 2012 17:56:26 +0000 (UTC)
 (envelope-from freebsd@johnea.net)
Received: from mail.johnea.net (johnea.net [70.167.123.7])
 by mx1.freebsd.org (Postfix) with ESMTP id 6A35D8FC08
 for <freebsd-questions@freebsd.org>; Sat, 27 Oct 2012 17:56:26 +0000 (UTC)
Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.johnea.net (Postfix) with ESMTPSA id 3E30B73F188B
 for <freebsd-questions@freebsd.org>; Sat, 27 Oct 2012 10:56:20 -0700 (PDT)
Message-ID: <508C2043.8070205@johnea.net>
Date: Sat, 27 Oct 2012 10:55:54 -0700
From: freebsd@johnea.net
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:14.0) Gecko/20120717 Thunderbird/14.0
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Subject: Re: 9.1 and gmirror with GPT?
References: <5082EAEE.4040609@johnea.net> <50833F78.1060609@bnrlabs.com>
 <alpine.BSF.2.00.1210210827530.70277@wonkity.com>
 <5085C743.8000508@johnea.net>
 <alpine.BSF.2.00.1210221631250.13158@wonkity.com>
 <5086C7EB.9020104@johnea.net>
 <alpine.BSF.2.00.1210231837130.21493@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1210231837130.21493@wonkity.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Oct 2012 17:56:26 -0000

On 2012-10-23 17:46, Warren Block wrote:
> On Tue, 23 Oct 2012, freebsd@johnea.net wrote:
 
>> To create a swap and then a root that fills the rest of the disk, must the swap be created first, like this:
>>
>> gpart add -t freebsd-swap -a 4k -s 4g mirror/gm0s1
>> gpart add -t freebsd-ufs  -a 4k       mirror/gm0s1
>>
>> Is there any other way to tell gpart to create the / partition using all space except 4G?
> 
> I'm afraid it requires one to Use Math(tm).  gpart show will at least show the real capacity of a drive, instead of the diagonally-measured inflated units used by drive vendors.

Thanks for your guidance Warren! I've also been reading a number of threads on the forums on this subject, to which you contributed.

Rather than face the scary prospect of using actual Math(tm) 8-) I was just going to create swap first at 8G, and let the freebsd partition fill the rest of the disk, however as I try to destroy previous non-aligned MBR and gmirror metadata, I'm running into issues:

"mirror/gm0s1 added, but partition is not aligned on 4096 bytes"

Below is a short screen shot of the commands used to destroy and then recreate gmirror. I'm currently running with non-geom ada0 as root, and am attempting to create the aligned partitions of gm0 on ada1. 

I'm not sure what to do to cause the MBR scheme to be aligned. Thanks for any feedback!

johnea

orsbackup# mount
/dev/ada0s1a on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
orsbackup# gmirror status
      Name    Status  Components
mirror/gm0  COMPLETE  ada1 (ACTIVE)
orsbackup# gpart destroy -F mirror/gm0
mirror/gm0 destroyed
orsbackup# gpart create -s MBR mirror/gm0
mirror/gm0 created
orsbackup# ls /dev/mirror/
gm0
orsbackup# gpart add -t freebsd -a 4k mirror/gm0
mirror/gm0s1 added, but partition is not aligned on 4096 bytes
orsbackup# gpart show
=>        63  3907029105  ada0  MBR  (1.8T)
          63          63        - free -  (31k)
         126  3906994077     1  freebsd  [active]  (1.8T)
  3906994203       34965        - free -  (17M)

=>         0  3906994077  ada0s1  BSD  (1.8T)
           0  3890216960       1  freebsd-ufs  (1.8T)
  3890216960    16777116       2  freebsd-swap  (8G)
  3906994076           1          - free -  (512B)

=>        63  3907029104  mirror/gm0  MBR  (1.8T)
          63          63              - free -  (31k)
         126  3907028979           1  freebsd  (1.8T)
  3907029105          62              - free -  (31k)

=>         0  3907028979  mirror/gm0s1  BSD  (1.8T)
           0  3890216960             1  freebsd-ufs  (1.8T)
  3890216960    16777116             2  freebsd-swap  (8G)
  3906994076       34903                - free -  (17M)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4.85.04717.1DE0C805>