solaris
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| solaris [2018/04/13 02:38] – created k2patel | solaris [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| KexAlgorithms curve25519-sha256@libssh.org, | KexAlgorithms curve25519-sha256@libssh.org, | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ==== 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 ' | ||
| + | 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. | ||
| + | <code bash> | ||
| + | devfsadm -C -c disk -v | ||
| + | devfsadm -c disk -v | ||
| + | </ | ||
| + | |||
| + | Check if your newly added drives added. | ||
| + | <code bash> | ||
| + | echo |format | head -10 | ||
| + | </ | ||
| + | :!:You can ignore using head, mine was c0t0d0 which was fist in the list. | ||
| + | |||
| + | Fdisk new drive, but some time it error ' | ||
| + | I had to do it multiple times.\\ | ||
| + | <code bash> | ||
| + | pfexec fdisk / | ||
| + | </ | ||
| + | |||
| + | Now its time to replicate slices. | ||
| + | <code bash> | ||
| + | prtvtoc / | ||
| + | </ | ||
| + | |||
| + | Now attache the drive to zpool mirror, it is require to specify existing mirror drive as source.\\ | ||
| + | <code bash> | ||
| + | zpool attach -f syspool c0t1d0s0 c0t0d0s0 | ||
| + | </ | ||
| + | |||
| + | It should tell you to run installgrub. | ||
| + | <code bash> | ||
| + | installgrub / | ||
| + | </ | ||
| + | |||
| + | Wait for resilvering before you reboot the server. | ||
| + | |||
| + | |||
solaris.1523587134.txt.gz · Last modified: 2020/08/10 02:29 (external edit)
