Interesting, this is the same procedure I invented (with the exception
that the zfs send came from the net) and used to hack OpenSolaris
2009.06 onto my home SunBlade 2000 since it couldn't do AI due to low
OBP rev..
I'll have to rework it this way, then, which will unfortunately cause
downtime for a multitude of dependent services, affect the entire
universe here and make my department look inept. As much as it stings,
I accept that this is the price I pay for adopting a new technology.
Acknowledge and move on. Quite simply, if this happens too often, we
know we've made the wrong decision on vendor/platform.
Anyway, looking forward to shrink. Thanks for the tips.
Kyle McDonald wrote:
Kyle McDonald wrote:
Jacob Ritorto wrote:
Is this implemented in OpenSolaris 2008.11? I'm moving move my
filer's rpool to an ssd mirror to free up bigdisk slots currently
used by the os and need to shrink rpool from 40GB to 15GB. (only
using 2.7GB for the install).
Your best bet would be to install the new ssd drives, create a new
pool, snapshot the exisitng pool and use ZFS send/recv to migrate the
data to the new pool. There are docs around about how install grub and
the boot blocks on the new devices also. After that remove (export!,
don't destroy yet!)
the old drives, and reboot to see how it works.
If you have no problems, (and I don't think there's anything technical
that would keep this from working,) then you're good. Otherwise put
the old pool back in. :)
This thread dicusses basically this same thing - he had a problem along
the way, but Cindy answered it.
Hi Nawir,
I haven't tested these steps myself, but the error message
means that you need to set this property:
# zpool set bootfs=rpool/ROOT/BE-name rpool
Cindy
On 08/05/09 03:14, nawir wrote:
Hi,
I have sol10u7 OS with 73GB HD in c1t0d0.
I want to clone it to 36GB HD
These steps below is what come in my mind
STEPS TAKEN
# zpool create -f altrpool c1t1d0s0
# zpool set listsnapshots=on rpool
# SNAPNAME=`date +%Y%m%d`
# zfs snapshot -r rpool/r...@$snapname
# zfs list -t snapshot
# zfs send -R rp...@$snapname | zfs recv -vFd altrpool
# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk
/dev/rdsk/c1t1d0s0
for x86 do
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t1d0s0
# zpool export altrpool
# init 5
remove source disk (c1t0d0s0) and move target disk (c1t1d0s0) to slot0
-insert solaris10 dvd
ok boot cdrom -s
# zpool import altrpool rpool
# init 0
ok boot disk1
ERROR:
Rebooting with command: boot disk1
Boot device: /p...@1c,600000/s...@2/d...@1,0 File and args:
no pool_props
Evaluating:
The file just loaded does not appear to be executable.
ok
QUESTIONS:
1. what's wrong what my steps
2. any better idea
thanks
-Kyle
-Kyle
thx
jake
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss