Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 17:13:21 +0100
From:      =?iso-8859-1?Q?'Cl=E9ment_Moulin'?= <cmoulin@simplerezo.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Problem with fdisk -i
Message-ID:  <009e01c62d93$bf0e36a0$c906a8c0@nb03>

next in thread | raw e-mail | index | archive | help
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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

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: <Unit 0, TwinStor, Normal> on twe0
twed0: 78532MB (160834432 sectors)

Any help welcome :)

--
Clement Moulin
SimpleRezo
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009e01c62d93$bf0e36a0$c906a8c0>