From ArchWiki
Revision as of 04:02, 18 August 2012 by Demizer (talk | contribs) (Add GPT removal comment.)
Jump to: navigation, search


ZOL FAQ proposes to use whole disk, therefore partitioning is not required. From the same reason, it is not neccessary to create a partition table (be it GPT or ms-dos compatible), ZFS will create it automatically.

However, it might still be useful to use a single partition, which is slightly smaller than the size of the disk. This is to allow for problems at the time of disk replacement (e.g. due to failure). Not all disk marketed as 2TB HDD are of the same size and it is not possible to replace a drive in ZFS's vdev with a smaller drive (even when smaller by a few sectors).

I was getting errors when trying to create a zpool using the whole disk without partions. These are on 4 3TB drives that once had a btrfs partiton on them. I am going to now zero out all of my drives with dd and see if I still get the error when trying to create a pool without partitions. Unfortunately this takes 12 hours. --Demizer (talk) 21:47, 13 August 2012 (UTC)
I have ran into the following error again cannot import 'bigdata': pool may be in use from other system I am going to attempt a complete wipe and start over. --Demizer (talk) 00:38, 14 August 2012 (UTC)
This is because you have imported your filesystem with a different spl hostid. To fix this issue, you can use zfs export --User:kylef
I have removed the GPT partitioning recommendations. In my testing, using -f seems to be a standard practice on linux. --Demizer (talk) 04:02, 18 August 2012 (UTC)