Hello All,
I have set up FreeBSD (AMD64) on a ZFS partition and now I want to add more drives to ZFS. I have formatted two new drives to have the same layout as the installation drive.
What I now want to do is set up raidz2 on all three drives, but for some reason I can't (given below).
Is it possible to do that? Or should I have created the raidz2 before installing FreeBSD?
Thanks for your help,
atwinix
I have set up FreeBSD (AMD64) on a ZFS partition and now I want to add more drives to ZFS. I have formatted two new drives to have the same layout as the installation drive.
What I now want to do is set up raidz2 on all three drives, but for some reason I can't (given below).
Code:
FreeBSD_ZFS# zpool status
pool: tank
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
ad4s1a ONLINE 0 0 0
errors: No known data errors
Code:
FreeBSD_ZFS# gpart show
=> 63 12582801 ad4 MBR (6.0G)
63 12582801 1 freebsd [active] (6.0G)
=> 0 12582801 ad4s1 BSD (6.0G)
0 10485760 1 freebsd-zfs (5.0G)
10485760 2097041 2 freebsd-swap (1.0G)
=> 63 12582801 ad6 MBR (6.0G)
63 12582801 1 freebsd (6.0G)
=> 0 12582801 ad6s1 BSD (6.0G)
0 12582801 1 freebsd-zfs (6.0G)
=> 63 12582801 ad8 MBR (6.0G)
63 12582801 1 freebsd (6.0G)
=> 0 12582801 ad8s1 BSD (6.0G)
0 12582801 1 freebsd-zfs (6.0G)
Code:
FreeBSD_ZFS# zpool add -f tank raidz2 ad4s1 ad6s1 ad8s1
invalid vdev specification
the following errors must be manually repaired:
/dev/ad4s1 is part of active pool 'tank'
Is it possible to do that? Or should I have created the raidz2 before installing FreeBSD?
Thanks for your help,
atwinix