From owner-freebsd-scsi@FreeBSD.ORG Thu May 30 15:33:39 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A040F38D for ; Thu, 30 May 2013 15:33:39 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 390F8EE6 for ; Thu, 30 May 2013 15:33:39 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id q14so484715eaj.36 for ; Thu, 30 May 2013 08:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=F22xLkBl3cHyqRH2jPMQL6p1O9dUdlPMjuXX6/q5ezY=; b=rlSVoQKhRcw2M2L/3Pr+GIg0xXQ7IMDfDa79GF8u77XxCb+KSrRGp17GfU9lF/gPXN uNjjAE+abMSJOtFr0zh/NG3jlTxhcrCBMSeBOddwJGSzlqUL98csYuPoa/Lb/I7sutjW zStNdB7I7bt1yE8KeM/3ptWGddV4qOpm1Ff39Jo9HR7DnmDS80QYN0qnmkwoPl+Ifxzy CDkk/1/FmYqwbjY09RVjtDfRAIn8tGAmhkzGDARxoTxPVyGjDnaEnaNBn/5xfNKhqnz9 T9UOkakB3UZv+sb26o8DhurZRjMM0g7n6tEnNOYDnGbrx9gzQDPTm1E4sXpyukI6EPR+ +xmw== X-Received: by 10.14.208.131 with SMTP id q3mr10207901eeo.111.1369928018436; Thu, 30 May 2013 08:33:38 -0700 (PDT) Received: from darwin.cnaf.infn.it (darwin.cnaf.infn.it. [131.154.3.242]) by mx.google.com with ESMTPSA id e1sm26704688eem.10.2013.05.30.08.33.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 08:33:37 -0700 (PDT) Message-ID: <51A77152.8030100@gmail.com> Date: Thu, 30 May 2013 17:33:38 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: dgilbert@interlog.com Subject: Re: troubles with Seagate (EMC2) disk References: <51A72605.4050303@gmail.com> <51A76794.2080500@interlog.com> In-Reply-To: <51A76794.2080500@interlog.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 15:33:39 -0000 thank you very much! your utility is outstanding!! Format in progress, 5.100% done Format in progress, 6.99% done Format in progress, 6.99% done Format in progress, 6.99% done Format in progress, 7.99% done Format in progress, 7.99% done Format in progress, 8.100% done Format in progress, 8.100% done Format in progress, 8.100% done anyway for mistake I did not issued a --wait command... I am formatting a 512GB seagate disk 512 bytes per sector. how long is the default timeout ? if timeout occours I think I have to restart formatting again :( Rick On 5/30/13 4:52 PM, Douglas Gilbert wrote: > On 13-05-30 06:12 AM, Riccardo Veraldi wrote: >> Hello, >> I have a Seagate ST350000 CLAR500 disk. >> >> it is attached to my Sun Blade 1000 running FreeBSD 9.1 >> >> I need to label it, create partition and move te root /usr/ var and >> swap from >> the main boot disk which has corrupted blocks. >> >> so this disk will become my boot disk. >> >> the problem is that I cannot partition it or even access it in anyway >> >> dd: /dev/da6: Invalid argument >> 1+0 records in >> 0+0 records out >> 0 bytes transferred in 0.000700 secs (0 bytes/sec) >> >> this is the disk information: >> >> da6 at isp0 bus 0 scbus2 target 1 lun 0 >> da6: Fixed Direct Access SCSI-3 device >> da6: 100.000MB/s transfers WWNN 0x2000001862133c8d WWPN >> 0x2100001862133c8d >> PortID 0xe4 >> da6: Command Queueing enabled >> da6: 476940MB (961745856 520 byte sectors: 255H 63S/T 59865C) >> >> the problem is that disk byte sectors are 520 and not 512 >> >> is there a way to reformat it to 512 byte sectors ? >> >> is there a way to make it usable ? >> >> the SCSI III disk has a FC - AL interface (Internal Sun Blade 1000 >> Caddy). > > In my sg3_utils package (see http://sg.danny.cz/sg/sg3_utils.html ) > there is a utility called sg_format. If you are sure > that you do not want the existing data on that disk, try: > sg_format --format --size=512 /dev/da6 > > > Doug Gilbert