Thanks for the information/advise.To add the mirror after the fact, you'd have to use the CLI.
But, rather than creating the pool from the CLI, you should have done it via the webGUI. FreeNAS uses GPTID's to keep track of the devices.
And, it creates a 2GB swap file on each disk. While you don't want the server to use swap in place of real RAM, it's main purpose is to aid in disk replacements, if the replacement disk is slightly smaller than the original disk.
So, for disk #2, you'd should have added the swap partition. And, when adding the second drive to the pool, used it's gptid.
How can I check the "2GB swap file" on each disk?
My disk partitions look like this:
Code:
bruin@gen8:~$ sudo parted /dev/sdb Model: ATA WDC WD5000AADS-0 (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 500GB 500GB zfs zfs-3159628ae4b98b9e 9 500GB 500GB 8389kB bruin@gen8:~$ sudo parted /dev/sdc Model: ATA WDC WD5000AVDS-6 (scsi) Disk /dev/sdc: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 500GB 500GB zfs zfs-c4743c403a6327e7 9 500GB 500GB 8389kB
Btw, my ZFS install was not based on FreeNAS yet, it's debian (I am considering trying FreeNAS). Not sure if that makes any difference...
Do you have a link for the swap file part?
Thanks again!