Re: [zfs-discuss] zero out block / sectors

2010-01-29 Thread Ragnar Sundblad
On 28 jan 2010, at 12.11, Björn JACKE wrote: > On 2010-01-28 at 00:30 +0100 Ragnar Sundblad sent off: >>> Are there any plans to add unwritten extent support into ZFS or any reason >>> why >>> not? >> >> I have no idea, but just out of curiosity - when do you want that? > > when you have many

Re: [zfs-discuss] zero out block / sectors

2010-01-29 Thread Björn JACKE
On 2010-01-28 at 00:30 +0100 Ragnar Sundblad sent off: > > Are there any plans to add unwritten extent support into ZFS or any reason > > why > > not? > > I have no idea, but just out of curiosity - when do you want that? when you have many data streams being simultaneous written to disk over a

Re: [zfs-discuss] zero out block / sectors

2010-01-27 Thread Ragnar Sundblad
On 27 jan 2010, at 10.44, Björn JACKE wrote: > On 2010-01-25 at 08:31 -0600 Mike Gerdts sent off: >> You are missing the point. Compression and dedup will make it so that >> the blocks in the devices are not overwritten with zeroes. The goal >> is to overwrite the blocks so that a back-end stor

Re: [zfs-discuss] zero out block / sectors

2010-01-27 Thread Björn JACKE
On 2010-01-27 at 09:50 + Darren J Moffat sent off: > The whole point of the original question wasn't about consumers of > ZFS but where ZFS is the consumer of block storage provided by > something else that expects to see "zeros" on disk. > > This thread is about "thin" provisioning *to* ZFS n

Re: [zfs-discuss] zero out block / sectors

2010-01-27 Thread Darren J Moffat
On 27/01/2010 09:44, Björn JACKE wrote: On 2010-01-25 at 08:31 -0600 Mike Gerdts sent off: You are missing the point. Compression and dedup will make it so that the blocks in the devices are not overwritten with zeroes. The goal is to overwrite the blocks so that a back-end storage device or b

Re: [zfs-discuss] zero out block / sectors

2010-01-27 Thread Björn JACKE
On 2010-01-25 at 08:31 -0600 Mike Gerdts sent off: > You are missing the point. Compression and dedup will make it so that > the blocks in the devices are not overwritten with zeroes. The goal > is to overwrite the blocks so that a back-end storage device or > back-end virtualization platform can

Re: [zfs-discuss] zero out block / sectors

2010-01-25 Thread Miles Nordin
> "cs" == Cindy Swearingen writes: > "re" == Richard Elling writes: cs> http://defect.opensolaris.org/bz/show_bug.cgi?id=5993 the procedure described here is like doing FLAR by hand, so it'll probably be useful in quite a lot of situations, especially with the frequent genunix livec

Re: [zfs-discuss] zero out block / sectors

2010-01-25 Thread Kjetil Torgrim Homme
Mike Gerdts writes: > Kjetil Torgrim Homme wrote: >> Mike Gerdts writes: >> >>> John Hoogerdijk wrote: Is there a way to zero out unused blocks in a pool?  I'm looking for ways to shrink the size of an opensolaris virtualbox VM and using the compact subcommand will remove zero'd s

Re: [zfs-discuss] zero out block / sectors

2010-01-25 Thread Mike Gerdts
On Mon, Jan 25, 2010 at 2:32 AM, Kjetil Torgrim Homme wrote: > Mike Gerdts writes: > >> John Hoogerdijk wrote: >>> Is there a way to zero out unused blocks in a pool?  I'm looking for >>> ways to shrink the size of an opensolaris virtualbox VM and using the >>> compact subcommand will remove zero

Re: [zfs-discuss] zero out block / sectors

2010-01-25 Thread Kjetil Torgrim Homme
Mike Gerdts writes: > John Hoogerdijk wrote: >> Is there a way to zero out unused blocks in a pool?  I'm looking for >> ways to shrink the size of an opensolaris virtualbox VM and using the >> compact subcommand will remove zero'd sectors. > > I've long suspected that you should be able to just u

