Re: [zfs-discuss] clone rpool to smaller disk

2009-08-05 Thread nawir
cindy, You are brilliant. I can successfully boot os after follow the steps below. But I got some small problem 1. when I "zpool list", I saw two pools (altrpool & rpool) I want to delete altrpool using "zpool destroy altrpool" but after I reboot it panic 2. I got this error message ERROR MSG: /

Re: [zfs-discuss] clone rpool to smaller disk

2009-08-05 Thread Cindy . Swearingen
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 w

[zfs-discuss] clone rpool to smaller disk

2009-08-05 Thread nawir
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 se