Hi.
I've managed to create a FreeBSD installation on a ZFS mirror consisting of two identical 2TB drives. Each disk has a freebsd-boot, a freebsd-swap, and a freebsd-zfs partition. Both FreeBSD and my data is stored in the same pool. The major use is as a fileserver with Samba, but also web server.
It has been running smooth for about two months, but I've noticed that it´s slow.. When transferring a file (I have tested with files around 700MB) from the server to my computer, the transfer rate is only about 50% or less of what the gigabit Ethernet can handle, but when copying the same file directly again, the speed increases to almost 1GB/s. (I think this is because of caching?).
I've found out that this is a common problem concerning the ashift property. The ashift=9 on my installation. How do one change this to ashift=12 without loosing any data, settings or software? I suppose I need to split the mirror, and then somehow make a new ZFS pool on one disk, and then transfer the data to the other disk, make a new mirror, and make both disks bootable again.
Bäckman
I've managed to create a FreeBSD installation on a ZFS mirror consisting of two identical 2TB drives. Each disk has a freebsd-boot, a freebsd-swap, and a freebsd-zfs partition. Both FreeBSD and my data is stored in the same pool. The major use is as a fileserver with Samba, but also web server.
It has been running smooth for about two months, but I've noticed that it´s slow.. When transferring a file (I have tested with files around 700MB) from the server to my computer, the transfer rate is only about 50% or less of what the gigabit Ethernet can handle, but when copying the same file directly again, the speed increases to almost 1GB/s. (I think this is because of caching?).
I've found out that this is a common problem concerning the ashift property. The ashift=9 on my installation. How do one change this to ashift=12 without loosing any data, settings or software? I suppose I need to split the mirror, and then somehow make a new ZFS pool on one disk, and then transfer the data to the other disk, make a new mirror, and make both disks bootable again.
Bäckman