On Sun, Sep 19, 2010 at 12:37 AM, Steve Arkley <steve.ark...@gmail.com> wrote:
> is there anyway to get the data over onto the other drive at all?

You can create a new pool on the replacement drive and use send | recv
to populate it.

There are a few properties that are normally set on a boot pool,
namely bootfs, which points at your bootenv:
$ zpool get bootfs rpool
rpool  bootfs         rpool/ROOT/snv_134  local

The basic method is:
- Boot from LiveCD
- Import existing rpool. You may need to import -f.
- Using fdisk, create a SOLARIS2 fdisk partition that uses the entire drive.
- Using format, create slice 0 that uses the entire disk.
- Create new rpool in slice 0 (call it "new_rpool"?)
- zfs send -R rpool | zfs recv new_rpool
- BOOTFS=$( zpool list -o bootfs -H rpool )
- zpool export rpool
- zpool export new_rpool
- zpool import new_rpool rpool (to rename it to rpool)
- zpool set bootfs=$BOOTFS
- zpool export rpool
- Run installgrub on the new drive
- Powerdown, remove the old drive and boot.
- Profit.


-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to