From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 23:45:23 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 C367A10657E7 for ; Thu, 11 Nov 2010 23:45:23 +0000 (UTC) (envelope-from dfunk6@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8CA8FC19 for ; Thu, 11 Nov 2010 23:45:23 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao104.cox.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20101111234512.EPSV10925.eastrmmtao104.cox.net@eastrmimpo02.cox.net> for ; Thu, 11 Nov 2010 18:45:12 -0500 Received: from [127.0.0.1] ([68.0.73.73]) by eastrmimpo02.cox.net with bizsmtp id VzlB1f00Y1asDc402zlCLC; Thu, 11 Nov 2010 18:45:12 -0500 X-VR-Score: -190.00 X-Authority-Analysis: v=1.1 cv=PkQKpMSOrKoV9KYRrKr2f7XLnN0m7+zjYAinWDuNKA4= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=cldQwrSUzPq7T4OJ8kWhDA==:17 a=xe8BsctaAAAA:8 a=6I5d2MoRAAAA:8 a=n1g9wHgpmP6OV_5sGrwA:9 a=ewI5CkSpP1fRNgYVIDEA:7 a=uyxdNd3kWoONse3NszuoNR-rixsA:4 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 a=cldQwrSUzPq7T4OJ8kWhDA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=dfunk6@cox.net Message-ID: <4CDC800F.6010802@cox.net> Date: Thu, 11 Nov 2010 17:45:19 -0600 From: Derek Funk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4CDB643A.4090308@me.com> In-Reply-To: <4CDB643A.4090308@me.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 101111-1, 11/11/2010), Outbound message X-Antivirus-Status: Clean Subject: Re: GPT Question 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: Thu, 11 Nov 2010 23:45:23 -0000 On 11/10/2010 9:34 PM, Mark Caudill wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Firstly, hello list. This is my first post here and while I'm a long > time Linux user, I'm a recent FreeBSD convert so please bear with me. > Yesterday I installed an extra hard drive that used to be in a Windows 7 > box. In sysinstall I ran fdisk then label to try to get the disk ready. > The problem was that even though after I hit 'w' and it didn't give any > errors, when I did a `ls /dev/ad*` it was still showing the old > partitions, even after a reboot. I tried running fdisk manually and a > few other things I found on Google but they all seemed to just be > silently failing since they never showed an error but the changes never > really went into effect. When I was first building out this box I had an > issue partitioning the disks but the behavior was different in that it > errored with messages about not being able to commit or write the > changes to disk. That issue turned out to be with some GPTs on the drive > which I was able to remove in Linux with parted. Anyway, I figured that > there was a chance that this might be a GPT issue since this drive came > form the same machine as the other. I couldn't remember what command I > had run and didn't feel like pulling the drive into another machine so I > just ran `dd if=/dev/zero of=/dev/ad12 bs=512` and let it run. That must > have done the trick because I was then able to partition the disk in > sysinstall and all is well. What I'm wondering is what really went on > here? I'm not clear at all as to why FreeBSD (or some mechanism within > this installation) isn't able to handle this. Or was this a GPT issue at > all? I'd like to find out what was going on so that I don't chase my > tail again on issues like this in the future. Thanks. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.16 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQIcBAEBAgAGBQJM22Q5AAoJEB/pNtMYu8Pl8G4P/RyHfn03BxY0tSaii2J1a5gQ > L7q7ZK9mrvpXCv/tGk+ieWwct01cgpf3SRoEbmjpnL4c//g54fChCdOylJDD7wpU > LlxB4CsNMkV9JIT46zkw6ET6ERFYVC0sG+DxJr3JRCkRcTseQjNbNaKJuESMHsu3 > OoYrjKjosz5juqkqS0Ty930KCcWRX5DYLsBH0QSHg7q+9ZNnFBuNIB0os4DyZ803 > rmxg0bz4YDzTHFe7sJG1/uhN1gUGT3jGUuXUEKnKIrZQaUvdJe3xfNtq/mqHKiZG > il45ljdxESt/Y9p7MyGle439YM/BtFt48+O9vcbd0Oljl+nwlFVHNPMKd91KOv/b > WPd8y1wmO2X7tTUetDqjby3GlRjvpuPrzddfbpj87DqKdvJ3hqGtGRflrMeWLklg > dAS5n3Q8x42vu/5CXlCWtNO2GQMYWTX7VPWmCzymzC60A3YM4UoY3GEF7PV/tChS > etUVcSp3JhpepOjgVyY7SA+dO3sZhLAvulqhy/KX6E1ffkCoRMPYWdu9zYXk1F/i > 6tEpEDdU7QAViCSbUnp7ZZrt/QcG5XbD0yOUy1M/bvfkGo3qd+TukTCJ8s0JDZ8x > lPYF+p8pkzm9zfFeA1e90VqkkhNb/gDFzwg3grcO5hEse4OXlsXMmA5kfxjVKbFj > mUO0LYyMmd0QW49J91ts > =w5P4 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > My understanding is, if you are using FreeBSD 8.x, sysinstall / fdisk will not write disk partitions. gpart is used now.