[OpenIndiana-discuss] System Panics after deleting zvol
George Wilson
george.wilson at delphix.com
Fri Nov 9 14:52:12 UTC 2012
Matt,
You should do something like this:
1). zpool create <newpool> <newdisk>
2). zfs get -o name,value -p volsize <oldpool/oldvolume>
3). zfs get -o name,value -p volblocksize <oldpool/oldvolume>
4). zfs create -V <value from step #2> -b <value from step #3>
<newpool/newvolume>
5). dd if=/dev/zvol/rdsk/<oldpool>/<oldzvolume>
of=/dev/zvol/rdsk/<newpool>/<newzvolume> bs=128k
Once the 'dd' completes then you can configure the newzvolume to share
out with iSCSI and try it out.
Good luck,
George
On 11/8/12 7:32 PM, matt at focusedmobile.com wrote:
> Are you able to create a pool on another disk? If so, then you could try
> to create a new zvol on the new pool and copy over the contents from the
> old zvol using 'dd'. Then you could try to share out the LU from the new
> pool.
>
> - George
>
> George,
>
> Yeah I went out and bought a 3TB disk with the intention of backing
> up the data once I was able to get in there, I know early on after
> setting up the zpool that I wanted to turn off deduplication since I
> didn't like the performance impact I was seeing in testing. Since I
> created the zvol to be shared via iSCSI as a block level device to a
> windows system will dd still be able to copy the data.. need to look
> up the dd command... I'm going to add the new drive along with another
> to a new pool and do what you suggested. Any guidance on using the dd
> command?
>
> Thanks,
> Matt
>
> Matt
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list