Problem with fdisk -i

'Clément Moulin' cmoulin at simplerezo.com
Thu Feb 9 08:13:29 PST 2006


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 at ---.------------.---:/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
 



More information about the freebsd-questions mailing list