After upgrade, no /dev entries created for USB hard disk slice
Eli Dart
dart at spiderchain.com
Sun Oct 10 21:45:04 UTC 2010
Hello all,
Since upgrading from 7.2-p5 to 8.1-p1, I'm unable to mount one
particular external USB hard disk (Seagate FreeAgent 1.5TB disk).
/dev/da0 and /dev/da0a get created, but /dev/da0s1 and /dev/da0s1a do
not get created. The label is on da0s1 and the filesystem is on da0s1a.
Another machine running 7.0-STABLE still sees the disk properly (i.e.
/dev entries for the slices get created, filesystem can be mounted, data
appears to be there). So, the disk doesn't appear to have been corrupted.
A different Seagate FreeAgent USB disk (1TB, not 1.5TB) is seen properly
by the host running 8.1-p1.
fdisk output on both FreeBSD 7 and FreeBSD 8 show the same thing. The
cylinder numbers look a bit odd, but the disk works fine under FreeBSD
7...is FreeBSD 8 just more particular? I think I used 'fdisk -I' when I
originally set up the disk, rather than doing anything manual.
Output of "fdisk /dev/da0" on FreeBSD 8.1-p1:
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=182401 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=182401 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 2930272002 (1430796 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 128/ 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>
Output of "fdisk /dev/da0" on FreeBSD 7.0-STABLE:
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=182401 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=182401 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 2930272002 (1430796 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 128/ 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>
So, the slice is there - FreeBSD 8 just can't find it.
Oh, and 'camcontrol reset 0' produces the following output:
"Reset of bus 0 returned error 0x3a"
Many thanks for any help - I'm stumped....
--eli
More information about the freebsd-questions
mailing list