Solaris¶
Issue connecting ssh¶
If you come across issue where error say 'no common kex alg' while connecting from solaris to any machines like freebsd, freenas, Linux etc.
Try to add following line to your sshd_config.
KexAlgorithms [email protected],diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
Disk issue¶
So on nexenta one of our disk failed and require to be replace.
Dell sent us lager drive than original drive.
PERC required to clear managed cache, once it is cleared i was able to create new VD for new drive.
While creating VD please make sure you choose the size same as working VD.
It is required when you copy the slice from working drive, else it will error.
FIXME 'Partition 0 not aligned on cylinder boundary'.
There are way to add larger size but i took the fastest route after so many problems.
After adding new drive there are certain steps i had to do before i can add it to the syspool.
First clear and scan all the drives on box.
Check if your newly added drives added.
:!:You can ignore using head, mine was c0t0d0 which was fist in the list.Fdisk new drive, but some time it error 'Partition 0 of the disk has an incorrect offset'.
I had to do it multiple times.
Now its time to replicate slices.
Now attache the drive to zpool mirror, it is require to specify existing mirror drive as source.
It should tell you to run installgrub.
Wait for resilvering before you reboot the server.