I've been considering using gmirror to mirror the disks on some of my lower-spec boxes, ones that aren't really up to running ZFS.
I note from the gmirror(8) man page the following statement:
This raises the question of compatibility with disks that are partitioned using GPT. All my FreeBSD boxes use GPT now as I much prefer it over the legacy-laden MBR scheme. GPT places a secondary header in the last sector of a disk and the man page line above suggests that gmirror's metadata would clobber that.
So I'm wondering if a gmirror can be built out of partitions instead of whole disks? Would the partition be the "provider" in that case and therefore would the gmirror metadata would be placed in the last sector of the partition instead than the last sector of the disk?
If I had a disk with numerous partitions would there be problems caused by creating seperate gmirrors for each partition?
Thanks for any advice.
I note from the gmirror(8) man page the following statement:
The gmirror utility uses on-disk metadata (stored in the provider's last sector) to store all needed information.
This raises the question of compatibility with disks that are partitioned using GPT. All my FreeBSD boxes use GPT now as I much prefer it over the legacy-laden MBR scheme. GPT places a secondary header in the last sector of a disk and the man page line above suggests that gmirror's metadata would clobber that.
So I'm wondering if a gmirror can be built out of partitions instead of whole disks? Would the partition be the "provider" in that case and therefore would the gmirror metadata would be placed in the last sector of the partition instead than the last sector of the disk?
If I had a disk with numerous partitions would there be problems caused by creating seperate gmirrors for each partition?
Thanks for any advice.