Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 07:59:07 +0200
From:      claudiu vasadi <claudiu.vasadi@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: IBM TSM server
Message-ID:  <4f760c6a0906072259j6d2d2c6ese55769f58e58e11a@mail.gmail.com>
In-Reply-To: <4A2C3073.3020700@quip.cz>
References:  <4f760c6a0906071130k7fb7d738hcd0d109868fd9631@mail.gmail.com> <alpine.BSF.2.00.0906072137410.347@wojtek.tensor.gdynia.pl> <4f760c6a0906071306g129a0b81sd41a2f84000c2609@mail.gmail.com> <4A2C3073.3020700@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 7, 2009 at 11:26 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote:

> claudiu vasadi wrote:
>
>> On Sun, Jun 7, 2009 at 9:38 PM, Wojciech Puchar <
>> wojtek@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@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@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@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@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@da1.ro /home/da1]#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f760c6a0906072259j6d2d2c6ese55769f58e58e11a>