![]() Eg, on a system I’m moving a bunch of data around on at the moment: iostat -human -xs Posted on JanuJanuCategories Hardware, Solid State Drives, Ubuntu, ZFS Leave a comment on 520 byte sectors and Ubuntu Continuously updated iostatįinally, after I don’t know HOW many years, I figured out how to get continuously updated stats from iostat that don’t just scroll up the screen and piss you off.įor those of you who aren’t familiar, iostat gives you some really awesome per-disk reports that you can use to look for problems. I’ve heard stories of drives that refused to sg_format initially if you encounter stubborn drives, you might be able to unlock them by dding a gigabyte or so to them–or you might need to first sg_format them with -size=520, then immediately and I mean immediately again with -size=512. On the plus side, this also fixes any drive slowdowns due to a lack of TRIM, since it’s a destructive sector-level format. The 3.84TB drives I needed to convert took around 10 minutes apiece. ![]() ![]() Be warned, this is a destructive, touch-every-sector operation–so it will take a while, and your drives might get a bit warm. Luckily, there’s a fix–get the drive(s) to a WORKING Ubuntu system, plug them in, and use the sg_format utility to convert the sector size! sg_format -v -format -size= 512 /dev/sdwhatever Trying to install Ubuntu on them didn’t work at first try, because the drives had 520 byte sectors instead of 512 byte. I recently bought a server which came with Samsung PM1643 SSDs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |