From owner-freebsd-questions@FreeBSD.ORG Thu Feb 9 16:13:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F04B16A420 for ; Thu, 9 Feb 2006 16:13:29 +0000 (GMT) (envelope-from cmoulin@simplerezo.com) Received: from smtp.omnikles.com (omnicertisg-47-74.cnt.nerim.net [213.215.47.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE14743D58 for ; Thu, 9 Feb 2006 16:13:26 +0000 (GMT) (envelope-from cmoulin@simplerezo.com) Received: from localhost (localhost [127.0.0.1]) by smtp.omnikles.com (Postfix) with ESMTP id 002685EB7A for ; Thu, 9 Feb 2006 17:10:19 +0100 (CET) Received: from OS-BE-ADM-SR01.omnikles.com (smtp [192.168.6.4]) by smtp.omnikles.com (Postfix) with ESMTP id 59BFE5EB21 for ; Thu, 9 Feb 2006 17:10:18 +0100 (CET) Received: from nb03 ([192.168.6.201]) by OS-BE-ADM-SR01.omnikles.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 9 Feb 2006 17:06:44 +0100 From: =?iso-8859-1?Q?'Cl=E9ment_Moulin'?= To: Date: Thu, 9 Feb 2006 17:13:21 +0100 Organization: SimpleRezo Message-ID: <009e01c62d93$bf0e36a0$c906a8c0@nb03> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcYtk777YEpX3hdcQ4KthUmYzopu+Q== X-OriginalArrivalTime: 09 Feb 2006 16:06:44.0890 (UTC) FILETIME=[D2A14FA0:01C62D92] X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at omnikles.com Subject: Problem with fdisk -i 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, 09 Feb 2006 16:13:29 -0000 Hi I have a problem with fdisk -i on one of my FreeBSD server: # fdisk -i fdisk: cannot open disk /dev/twed0: No such file or directory But: # ls -al /dev/twed0 crw-r----- 1 root operator 4, 11 9 oct 17:57 /dev/twed0 And more strange: # fdisk ******* Working on device /dev/twed0 ******* parameters extracted from in-core disklabel are: cylinders=10011 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=10011 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 16771797 (8189 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: I have tried with sysinstall, error is "error when writing to disk". Nothing in /var/log/console or /var/log/messages... Useful informations: # uname -a FreeBSD ---.------------.--- 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #1: Sun Sep 25 15:12:43 CEST 2005 root@---.------------.---:/usr/obj/usr/src/sys/KERNEL i386 # dmesg | grep ^tw twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xa000-0xa00f mem 0xf1000000-0xf17fffff irq 24 at device 1.0 on pci2 twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 twed0: on twe0 twed0: 78532MB (160834432 sectors) Any help welcome :) -- Clement Moulin SimpleRezo