SSD partition aligned












0















I need to prepare the file system of an SSD disk in a way that a Database Administrator pointed me to, which would be a way optimized SSD to work.



I have a disk: SSD: Samsung 500 GB SATA III 6Gb/s - Model: 850 Evo
http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo/
http://downloadcenter.samsung.com/content/UM/201711/20171115104118871/Samsung_SSD_850_EVO_Data_Sheet_Rev_3_1.pdf



The DBA said that should be partition aligned to 3072 not default 2048, to start on erase block bounduary. And fs block should be 8kb.



Anyone know if this is even indicated ?
Another question, can you give me a hint of what program I could do this. I have already used fdisk but I do not know how to do this in Fdisk. I used Linux Debian 8(Jessie) 64b with Ext4 File system.



Best Regards
Neto










share|improve this question


















  • 2





    3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

    – Andrew Henle
    Jan 16 '18 at 17:34
















0















I need to prepare the file system of an SSD disk in a way that a Database Administrator pointed me to, which would be a way optimized SSD to work.



I have a disk: SSD: Samsung 500 GB SATA III 6Gb/s - Model: 850 Evo
http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo/
http://downloadcenter.samsung.com/content/UM/201711/20171115104118871/Samsung_SSD_850_EVO_Data_Sheet_Rev_3_1.pdf



The DBA said that should be partition aligned to 3072 not default 2048, to start on erase block bounduary. And fs block should be 8kb.



Anyone know if this is even indicated ?
Another question, can you give me a hint of what program I could do this. I have already used fdisk but I do not know how to do this in Fdisk. I used Linux Debian 8(Jessie) 64b with Ext4 File system.



Best Regards
Neto










share|improve this question


















  • 2





    3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

    – Andrew Henle
    Jan 16 '18 at 17:34














0












0








0








I need to prepare the file system of an SSD disk in a way that a Database Administrator pointed me to, which would be a way optimized SSD to work.



I have a disk: SSD: Samsung 500 GB SATA III 6Gb/s - Model: 850 Evo
http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo/
http://downloadcenter.samsung.com/content/UM/201711/20171115104118871/Samsung_SSD_850_EVO_Data_Sheet_Rev_3_1.pdf



The DBA said that should be partition aligned to 3072 not default 2048, to start on erase block bounduary. And fs block should be 8kb.



Anyone know if this is even indicated ?
Another question, can you give me a hint of what program I could do this. I have already used fdisk but I do not know how to do this in Fdisk. I used Linux Debian 8(Jessie) 64b with Ext4 File system.



Best Regards
Neto










share|improve this question














I need to prepare the file system of an SSD disk in a way that a Database Administrator pointed me to, which would be a way optimized SSD to work.



I have a disk: SSD: Samsung 500 GB SATA III 6Gb/s - Model: 850 Evo
http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/850evo/
http://downloadcenter.samsung.com/content/UM/201711/20171115104118871/Samsung_SSD_850_EVO_Data_Sheet_Rev_3_1.pdf



The DBA said that should be partition aligned to 3072 not default 2048, to start on erase block bounduary. And fs block should be 8kb.



Anyone know if this is even indicated ?
Another question, can you give me a hint of what program I could do this. I have already used fdisk but I do not know how to do this in Fdisk. I used Linux Debian 8(Jessie) 64b with Ext4 File system.



Best Regards
Neto







filesystems ext4 ssd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 16 '18 at 14:38









NetoNeto

12




12








  • 2





    3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

    – Andrew Henle
    Jan 16 '18 at 17:34














  • 2





    3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

    – Andrew Henle
    Jan 16 '18 at 17:34








2




2





3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

– Andrew Henle
Jan 16 '18 at 17:34





3 kB erase block boundary? On a disk that appears to have a 4 kB block size? How could that possibly work?

– Andrew Henle
Jan 16 '18 at 17:34










1 Answer
1






active

oldest

votes


















0














Searching I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically.



For example, on an already partitioned disk, you can use parted ( https://wiki.archlinux.org/index.php/GNU_Parted#Check_alignment )
to verify the alignment of a partition on a device in LInux S.O. This example I ran on my Samsung SSD 500GB 850 Evo, see below:



-------BEGIN PARTED TOOL -------------------------------------------------------------



root@hp2ml110deb:parted /dev/sdb
(parted) print list
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4

Model: ATA MB1000GCWCV (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 992GB 991GB ext4
3 992GB 1000GB 8319MB linux-swap(v1)

(parted) select /dev/sdb
Using /dev/sdb
(parted) align-check
alignment type(min/opt) [optimal]/minimal? opt
Partition number? 1
1 aligned
(parted)


---------------------------- END --------------------------------------------------



One question that I have doubts is, if these tools really do align properly, how accurate are they?






share|improve this answer


























  • this doesn't really seem to be an answer. it probably belongs in your question.

    – cas
    Jan 17 '18 at 3:57











  • Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

    – Neto
    Jan 18 '18 at 2:26













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f417529%2fssd-partition-aligned%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Searching I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically.



For example, on an already partitioned disk, you can use parted ( https://wiki.archlinux.org/index.php/GNU_Parted#Check_alignment )
to verify the alignment of a partition on a device in LInux S.O. This example I ran on my Samsung SSD 500GB 850 Evo, see below:



-------BEGIN PARTED TOOL -------------------------------------------------------------



root@hp2ml110deb:parted /dev/sdb
(parted) print list
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4

Model: ATA MB1000GCWCV (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 992GB 991GB ext4
3 992GB 1000GB 8319MB linux-swap(v1)

(parted) select /dev/sdb
Using /dev/sdb
(parted) align-check
alignment type(min/opt) [optimal]/minimal? opt
Partition number? 1
1 aligned
(parted)


---------------------------- END --------------------------------------------------



One question that I have doubts is, if these tools really do align properly, how accurate are they?






share|improve this answer


























  • this doesn't really seem to be an answer. it probably belongs in your question.

    – cas
    Jan 17 '18 at 3:57











  • Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

    – Neto
    Jan 18 '18 at 2:26


















0














Searching I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically.



For example, on an already partitioned disk, you can use parted ( https://wiki.archlinux.org/index.php/GNU_Parted#Check_alignment )
to verify the alignment of a partition on a device in LInux S.O. This example I ran on my Samsung SSD 500GB 850 Evo, see below:



-------BEGIN PARTED TOOL -------------------------------------------------------------



root@hp2ml110deb:parted /dev/sdb
(parted) print list
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4

Model: ATA MB1000GCWCV (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 992GB 991GB ext4
3 992GB 1000GB 8319MB linux-swap(v1)

(parted) select /dev/sdb
Using /dev/sdb
(parted) align-check
alignment type(min/opt) [optimal]/minimal? opt
Partition number? 1
1 aligned
(parted)


---------------------------- END --------------------------------------------------



One question that I have doubts is, if these tools really do align properly, how accurate are they?






share|improve this answer


























  • this doesn't really seem to be an answer. it probably belongs in your question.

    – cas
    Jan 17 '18 at 3:57











  • Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

    – Neto
    Jan 18 '18 at 2:26
















0












0








0







Searching I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically.



For example, on an already partitioned disk, you can use parted ( https://wiki.archlinux.org/index.php/GNU_Parted#Check_alignment )
to verify the alignment of a partition on a device in LInux S.O. This example I ran on my Samsung SSD 500GB 850 Evo, see below:



-------BEGIN PARTED TOOL -------------------------------------------------------------



root@hp2ml110deb:parted /dev/sdb
(parted) print list
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4

Model: ATA MB1000GCWCV (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 992GB 991GB ext4
3 992GB 1000GB 8319MB linux-swap(v1)

(parted) select /dev/sdb
Using /dev/sdb
(parted) align-check
alignment type(min/opt) [optimal]/minimal? opt
Partition number? 1
1 aligned
(parted)


---------------------------- END --------------------------------------------------



One question that I have doubts is, if these tools really do align properly, how accurate are they?






share|improve this answer















Searching I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically.



For example, on an already partitioned disk, you can use parted ( https://wiki.archlinux.org/index.php/GNU_Parted#Check_alignment )
to verify the alignment of a partition on a device in LInux S.O. This example I ran on my Samsung SSD 500GB 850 Evo, see below:



-------BEGIN PARTED TOOL -------------------------------------------------------------



root@hp2ml110deb:parted /dev/sdb
(parted) print list
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 500GB 500GB ext4

Model: ATA MB1000GCWCV (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot, esp
2 538MB 992GB 991GB ext4
3 992GB 1000GB 8319MB linux-swap(v1)

(parted) select /dev/sdb
Using /dev/sdb
(parted) align-check
alignment type(min/opt) [optimal]/minimal? opt
Partition number? 1
1 aligned
(parted)


---------------------------- END --------------------------------------------------



One question that I have doubts is, if these tools really do align properly, how accurate are they?







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 17 '18 at 3:56









cas

38.9k453101




38.9k453101










answered Jan 16 '18 at 18:31









NetoNeto

12




12













  • this doesn't really seem to be an answer. it probably belongs in your question.

    – cas
    Jan 17 '18 at 3:57











  • Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

    – Neto
    Jan 18 '18 at 2:26





















  • this doesn't really seem to be an answer. it probably belongs in your question.

    – cas
    Jan 17 '18 at 3:57











  • Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

    – Neto
    Jan 18 '18 at 2:26



















this doesn't really seem to be an answer. it probably belongs in your question.

– cas
Jan 17 '18 at 3:57





this doesn't really seem to be an answer. it probably belongs in your question.

– cas
Jan 17 '18 at 3:57













Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

– Neto
Jan 18 '18 at 2:26







Why no? read this that I write in reply: " I checked that In past, proper alignment required manual calculation and intervention when partitioning. Many of the common partition tools now handle partition alignment automatically."

– Neto
Jan 18 '18 at 2:26




















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f417529%2fssd-partition-aligned%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

第一次世界大戦

Touch on Surface Book