From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 05:59:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82FBB106564A; Mon, 8 Jun 2009 05:59:09 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id CF8A38FC08; Mon, 8 Jun 2009 05:59:08 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: by ewy8 with SMTP id 8so3799485ewy.43 for ; Sun, 07 Jun 2009 22:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Uh9RJm5G+foRibOjCFevjD8E6i6lUAOHhGEcg7G2t6E=; b=K5tDWwL7rUmiPQ6v8gjuujyOhjH/GmBRWNqW1jbS87An0Ldw9RayQ14uMPXRWWUYWC NqvYGzB5Viim12KjhzplIa8XnyC5IGZJbl0IGggHlFcq72J/8Zig6bcxlcnrMKKlqUjA Ju9O7X72N+17d6Pk8guz/2UHO0ouuUbAFU04Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vv7RxKqScdNilgihNEFVESOXT9slnc+ijDE/WzOVgKNgk+ETg+2i96H7VlKvbi/Xed GHqz96dEEP4GNJJvErR9H+whnYeaZfDf6flQg8x7h7QDDZ4J5m4dygBsj14DWN77/l9b k+NH/RTTfDg6BYKPQB2vMwmK4oW7/3xsSH4S4= MIME-Version: 1.0 Received: by 10.216.11.213 with SMTP id 63mr2135435wex.176.1244440747867; Sun, 07 Jun 2009 22:59:07 -0700 (PDT) In-Reply-To: <4A2C3073.3020700@quip.cz> References: <4f760c6a0906071130k7fb7d738hcd0d109868fd9631@mail.gmail.com> <4f760c6a0906071306g129a0b81sd41a2f84000c2609@mail.gmail.com> <4A2C3073.3020700@quip.cz> Date: Mon, 8 Jun 2009 07:59:07 +0200 Message-ID: <4f760c6a0906072259j6d2d2c6ese55769f58e58e11a@mail.gmail.com> From: claudiu vasadi To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: IBM TSM server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 05:59:10 -0000 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]#