IBM TSM server
claudiu vasadi
claudiu.vasadi at gmail.com
Mon Jun 8 05:59:10 UTC 2009
On Sun, Jun 7, 2009 at 11:26 PM, Miroslav Lachman <000.fbsd at quip.cz> wrote:
> claudiu vasadi wrote:
>
>> On Sun, Jun 7, 2009 at 9:38 PM, Wojciech Puchar <
>> wojtek at wojtek.tensor.gdynia.pl> wrote:
>>
>>
>> Jun 7 21:10:47 da1 kernel: ad6: detached
>>>
>>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86540058624,
>>>> length=16384)]error = 6
>>>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1e[READ(offset=63203147776,
>>>> length=16384)]error = 6
>>>> Jun 7 21:10:47 da1 kernel: g_vfs_done():ad6s1d[READ(offset=86539010048,
>>>> length=16384)]error = 6
>>>>
>>>>
>>>
>>> isn;t it trying to read past the end of disk?
>>>
>>>
>>
>> Hmm.. I guess you are correct. The question is why is it doing this ?
>>
>
> It can be caused by wrong disk label (partitioning). Some partition made
> bigger then real media [disk].
> You can see the label by command disklabel ad6s1 and then compare size &
> offset values with `diskinfo -v ad6`
Here is the ad2:
[da1 at da1.ro /home/da1]# disklabel ad2s1
# /dev/ad2s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1048576 0 4.2BSD 2048 16384 8
b: 4125328 1048576 swap
c: 41929587 0 unused 0 0 # "raw" part, don't
edit
d: 4159488 5173904 4.2BSD 2048 16384 28552
e: 1048576 9333392 4.2BSD 2048 16384 8
f: 31547619 10381968 4.2BSD 2048 16384 28552
[da1 at da1.ro /home/da1]# diskinfo -v ad2
ad2
512 # sectorsize
80060424192 # mediasize in bytes (75G)
156368016 # mediasize in sectors
155127 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
ad:S00JJ30X533937 # Disk ident.
And the ad6:
[da1 at da1.ro /home/da1]# disklabel ad6s1
# /dev/ad6s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 490223412 0 unused 0 0 # "raw" part, don't
edit
d: 251658240 0 4.2BSD 0 0 0
e: 167772160 251658240 4.2BSD 0 0 0
f: 70793012 419430400 4.2BSD 0 0 0
[da1 at da1.ro /home/da1]# diskinfo -v ad6
ad6
512 # sectorsize
251000193024 # mediasize in bytes (234G)
490234752 # mediasize in sectors
486344 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
ad:WD-WCANY2281832 # Disk ident.
[da1 at da1.ro /home/da1]#
More information about the freebsd-stable
mailing list