From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 11:55:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA8D106566B for ; Fri, 24 Sep 2010 11:55:27 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8ECA8FC0A for ; Fri, 24 Sep 2010 11:55:26 +0000 (UTC) Received: by mail-gx0-f182.google.com with SMTP id 8so1134891gxk.13 for ; Fri, 24 Sep 2010 04:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=j9/GF4MS47noB+rP/uuDk7Js/U2ObD94YddyIXEwdyY=; b=F5duBVDFBhnA8gIZURWj4v9Fvt0X0I5G2E8JfGjW4gavvzMmSF3WWTFSaoT1JUbeSS FNDRU0qq6iHTOnVmsqNXMbV9fVfpUw8djPk0b9t7c6bPBACAom1JuT0qKbqcldTeTj2J A3cMc9iW06LriR58FlqAEKC+kIR12tcY/cFWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WZWHdkPhwcki7ZV672U7DlaR9u2MSPeESxKhpPnTt7M560/oj9zHz80VHEiJmfYz7G r5ZToEwUVjkFAS0qYVyWl0sb17p4zx6Xm8yYlr0SzruOxCLSGWuhlii98iKNJkJi1bPf 0jPxlxW+GZ6B7ElC0PQGgx0yEknIr8wdKTJ7g= MIME-Version: 1.0 Received: by 10.100.235.9 with SMTP id i9mr3618048anh.218.1285329326658; Fri, 24 Sep 2010 04:55:26 -0700 (PDT) Received: by 10.231.190.129 with HTTP; Fri, 24 Sep 2010 04:55:26 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Sep 2010 13:55:26 +0200 Message-ID: From: Andy Wodfer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problem adding 1TB SATA disk to system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 11:55:27 -0000 On Thu, Sep 16, 2010 at 6:17 PM, Michael Powell wrote: > Andy Wodfer wrote: > > > I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). > > However, I'm having big problems adding a new harddrive to the system. I > > want a separate 1TB SATA installed to recover backup files on, but when I > > add it I only get error messages: > > > > dmesg: > > > > ad2: 953869MB at ata1-master SATA300 > > GEOM: ad2: corrupt or invalid GPT detected. > > GEOM: ad2: GPT rejected -- may not be recoverable. > > GEOM: ufsid/4c80e66f50f43e15: corrupt or invalid GPT detected. > > GEOM: ufsid/4c80e66f50f43e15: GPT rejected -- may not be recoverable. > > > > I've tried label and fdisk, but I can't get it to work. > > > [snip] > > I do not believe you can utilize fdisk and label for this. Since it appears > there may be a possibility of a garbage MBR present this will wipe it: > > Boot a LiveFS CD, then at a root prompt do: > > sysctl kern.geom.debugflags=16 and: > > dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > where x equals your drive number. This will zero out any old MBR. > > You will need to set this up with gpart instead of fdisk. More details in > man gpart and possibly glabel. The devil is in the details, but this may be > enough to get you pointed down the road. > I couldn't get it to work. My solution was to remove the 1TB drive and install 2x500GB drives in a small RAID instead. Made life so much easier. :-) Cheers, Andy