How do you make a Rpool mirror?

How do you make a Rpool mirror?

How to Create a Mirrored Root Pool (Post Installation)

  1. Display your current root pool status.
  2. Attach a second disk to configure a mirrored root pool.
  3. View the root pool status to confirm that resilvering is complete.
  4. Apply boot blocks to the second disk after resilvering is complete.

What command can be used to create a ZFS mirror?

To create a mirrored storage pool, you use the zpool create command followed by the pool name, the mirror keyword, and the storage devices that will compose the mirror. Multiple mirrors can be specified by repeating the mirror keyword on the command line.

How do I create a ZFS mirror?

Creating a ZFS Storage Pool

  1. To create a storage pool, use the zpool create command.
  2. The second mirror keyword indicates that a new top-level virtual device is being specified.
  3. Creating a single-parity RAID-Z pool is identical to creating a mirrored pool, except that the raidz or raidz1 keyword is used instead of mirror.

How do I mirror a root drive in Solaris 11?

How to Set Up a ZFS Root Pool Mirror in Oracle Solaris 11 Express

  1. The Basic Plan.
  2. Figure Out Your System’s Disks.
  3. x86 only: Set Up a Single Fdisk Partition on Your Second Disk.
  4. Set Up an SMI Label With the Same Partitioning on the Second Disk.
  5. Set Up the ZFS Rpool Mirror.
  6. x86 only: Make the Second Mirror Half Bootable.

What is ZFS mirror?

ZFS is an advanced file system that is capable of managing data that spans across devices. ZFS uses virtual storage pools, called zpools. A zpool can contain numerous directories and can provide redundancy for your data. I want to show you how to set up a ZFS mirror (RAID1) pool using two external disks.

How do I add a disk to my Zpool mirror?

To add a new virtual device to a pool, use the zpool add command. Note – With zpool add –n, you can perform a dry run before actually adding devices. In the following example, a mirror is added to a ZFS configuration that consists of two top-level mirrored devices.

How do you remove a disk from a Zpool mirror?

To detach a device from a mirrored storage pool, you can use the zpool detach command. For example, if you want to detach the c2t1d0 device that you just attached to the mirrored pool datapool, you can do so by entering the command “zpool detach datapool c2t1d0” as shown in the code example.

How do you replace discs in ZFS root pool?

How to Replace a Disk in the ZFS Root Pool

  1. Physically connect the replacement disk.
  2. Attach the new disk to the root pool.
  3. Confirm the root pool status.
  4. After the resilvering is complete, apply the boot blocks to the new disk.
  5. Verify that you can boot from the new disk.

How do you make a Rpool mirror? How to Create a Mirrored Root Pool (Post Installation) Display your current root pool status. Attach a second disk to configure a mirrored root pool. View the root pool status to confirm that resilvering is complete. Apply boot blocks to the second disk after resilvering is complete. What…