February 25, 201214 yr I just realized I may have caused this problem. I have a new SSD, that I installed in unRAID without preclearing (per advice on this forum). I just noticed that my default format is 4K aligned, but the SSD has 512b sector size. See below: HDparm report from unmenu: ATA device, with non-removable media Model Number: Patriot Torqx 2 32GB SSD Serial Number: BA140721090800019963 Firmware Revision: S5FAM014 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6 Standards: Supported: 8 7 6 5 Likely used: 8 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 16514064 LBA user addressable sectors: 62533296 LBA48 user addressable sectors: 62533296 Logical Sector size: 512 bytes Physical Sector size: 512 bytes Logical Sector-0 offset: 0 bytes device size with M = 1024*1024: 30533 MBytes device size with M = 1000*1000: 32017 MBytes (32 GB) cache/buffer size = unknown Form Factor: 2.5 inch Nominal Media Rotation Rate: Solid State Device So the question is, have a caused a problem? I have a separate topic about this drive being seen by unmenu as possibly having HPA. I dont think these two could be connected but thought I would mention it in case I'm missing something. Does this drive need to be reformatted as a normal 512b size? If so what command can I use to do that? I'm thinking of using this drive outside the array anyway.
February 25, 201214 yr You cannot change the internal SSD structure. Use it as it is. NO DRIVE presents anything other than 512 byte sectors to the OS. (not yet, anyways) If they did, there would not have been a need for the GPT partitioning for disks over 2.2TB. Some disks, such as yours, organize the data internally in 4096 byte sectors. Some just say 512 externally and use 1024, 2048, 4096, or something else internally. Forget what it is doing internally... You've started the partition on a 4096 byte boundary. That is also a multiple of 512 bytes, so it works for just about anything. You did nothing to set sector size. (and you cannot) You only indicated to unRAID where you would like the start of the data partition. The reiserfs, by default, uses 4096 byte blocks in its structures. Therefore, it will read, and write in multiples of 4096bytes, each which will involve eight 512 byte sectors. The unRAID "stripe" of data, is much larger, composed of many blocks being read and written at a time. Those are involved when calculating ans checking parity.
February 26, 201214 yr Author You cannot change the internal SSD structure. Use it as it is. NO DRIVE presents anything other than 512 byte sectors to the OS. (not yet, anyways) If they did, there would not have been a need for the GPT partitioning for disks over 2.2TB. Some disks, such as yours, organize the data internally in 4096 byte sectors. Some just say 512 externally and use 1024, 2048, 4096, or something else internally. Forget what it is doing internally... You've started the partition on a 4096 byte boundary. That is also a multiple of 512 bytes, so it works for just about anything. You did nothing to set sector size. (and you cannot) You only indicated to unRAID where you would like the start of the data partition. The reiserfs, by default, uses 4096 byte blocks in its structures. Therefore, it will read, and write in multiples of 4096bytes, each which will involve eight 512 byte sectors. The unRAID "stripe" of data, is much larger, composed of many blocks being read and written at a time. Those are involved when calculating ans checking parity. Thanks Joe, and for the explanation.
July 10, 20232 yr this will be interesting, soon ill have some 12G SAS SSD NVME drives running in my system 'waiting on a power cable' hopefully they dont need special formatting as ive had some drives with 520byte sectors and needed to format them correctly back to 512 byte sectors. these NVME drives need a special backplane just to work at all, not to mention the special NVME SAS controller dedicated to the backplane with 4 12G SAS cables' one for each drive connector on the backplane ' should be fun fast Edited July 10, 20232 yr by SundarNET spelling
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.