Date: Mon, 8 Sep 2014 22:20:11 -0700 (PDT) From: "James D. Parra" <jamesp@musicreports.com> To: freebsd-questions@freebsd.org Subject: creating a raid1 with single system drive Message-ID: <405098918.20787549.1410240011151.JavaMail.root@musicreports.com> In-Reply-To: <2076734718.20787409.1410237009712.JavaMail.root@musicreports.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Installed FreeBSD on a single disk with ZFS with the zpool status showing; # zpool status pool: tank0 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank0 ONLINE 0 0 0 ada0s1d ONLINE 0 0 0 I wish to add an identical disk to create a raid1 array. A list of the drives shows; ll /dev/ad* crw-r----- 1 root operator 0, 108 Sep 8 19:21 /dev/ada0 crw-r----- 1 root operator 0, 110 Sep 8 19:21 /dev/ada0s1 crw-r----- 1 root operator 0, 115 Sep 8 19:21 /dev/ada0s1a crw-r----- 1 root operator 0, 117 Sep 8 19:21 /dev/ada0s1b crw-r----- 1 root operator 0, 119 Sep 8 19:21 /dev/ada0s1d crw-r----- 1 root operator 0, 112 Sep 8 19:21 /dev/ada1 crw-r----- 1 root operator 0, 121 Sep 8 19:21 /dev/ada1s1 crw-r----- 1 root operator 0, 126 Sep 8 19:21 /dev/ada1s1a crw-r----- 1 root operator 0, 128 Sep 8 19:21 /dev/ada1s1b crw-r----- 1 root operator 0, 130 Sep 8 19:21 /dev/ada1s1d crw-r----- 1 root operator 0, 132 Sep 8 19:21 /dev/ada1s1e I installed the OS on the second disk as well so the partitions would be the same. However, something doesn't appear correct. NAME STATE READ WRITE CKSUM tank0 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0s1d ONLINE 0 0 0 ada1s1e ONLINE 0 0 0 (resilvering) # gpart show => 63 1953525105 ada0 MBR (931G) 63 1953 - free - (976k) 2016 1953523152 1 freebsd (931G) => 0 1953523152 ada0s1 BSD (931G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 809500672 2 freebsd-swap (386G) 811597824 1141925328 4 freebsd-zfs (544G) => 63 1953525105 ada1 MBR (931G) 63 1953 - free - (976k) 2016 1953523152 1 freebsd (931G) => 0 1953523152 ada1s1 BSD (931G) 0 4096000 1 freebsd-ufs (2G) 4096000 4096000 2 freebsd-swap (2G) 8192000 4194304 4 freebsd-ufs (2.0G) 12386304 1941136848 5 freebsd-ufs (925G) Although, the disks are identical, the installation partitioned them differently. What is the best way to create a zfs raid1 for the system drive by adding the second drive after the install? Thank you, James
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405098918.20787549.1410240011151.JavaMail.root>