Kuyper
Dabbler
- Joined
- Nov 30, 2014
- Messages
- 20
In preparation for upgrading to FreeNAS 11, I am in the process of migrating from a 16GB RAID1 pair of USB boot "drives" to new 64GB USB drives. The plan was to clone my old 9.3 install onto the new drives, remove them, and then upgrade, so that if all goes horribly wrong :) I can just go back to my 16GB drives.
In order to keep it simple, I decided I would first add one of the 64GB drives to the pool, let it re-silver, add the 2nd, resilver, remove the original pair and then grow the root FS (autoexpand should take care of that, right?)
However, after the pool completed its work:
I noticed that the new drive was not showing a gpart ID.
Is that a problem?
I ask, because upon reboot, I nearly thought I was screwed, because the grub splash screen would display, but within one second, my host would reboot! I finally found that, provided I specifically selected the newly added 64GB (Samsung) USB drive (the other 2 were SanDisk, so easy to pick the new one) in my Boot BIOS, FreeNAS (phew!) booted as normal.
Now I'm worried; can I safely add the 2nd 64GB drive (da9), and remove the 2 16GB drives (da7 & da8)? It seems like they're no longer set up properly (I certainly could not boot without the new drive in place!)
Funny thing is, the resilvering definitely created a (GPT) partition table for the new drive (da9) that matches da7 & da8 in all regards, except that da9p2 correctly shows the larger partition:
Have I skipped a step?
Any thoughts appreciated.
Thanks
Kuyper
In order to keep it simple, I decided I would first add one of the 64GB drives to the pool, let it re-silver, add the 2nd, resilver, remove the original pair and then grow the root FS (autoexpand should take care of that, right?)
However, after the pool completed its work:
Code:
[kuyper@knox ~]$ zpool status freenas-boot pool: freenas-boot state: ONLINE scan: resilvered 9.70G in 2h3m with 0 errors on Sun Dec 17 12:54:01 2017 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/43450352-723f-11e4-b1ab-bc5ff4c7d2fc ONLINE 0 0 0 gptid/436bc0c9-723f-11e4-b1ab-bc5ff4c7d2fc ONLINE 0 0 0 da9p2 ONLINE 0 0 0 errors: No known data errors
I noticed that the new drive was not showing a gpart ID.
Is that a problem?
I ask, because upon reboot, I nearly thought I was screwed, because the grub splash screen would display, but within one second, my host would reboot! I finally found that, provided I specifically selected the newly added 64GB (Samsung) USB drive (the other 2 were SanDisk, so easy to pick the new one) in my Boot BIOS, FreeNAS (phew!) booted as normal.
Now I'm worried; can I safely add the 2nd 64GB drive (da9), and remove the 2 16GB drives (da7 & da8)? It seems like they're no longer set up properly (I certainly could not boot without the new drive in place!)
Funny thing is, the resilvering definitely created a (GPT) partition table for the new drive (da9) that matches da7 & da8 in all regards, except that da9p2 correctly shows the larger partition:
Code:
[kuyper@knox ~]$ gpart show da7 => 34 31266749 da7 GPT (14G) 34 1024 1 bios-boot (512k) 1058 6 - free - (3.0k) 1064 31265712 2 freebsd-zfs (14G) 31266776 7 - free - (3.5k) [kuyper@knox ~]$ gpart show da8 => 34 31266749 da8 GPT (14G) 34 1024 1 bios-boot (512k) 1058 6 - free - (3.0k) 1064 31265712 2 freebsd-zfs (14G) 31266776 7 - free - (3.5k) [kuyper@knox ~]$ [kuyper@knox ~]$ [kuyper@knox ~]$ gpart show da9 => 34 125337533 da9 GPT (59G) 34 1024 1 bios-boot (512k) 1058 6 - free - (3.0k) 1064 125336496 2 freebsd-zfs (59G) 125337560 7 - free - (3.5k)
Have I skipped a step?
Any thoughts appreciated.
Thanks
Kuyper