CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.


Tim Hall has done it again! He has just released the 2nd edition of "Max Power".
Rather than get into details here, I urge you to check out this announcement post.
It's a massive upgrade, and well worth checking out. -E

 

Results 1 to 2 of 2

Thread: 4k sectors on USB?

  1. #1
    Join Date
    2011-08-02
    Location
    http://spikefishsolutions.com
    Posts
    1,647
    Rep Power
    9

    Default 4k sectors on USB?

    Any know if 4k sectors are just not supported on USB? I was trying to get R77.30 to talk to a 6TB usb drive. Even with GPT table the moment I try to write data i get a large amount of errors barfed at me. Stuff like trying to write past end of drive. I notice in dmesg it reports 512byte sector and say something a large disk support failed. Moving the disk to anything with a more recent kernel and it will work fine.

    Just wondering. Ended up plugging drives into a different server and backing up over network instead to work around.

    2.6.18, your days are numbered!

  2. #2
    Join Date
    2009-04-30
    Location
    Colorado, USA
    Posts
    2,245
    Rep Power
    13

    Default Re: 4k sectors on USB?

    Quote Originally Posted by jflemingeds View Post
    Any know if 4k sectors are just not supported on USB? I was trying to get R77.30 to talk to a 6TB usb drive. Even with GPT table the moment I try to write data i get a large amount of errors barfed at me. Stuff like trying to write past end of drive. I notice in dmesg it reports 512byte sector and say something a large disk support failed. Moving the disk to anything with a more recent kernel and it will work fine.

    Just wondering. Ended up plugging drives into a different server and backing up over network instead to work around.

    2.6.18, your days are numbered!
    I believe this is fixed in kernel 2.6.34 or later and is mentioned in this thread: https://www.linuxquestions.org/quest...5/#post4806100

    The cause of this problem is 'position of GPT'.
    GNU parted writes GPT to 'LBA 1' which is placed at 0x0200 on 512B/sec HDD and at 0x1000 on 4KiB/sec HDD. And old kernel checks GPT only at 0x0200, so GPT is not found on 4KiB HDD.

    The patch modifies the kernel to check the HDD sector size and reads GPT from apropreate position.
    As I wrote, kernel 2.6.34 or later already has this modification.
    --
    Second Edition of my "Max Power" Firewall Book
    Now Available at http://www.maxpowerfirewalls.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •