Re: [zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-02-07 Thread Matt Connolly
Except for meta data which seems to be written in small pieces, wouldn't having a zfs record size being a multiple of 4k on a vdev that is 4k aligned work ok? Or can the start of a zfs record that's 16kb for example start at any sector in the vdev? -- This message posted from opensolaris.org

Re: [zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-01-10 Thread Benji
Actually, it is not my blog ;) To answer your question: you first need to create a new vdev that is 4K aligned unfortunately. I am not aware of any other means to accomplish what you seek. -- This message posted from opensolaris.org ___ zfs-discuss

Re: [zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-01-09 Thread Matthew Angelo
Hi Benji, I did take a read of your blog before posting this. But it didn't have the exact answer I was looking for. OS Version is Solaris 10 U9 x86. Your blog was highly informative, but didn't say if you can zfs replace into a 4kb drive - it was more discussing the ability to detect the WD

Re: [zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-01-07 Thread Benji
I have recently done this. See here for more details: http://www.solarismen.de/archives/5-Solaris-and-the-new-4K-Sector-Disks-e.g.-WDxxEARS-Part-2.html) What version are you running? There's a compiled version of the modified zpool command that will create pools that are 4K aligned somewhere,

[zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-01-06 Thread Matthew Angelo
Hi ZFS Discuss, I have a 8x 1TB RAIDZ running on Samsung 1TB 5400rpm drives with 512b sectors. I will be replacing all of these with 8x Western Digital 2TB drives with support for 4K sectors. The replacement plan will be to swap out each of the 8 drives until all are replaced and the new size

Re: [zfs-discuss] Migrating zpool to new drives with 4K Sectors

2011-01-06 Thread taemun
zfs replace will copy across on to the disk with the same old ashift=9, whereas you want ashift=12 for 4KB drives. (size = 2^ashift) You'd need to make a new pool (or add a vdev to an existing pool) with the modified tools in order to get proper performance out of 4KB drives. On 7 January 2011