From owner-freebsd-hardware@FreeBSD.ORG Wed Sep 13 16:23:22 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C137D16A412 for ; Wed, 13 Sep 2006 16:23:22 +0000 (UTC) (envelope-from fbsd@aleborg.se) Received: from smtp1.webbpost.se (admin.webbpost.se [193.17.218.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 035F643D6E for ; Wed, 13 Sep 2006 16:23:21 +0000 (GMT) (envelope-from fbsd@aleborg.se) Received: from patrik ([213.115.135.237]) by smtp1.webbpost.se (smtp1.webbpost.se) with ASMTP id RZK81017 for ; Wed, 13 Sep 2006 18:23:17 +0200 From: "Patrik Jansson" To: Date: Wed, 13 Sep 2006 18:23:29 +0200 Message-ID: <003701c6d750$f30f75b0$ed8773d5@patrik> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcbVrr7d7XSAQvP8TZ+BxQtOeKj2pgBoimuA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-Reply-To: <000801c6d5ae$bf99a0a0$ed8773d5@patrik> Subject: SV: Mounting a large virtual disk X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 16:23:22 -0000 >I have a PowerEdge 2850 with a PERC 5/I card which I connect to a MD1000 >storage system which consists of 6 SATA disks each of 500GB. I have created >a hardware RAID 5 of all disks and FreeBSD recognize this as /dev/mfid0. So >I go into sysinstall to create something to mount and then Fdisk complains >about the geometry, it says: "A geometry of 303672/255/63 for mfid0 is >incorrect." and that I ought to set this myself but I have no idea which >geometry to use. I have tried to just ignore this and use the entire disk >and then in the Disklabel editor I have made a label of the entire partition > (2326G). When pressing W to write it says "Error mounting /dev/mfid0s1d on >/backup : No such file or directory" and that's because it's called >/dev/mfid0s1c and not d. I have tried to ignore this aswell and run newfs >manually "newfs /dev/mfid0s1c" and it outputs a whole bunch of numbers and >returns without errors. But when I mount this partition its size is just >269G of which 248G is available. How do I use the entire disk? I found a solution on another mailing list and that is to use gpt instead of fdisk. First of all, remove the MBR so that gpt doesn't complain: dd if=/dev/zero of=/dev/mfid0 bs=16384 count=16 (mfid0 in my case) Then, simple enough: gpt create /dev/mfid0 gpt add /dev/mfid0 and finally just newfs -U /dev/mfid0p1 -Patrik