Re: Overriding sector size on disks?

2013-11-03 Thread Warren Block

On Fri, 1 Nov 2013, Adrian Chadd wrote:


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.


ISTR some Hitachi external USB disk enclosures do that.  Since they are 
not a general-purpose enclosure but came wrapped around specific Hitachi 
disks, it's not really their fault.



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.


Is it out of the question to discard the enclosure as too bugged to use?

Otherwise, there is a small chance that the vendor has a firmware update 
that isn't stupid.  Or maybe even a jumper in the enclosure.


Reference:

http://forum.hddguru.com/viewtopic.php?t=21099start= has some 
information which might help.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Overriding sector size on disks?

2013-11-02 Thread Mark Felder

On Nov 1, 2013, at 9:45 PM, Adrian Chadd adr...@freebsd.org wrote:

 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!
 
 

My coworker ran into this once. We couldn’t find a workaround. We just noted 
that we either had to use the disk with the adapter or without — you cannot 
swap between and expect to read your data.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Overriding sector size on disks?

2013-11-01 Thread Adrian Chadd
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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Overriding sector size on disks?

2013-11-01 Thread Allan Jude

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
On 2013-11-01 22:45, Adrian Chadd wrote:
 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
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
I use gnop -S 4096 to force 4k sectors when creating ZFS pools

I imagine you might be able to do gnop -S 512 to go the other way,
although I am not sure how to handle that for constant use.

- -- 
Allan Jude
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
iQIcBAEBAgAGBQJSdG2VAAoJEJrBFpNRJZKfGn0QAKcMLkJnLO9p+F8X0a443EaW
jWTZAMgkP8Uo/VwLCCqHBBtZxk5pyviEdqcTJvzVYv2x6FE/WE8HlyIXjbyzZNoa
zCU50plfSsxnk/G02TAuFRNmKPWvSw0oZVwvHC6+jwo0G9WIoVwupwNYdWLnfGCw
MuwysQi7MqlSqnDmx2naEPbbiNyPW0pWDnjHHy5bf01Jqao9uPtdGgG48/fGhYxb
+ViWGCVS+A5isMqDjVuW1QUetazu/1Kd1uycdWDGqTXfuzQ9/XBpubw7itYV9fn2
HL8ksQoEIye4516jEP/VLCGyElI9BJxW6QOxPGibpxZkyHV0DiMlR1yfLdV5rChb
1jTXwGYqfOtORKVCWOOUhoXeOvdZFnOLt8Lb7ckhoyNh2lh0v/pbuVAXC3KE0vSt
BwpgHYqATdlZrF2G5RmIWykxUgEVt4KJ2Fn0/Q6ZMB9nTMhnEGafhMOYd2xgi474
Z82y79c95wb07dchrWCNeBQydw/paNqR4BjN6toS7OvFRipf4IcjuaFeLGWAY0GW
jN6gTZXRLzpnYxgSqKVaNcaPces8tdestfzrfKn3E4+iuurrs/aerdsv6YsagV36
Poi2dPv4bWd7s26uK2YvBVTtGADydDHHSDd1J2BGJPooY2i2blfWsZ8gNDIzp1KV
WXPfz6tWcHifrUl/SGfZ
=lHXF
-END PGP SIGNATURE-

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Overriding sector size on disks?

2013-11-01 Thread Steven Hartland

What does camcontrol identity say?
- Original Message - 
From: Adrian Chadd adr...@freebsd.org

To: freebsd-current freebsd-current@freebsd.org
Sent: Saturday, November 02, 2013 2:45 AM
Subject: Overriding sector size on disks?



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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org