Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Friday, June 21, 2024

How to mirror root disks in Solaris 11

 How to mirror root disks in Solaris 11


Mirroring root disks is used for redundancy purpose i.e. incase of failure of 1 disk the data will be accessible from other disks. If we want to mirror the root disk in rpool then we need to follow below process.

In this example we are mirroring root disk which are locally present on server. We can mirror the disks which are coming from external storage. 


1.       To know the disks attached to the server.

#echo |format






1.       Check rpool status. Here it is showing only 1 disk is present in rpool.

#zpool status rpool






1.       Attach one more disk of same size to rpool.

#zpool attach -f rpool <disk1> <New disk_disk2>




1.       Resilvering will start on new disk and till that time you will see the particular pool in Degraded state.

 

What is resilvering: Resilvering operation is moving data from the good copies to the new device.







1.       Once resilvering done the pool will have status ONLINE and you will be see 2 disks in mirrored.






Thanks,

Kiren Jadhav

No comments:

Post a Comment