From owner-freebsd-current@FreeBSD.ORG Sat Nov 2 02:45:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 88E779CE for ; Sat, 2 Nov 2013 02:45:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E68129AA for ; Sat, 2 Nov 2013 02:45:08 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id u18so2864158qcx.22 for ; Fri, 01 Nov 2013 19:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=4j+t+sfmHfFOXBca+Ipvnebv/blYP9tWnotjt81rguI=; b=zbniy0V4/pZw7qVPnyfOFpr3pAZ9hzkn/jntT5eQaPifAWRCuiMx0rMN616XqXDvUG pKz0/21V7ulN0VprF2LFZ6iZ57P08rcRk+g9oeETpMilOuHkcdvgQ7IT37Bn+zCL4a1R ru1I7YLTpZX7mKV9Du3Ix1FVFdP4DpE3AJpq8fC7Bj0RAPqXf7IE4jaNdW8da1RT9a5h hHoUMcIyPYR1xpp6eAWXmi7Ka1BUMPzLeWTE6vHakUqxWw7eMSlPdfjXGzjv1xwVNwxs SKY/GYrHQXwwOqoSyepWwrcNzuPx0Rb3+6ZRVgEB0EEGlif4zqLCWchKJkpVYizzNR8J /z1Q== MIME-Version: 1.0 X-Received: by 10.49.116.19 with SMTP id js19mr7976074qeb.34.1383360307283; Fri, 01 Nov 2013 19:45:07 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Fri, 1 Nov 2013 19:45:07 -0700 (PDT) Date: Fri, 1 Nov 2013 19:45:07 -0700 X-Google-Sender-Auth: Yh5nhqhSbOj8-gSuWfyiqseKeEI Message-ID: Subject: Overriding sector size on disks? From: Adrian Chadd To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 02:45:08 -0000 Hi! I have an odd problem. That, honestly, can't be that odd. I have a bunch of SATA disks that when plugged into the laptop directly, show up as 512 byte sectors. But if I plug it in via this iomega USB caddy, they show up as 4k sector devices. Because of this, partitions just plainly don't work. Has anyone faced this? Is there some trick to do to get these things to go back to being 512 byte sector devices so one can use them? Similarly, because they show up as 512 byte sector devices on macosx/linux, they can read/write NTFS/MSDOS partitions on the thing. But if I plug it into freebsd, it shows up as a 4k sector device and things plainly don't work. Thanks! -adrian