Hello
I have 9 drives, 6 are WD 3TB and 3 are 3TB Seagate NAS drives. I have set up a pool of 3 3-drive raidz vdevs. I noticed that these are showing ashift of 9 even though they are advanced format drives (I understand that some drives "lie"), so I started investigating and found this FreeBSD hack:
That said, I am also seeing the same hack on other sites, but people are using gpart to create properly aligned partitions first.
I am just using whole disks. Is creating properly aligned partitions on the drives first necessary or can I just perform the hack above (modified for my raidz vdev setup), ensuring I have ashift=12, and create my pool without partitioning with gpart first?
Thanks!
I have 9 drives, 6 are WD 3TB and 3 are 3TB Seagate NAS drives. I have set up a pool of 3 3-drive raidz vdevs. I noticed that these are showing ashift of 9 even though they are advanced format drives (I understand that some drives "lie"), so I started investigating and found this FreeBSD hack:
Code:
gnop create -S 4096 /dev/da0
zpool create media raidz2 da0.nop da1 da2 da3 da4 da5 da6 da7
zpool export media
gnop destroy /dev/da0.nop
zpool import media
That said, I am also seeing the same hack on other sites, but people are using gpart to create properly aligned partitions first.
I am just using whole disks. Is creating properly aligned partitions on the drives first necessary or can I just perform the hack above (modified for my raidz vdev setup), ensuring I have ashift=12, and create my pool without partitioning with gpart first?
Thanks!