OpenSolaris Solaris Forum  
     

Left Nav Register FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum » Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2011, 08:29 AM
Unregistered
Guest
 
Posts: n/a
Default Cannot recover OS hard drive from a set of snapshots

I have installed Solaris 11 Express on my computer and set up a script to make daily snapshots of all filesystems and send them to a backup disc.

Now I'm trying to replace the system disc using a set of captured snapshots. I have found an article on that topic on the internet and have been experimenting with the recomended procedure for a while.

Here is a list of exactly the steps I take (c8d0 is the identifier of the new hard disc):

1.
I boot from the USB Install image downloaded from Oracle
I type

fdisk -B /dev/rdsk/c8d0p0

to relabel the new disc to a Solaris2 partition

2.
I import the backup disc:

zpool import -f backup


3.
I create the root pool:

zpool create -f -o failmode=continue -R /a -m legacy rpool c8d0p0

4.
I install the grub and the MBR:

installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c8d0s0

5.
I import the rpool, rpool/ROOT, rpool/ROOT/solaris, rpool/export and rpool/export/home filesystems this way:

zfs send backup/rpool@[timestamp] | zfs receive –F rpool

6.
I set the boot property for the root partition:

zpool set bootfs=rpool/ROOT/solaris rpool

7.
I create the dump and swap fs:

zfs create -V 2G rpool/dump\n
zfs create -V 2G -b 4k rpool/swap

8.
Finally I reboot the system:

init 6


But then, when the pc reboots, the boot process stops on this message:

Verifying DMI Pool Data ..................
GRUB _

What am I doing wrong?
Thanks for your answers, Dusan
Reply With Quote
Sponsored Links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing a hard disk (SVM) with a soft partition? aji1729 Solaris General 0 09-15-2010 03:21 AM


All times are GMT. The time now is 02:32 PM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.