From owner-freebsd-fs@FreeBSD.ORG Sat Aug 15 19:31:42 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C5C106568C for ; Sat, 15 Aug 2009 19:31:42 +0000 (UTC) (envelope-from gosand1982@yahoo.com) Received: from n7.bullet.re3.yahoo.com (n7.bullet.re3.yahoo.com [68.142.237.92]) by mx1.freebsd.org (Postfix) with SMTP id C92718FC43 for ; Sat, 15 Aug 2009 19:31:41 +0000 (UTC) Received: from [68.142.230.29] by n7.bullet.re3.yahoo.com with NNFMP; 15 Aug 2009 19:19:11 -0000 Received: from [67.195.9.81] by t2.bullet.re2.yahoo.com with NNFMP; 15 Aug 2009 19:19:11 -0000 Received: from [67.195.9.110] by t1.bullet.mail.gq1.yahoo.com with NNFMP; 15 Aug 2009 19:19:11 -0000 Received: from [127.0.0.1] by omp114.mail.gq1.yahoo.com with NNFMP; 15 Aug 2009 19:19:11 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 565005.77466.bm@omp114.mail.gq1.yahoo.com Received: (qmail 53167 invoked by uid 60001); 15 Aug 2009 19:19:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250363951; bh=4jd+buWr6WvCEhU9j2iON0/l4254zoP+xG9WkEaYShQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=exUmiZiPuqKLn6ZXAnGJT+lzGCKPEqdOmUnWCtBtKmytWE1QOw2AlDbXYo8FxlIjiU/bXI2/8Zfon4FtR+cAlTl7tniDv0aTbplB06pUdQMVUG68LDBk1PmgmPz5HewkgAilPHG07AIPMB5jqRthEMxH1gXApcC2SWGeruAcgcQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=V1sXXq88rMAU+An+lDtN+n4jQrmb77oiz4jVHZKvBj5aZv7ENKefTpEtVFX39Ar3Pyk2kFhBuN1Erft8jNCSRvscUl3K9ByDmsmtLeFbo84k9MgCH3Ch/9Idem1BB457kkmTXTh7dL/rBo6FIIO2KNHSH3bwKF22YcVz812v5o8=; Message-ID: <453373.52906.qm@web111616.mail.gq1.yahoo.com> X-YMail-OSG: 9HZ4pf4VM1mw3ZnZFoqrEWRzqcTwvbyTpRiV2JGozAxJoEUiz.CUXJvrvonez87dp7_.fjOMXoL4jA2z7hfMf.83HhYpW2t0pyqIyYOpX677zFqftj3NvVtdYoUZw7wl9gMYdxlvEvtWEKnVeI8t51_ZunRRZI3YYqXjZ.i6U6UoPvcFnnPjAVmq8WSHkE4.yXvsDhg8VjR9PNhniE9apFCngunmS34iSihDSHdOci63xeuuFKyQQP6XU4YfytYDHjxyTJDPXgkj4EBWXt_B Received: from [69.181.252.182] by web111616.mail.gq1.yahoo.com via HTTP; Sat, 15 Aug 2009 12:19:11 PDT X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2 Date: Sat, 15 Aug 2009 12:19:11 -0700 (PDT) From: George Sanders To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: cannot use 2TB external USB drive ... X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2009 19:31:42 -0000 I bought a western digital 2TB USB external drive - shows up in dmesg as: da2 at umass-sim0 bus 0 target 0 lun 0 da2: Fixed Direct Access SCSI-4 device da2: 40.000MB/s transfers da2: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) Originally I tried to simply use it right off as a FAT32 device. However, this crashed my system after generating thousands of: g_vfs_done():da0s4[READ(offset=0, length=2048)]error = 5 g_vfs_done():da0s4[READ(offset=32768, length=2048)]error = 5 So I wiped the disk and recreated it in sysinstall using sysid 6 (msdos) and newfs_msdos ... my thought was that maybe western digital had some weird layouts or boot partitions, etc., and maybe I just needed to start with a clean slate. I got the same result. So finally, I gave up and since the end user of this system CANNOT use ufs2 (which is what I would prefer anyway) I installed the ext2 tools and made an ext2 volume: # mke2fs /dev/da2s1 mke2fs 1.41.8 (11-Jul-2009) Filesystem label= OS type: FreeBSD Block size=4096 (log=2) Fragment size=4096 (log=2) 122101760 inodes, 488378000 blocks 24418900 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 14905 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848 Writing inode tables: This mke2fs operation completed successfully and I mounted the drive and began using it. I filled it up to just about the 1 TB level, and the system crashes. No errors, no output, nothing - just freezes up requiring a reset button. Note that my 4k block size in the mke2fs above does NOT imply a 1 TB filesystem size limit for ext2. So what am I doing wrong ? Again, I would love to just newfs this to ufs2, but the end user cannot use that - fat32 and ext2 are my only options... Is this drive just too big for freebsd to handle over USB ?