Sponsored Content
Operating Systems Solaris Cannot recover OS hard drive from a set of snapshots Post 302554111 by RychnD on Saturday 10th of September 2011 04:47:44 AM
Old 09-10-2011
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
  2. I type
    Code:
    fdisk -B /dev/rdsk/c8d0p0

    to relabel the new disc to a Solaris2 partition
  3. I import the backup disc:
    Code:
    zpool import -f backup

  4. I create the root pool:
    Code:
    zpool create -f -o failmode=continue -R /a -m legacy rpool c8d0p0

  5. I install the grub and the MBR:
    Code:
    installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c8d0s0

  6. I import the rpool, rpool/ROOT, rpool/ROOT/solaris, rpool/export and rpool/export/home filesystems this way:
    Code:
    zfs send backup/rpool@[timestamp] | zfs receive –F rpool

  7. I set the boot property for the root partition:
    Code:
    zpool set bootfs=rpool/ROOT/solaris rpool

  8. I create the dump and swap fs:
    Code:
    zfs create -V 2G rpool/dump\n
    zfs create -V 2G -b 4k rpool/swap

  9. Finally I reboot the system:
    Code:
    init 6


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

Code:
Verifying DMI Pool Data ..................
GRUB _

What am I doing wrong?
Thanks for your answers, Dusan
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I Want To Automount My Hard Drive!!!

:confused: Im as newbie as they come....... I just loaded Red Hat 8.0 on my computer. I have a second hard drive that i reformatted with a Fat32 so I could share it with my XP and Linux partions....... I have like 4000 mp3's on it and i would like to get it to auto mount when Linux boots....? Or... (5 Replies)
Discussion started by: mynameiskyle
5 Replies

2. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

3. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

4. Solaris

Hard Drive error

I have a hard drive that we are trying to jumpstart in a sunblad 1500. we keep getting errors. I placed the drive in my 1500. I want to wipe the drive clean because for some reason it has a partition table. and when i go to format and try to format the drive it says it can not use a program. is... (5 Replies)
Discussion started by: deaconf19
5 Replies

5. Filesystems, Disks and Memory

Hard Drive Temperature?

Hi, I just set up a raid Z array in solaris xpress and I notice that the drives feel pretty damn hot. I use speedfan to monitor the temperatures of the hard drives in XP. Is there a similar program for solrais? I assume there would be since the drives all have temp sensors in them, but I... (2 Replies)
Discussion started by: ciscocbee
2 Replies

6. Ubuntu

Accessing all of the hard drive...

Hi, I just downloaded and installed Ubuntu yesterday. It's the first time I have used it, so bear with me. I think I figured out how to get my sound drivers to work (X-Fi)... I had downloaded some OSS drivers, bout to go test them. But what I really want to know is... I have 2 hard drive,... (2 Replies)
Discussion started by: blind melon
2 Replies

7. SCO

Recover data from failed Hard disk in SCO OpenServer 5.06

One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104". I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies

8. Hardware

SATA drive FAT recover

I had ACER aspiron one netbook with dual bootable (Windows XP and Debian). Recently I found XP is messy and Debian has new version published. I plan to recover XP and install new version of Debian. But I failed to recover XP from Hidden Partition. I thought it is because I install GRUB in the... (15 Replies)
Discussion started by: sinnud
15 Replies

9. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies
All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy