This discussion is archived
3 Replies Latest reply: Mar 21, 2013 8:18 AM by DarrenMoffat RSS

need to make a copy of the rpool disk to another disk

1502 Newbie
Currently Being Moderated
I need to clon the rpool disk in a system 11.1

Need to have a clone (copy) of the rpool disk just in case the system crashes so we can switch the disk, reboot and wala !! without reinstalling is that possible ?

I have /home in a different disk

Thank-you
  • 1. Re: need to make a copy of the rpool disk to another disk
    bobthesungeek76036 Pro
    Currently Being Moderated
    man beadm

    create a new zpool on second disk and use the -p <zpool> option to beadm.
  • 2. Re: need to make a copy of the rpool disk to another disk
    Alan_S Explorer
    Currently Being Moderated
    I think this guide also has the steps you need to take:

    http://docs.oracle.com/cd/E26502_01/html/E29007/gjtuk.html#gljzx

    -- Alan
  • 3. Re: need to make a copy of the rpool disk to another disk
    DarrenMoffat Explorer
    Currently Being Moderated
    It depends on wither you want to have a live mirror or an offline backup.

    For a live mirror just do 'zpool attach' if your system BIOS or if this is SPARC OBP can see that drive it will be able to automatically boot from it in the case of a failure of the current rpool disk.

    For an offline backup you can create this using 'zpool attach' followed by 'zpool split' or you can do as the other suggestion and create a new be on an alternate pool, both of those will result in a bootable but older version of what you are running. There is also the possibility of using 'zfs send' 'zfs recv' but that won't give you a bootable disk, but you could use snapshots with send/recv from the original to a bootable one you created using beadm to build a second bootable pool.

    It all depends on how automatic you want this and wither the backup is supposed to be an older copy of what you have currently running or identical to is.

    Darren

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points