Hi,
I'm in the process of finishing a server build based on proxmox.
At this time I have everything almost ready, just doing some disk tests before moving forward for the installation.
My hardware config will be like this:
2x Samsung SSD 860 EVO 250Gb (SATA3) - Will be setup on proxmox installation for OS boot, both configured for ZFS RAID1
6x HGST HUC109060CSS600, 600GB 10K SAS 2.5" HDD, for VM data, configured as 1 zpool with 2 zdevs composed of:
- zdev-1 (mirror-0) : 3x HGST HUC109060CSS600, 600GB
- zdev-2 (mirror-1) : 3x HGST HUC109060CSS600, 600GB
(for a total pool size of 1.2Tb)
Now some questions came to my mind which I would be very much appreciated if someone could clarify them to me:
1- The PVE boot will be created by proxmox installation. Will it use "/dev/sdX" disk identification or will it use "/dev/disk/by-id/..." references?
2- For the ZFS zpool for the VMs, I was planing of creating it from command line, to be sure of using disk by-id referencing and grouping disks exactly as I want. Will I be able to see the ZFS pool immediately on proxmox interface? Or do I need to do something to be able to see it?
3- Now the more tricky question for me, the ashift selection:
What should be the right setting for each ZFS (boot and VMs)?
For instance, running "fdisk -l /dev/sdX" gave the following results for HGST and Samsung SSD disks, respectively:
So they all seem to report 512 bytes, even the newest SSD drives. Should I assume and use ashift=12? From what I read around, it appears to be a safe ground to choose.
Thank you very much.
zecas
I'm in the process of finishing a server build based on proxmox.
At this time I have everything almost ready, just doing some disk tests before moving forward for the installation.
My hardware config will be like this:
2x Samsung SSD 860 EVO 250Gb (SATA3) - Will be setup on proxmox installation for OS boot, both configured for ZFS RAID1
6x HGST HUC109060CSS600, 600GB 10K SAS 2.5" HDD, for VM data, configured as 1 zpool with 2 zdevs composed of:
- zdev-1 (mirror-0) : 3x HGST HUC109060CSS600, 600GB
- zdev-2 (mirror-1) : 3x HGST HUC109060CSS600, 600GB
(for a total pool size of 1.2Tb)
Now some questions came to my mind which I would be very much appreciated if someone could clarify them to me:
1- The PVE boot will be created by proxmox installation. Will it use "/dev/sdX" disk identification or will it use "/dev/disk/by-id/..." references?
2- For the ZFS zpool for the VMs, I was planing of creating it from command line, to be sure of using disk by-id referencing and grouping disks exactly as I want. Will I be able to see the ZFS pool immediately on proxmox interface? Or do I need to do something to be able to see it?
3- Now the more tricky question for me, the ashift selection:
What should be the right setting for each ZFS (boot and VMs)?
For instance, running "fdisk -l /dev/sdX" gave the following results for HGST and Samsung SSD disks, respectively:
Code:
# fdisk -l /dev/sda
Disk /dev/sda: 558.8 GiB, 600000000000 bytes, 1171875000 sectors
Disk model: HUC10906 CLAR600
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
# fdisk -l /dev/sdg
Disk /dev/sdg: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So they all seem to report 512 bytes, even the newest SSD drives. Should I assume and use ashift=12? From what I read around, it appears to be a safe ground to choose.
Thank you very much.
zecas
Last edited: