Showing results for 
Search instead for 
Did you mean: 

Recreate Device Tree

Keith W.
Occasional Advisor

Recreate Device Tree

We had a major disk failure and had to reinstall the OS. We tried to recreate the attached raid after doing a reinstall but the device /dev/re1c does not exist.

Being a Solaris guy, I would normally just recreate the device tree and reattach the raid. Is there a similar method of reconnecting this raid to this new install?

Thank you much.
Ivan Ferreira
Honored Contributor

Re: Recreate Device Tree

The easiest way is to boot with the genvmunix kernel to detect the new hardware, recompile the kernel and reboot.

boot -fi genvmunix -fl s
cp /vmunix /vmunix.bak
cp /path/to/new/kernel /vmunix

You may also try

cd /dev
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?