Re: [zfs-discuss] zero out block / sectors

2010-01-23 Thread John Hoogerdijk
Mike Gerdts wrote: On Sat, Jan 23, 2010 at 11:55 AM, John Hoogerdijk wrote: Mike Gerdts wrote: On Fri, Jan 22, 2010 at 1:00 PM, John Hoogerdijk wrote: Is there a way to zero out unused blocks in a pool? I'm looking for ways to shrink the size of an opensolaris virtualbox VM

Re: [zfs-discuss] zero out block / sectors

2010-01-23 Thread Mike Gerdts
On Sat, Jan 23, 2010 at 11:55 AM, John Hoogerdijk wrote: > Mike Gerdts wrote: >> >> On Fri, Jan 22, 2010 at 1:00 PM, John Hoogerdijk >> wrote: >> >>> >>> Is there a way to zero out unused blocks in a pool?  I'm looking for ways >>> to >>> shrink the size of an opensolaris virtualbox VM and >>> us

Re: [zfs-discuss] zero out block / sectors

2010-01-23 Thread John Hoogerdijk
Mike Gerdts wrote: On Fri, Jan 22, 2010 at 1:00 PM, John Hoogerdijk wrote: Is there a way to zero out unused blocks in a pool? I'm looking for ways to shrink the size of an opensolaris virtualbox VM and using the compact subcommand will remove zero'd sectors. I've long suspected that

Re: [zfs-discuss] zero out block / sectors

2010-01-23 Thread Al Hopper
On Fri, Jan 22, 2010 at 2:42 PM, Cindy Swearingen wrote: > Hi John, > > You might check with the virtualguru, Rudolf Kutina. Unfortunately, Rudolfs last day at Sun was Jan 15th: http://blogs.sun.com/VirtualGuru/entry/kiss_of_dead_my_last you can still catch up with him at his new blog: http://

Re: [zfs-discuss] zero out block / sectors

2010-01-22 Thread Mike Gerdts
On Fri, Jan 22, 2010 at 1:00 PM, John Hoogerdijk wrote: > Is there a way to zero out unused blocks in a pool?  I'm looking for ways to > shrink the size of an opensolaris virtualbox VM and > using the compact subcommand will remove zero'd sectors. I've long suspected that you should be able to ju

Re: [zfs-discuss] zero out block / sectors

2010-01-22 Thread Darren J Moffat
John Hoogerdijk wrote: Is there a way to zero out unused blocks in a pool? I'm looking for ways to shrink the size of an opensolaris virtualbox VM and using the compact subcommand will remove zero'd sectors. Not yet, but this has been discussed here before. It is something I want to look at

Re: [zfs-discuss] zero out block / sectors

2010-01-22 Thread Richard Elling
Another approach is to make a new virtual disk and attach it as a mirror. Once the silver is complete, detach and destroy the old virtual disk. Normal procedures for bootable disks still apply. This works because ZFS only silvers data. -- richard On Jan 22, 2010, at 12:42 PM, Cindy Swearingen w

Re: [zfs-discuss] zero out block / sectors

2010-01-22 Thread Cindy Swearingen
Hi John, You might check with the virtualguru, Rudolf Kutina. I haven't had a chance to test this, but he had documented a way to shrink a pool in VBox, described here: http://defect.opensolaris.org/bz/show_bug.cgi?id=5993 Thanks, Cindy On 01/22/10 12:00, John Hoogerdijk wrote: Is there a wa

[zfs-discuss] zero out block / sectors

2010-01-22 Thread John Hoogerdijk
Is there a way to zero out unused blocks in a pool? I'm looking for ways to shrink the size of an opensolaris virtualbox VM and using the compact subcommand will remove zero'd sectors. Thanks, John Hoogerdijk Sun Microsystems of Canada IMO Network Computer NC Ltd. 808 240 Graham Avenue Winni