• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Solaris Boot Drive Died

s0rce

Limp Gawd
Joined
Jan 17, 2011
Messages
495
So my boot ssd just died in my Solaris 11 Express server and I've got a spare identical drive so I'm trying to install it and then load up a recent snapshot I backed up. I've installed the new drive but I can't get grub installed. Sorry for the cross post but I hope to get noticed and get help!!

Thanks!!

I've been following: http://www.solarisinternals.com/wiki...Root_Pool_Disk

To recreate the drive and then: http://www.solarisinternals.com/wiki..._Pool_Recovery

to recover from the snapshot.

I'm able to fdisk and partition the drive and then create the rpool but I can't seem to install grub

I ran:
raw device must be a root slice
installgrub installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c9d0s0
and various permutations c9d0, etc

it always doesn't work and says something about raw device must be a root slice or a few. I'm going to try again and post the exact error messages. Any help would be great!!!

Thanks (please save my little server!)

edit:

for c9d0 it says

open: no such file or directory
unable to gather device information

for c9d0s0

cannot open/stat device
unable to gather device information

if I create the zpool before doing installgrub then it says invalid vdev specification
the following errors must be manually repaird, /dev/rsk/c9d0s0 is part of an active ZFS pool
 
Well I managed to restore my rpool and grub and then reboot

but..

it doesn't load solaris its just stuck at the grub prompt and im not sure what to do....

:(

help!
 
well I reinstalled solaris and then over wrote the new rpool with my old snapshot but the snapshot didn't include any of the home directories :(

so I'm going to just start from scratch, sigh since a bunch of my config files are now missing
 
Recommendation for the future: do rsync of the rpool to a different pool, excluding these:

/cdrom
/dev
/devices
/etc/dev
/etc/svc/volatile
/etc/sysevent
/hgfs
/media
/mnt
/net
/proc
/root
/rpool
/sbin
/system/contract
/tmp
/var/run
(and whatever the data pool is). if you ever have to do bare-metal restore, do a minimal install, import the data pool, and do rsync back from the save location.
 
A slightly different recommendation: Mirror your rpool ;) Plenty of docs out there on how to do it, just ask our trusted google.
 
No offense, but did you read the earlier posts? Cites to similar, official HOWTOs were posted, and didn't work for him. It would be nice to know why not (for what its worth, I've seen similar problems from other folks...)
 
No offense, but did you read the earlier posts? Cites to similar, official HOWTOs were posted, and didn't work for him. It would be nice to know why not (for what its worth, I've seen similar problems from other folks...)

Well my server is back up now. I'm not sure what happened but now I'm using zfs send/receive to a folder on my data pool to keep the data.

I'm going to set up a mirror of my boot drive once I get the RMA'd drive back but I'm not sure why:

installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/...

didn't work properly when the installer works just fine...

thanks for all the help!
 
Back
Top