Re: [zfs-discuss] destroy means destroy, right?

2009-01-29 Thread dick hoogendijk
On Wed, 28 Jan 2009 20:16:37 -0500 Christine Tran christine.t...@gmail.com wrote: Everybody respects rm -f *. +1 -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv105 ++ + All that's really worth doing is what we do for others (Lewis Carrol)

Re: [zfs-discuss] destroy means destroy, right?

2009-01-29 Thread Orvar Korvar
Maybe add a timer or something? When doing a destroy, ZFS will keep everything for 1 minute or so, before overwriting. This way the disk won't get as fragmented. And if you had fat fingers and typed wrong, you have up to one minute to undo. That will catch 80% of the mistakes? -- This message

Re: [zfs-discuss] destroy means destroy, right?

2009-01-29 Thread Jacob Ritorto
I like that, although it's a bit of an intelligence insulter. Reminds me of the old pdp11 install ( http://charles.the-haleys.org/papers/setting_up_unix_V7.pdf ) -- This step makes an empty file system. 6.The next thing to do is to restore the data onto the new empty file system. To do this

Re: [zfs-discuss] destroy means destroy, right?

2009-01-29 Thread Nathan Kroenert
For years, we resisted stopping rm -r / because people should know better, until *finally* someone said - you know what - that's just dumb. Then, just like that, it was fixed. Yes - This is Unix. Yes - Provide the gun and allow the user to point it. Just don't let it go off in their groin or

Re: [zfs-discuss] destroy means destroy, right?

2009-01-28 Thread bdebel...@intelesyscorp.com
Recovering Destroyed ZFS Storage Pools. You can use the zpool import -D command to recover a storage pool that has been destroyed. http://docs.sun.com/app/docs/doc/819-5461/gcfhw?a=view -- This message posted from opensolaris.org ___ zfs-discuss

Re: [zfs-discuss] destroy means destroy, right?

2009-01-28 Thread Nathan Kroenert
I'm no authority, but I believe it's gone. Some of the others on the list might have some funky thoughts, but I would suggest that if you have already done any other I/O's to the disk that you have likely rolled past the point of no return. Anyone else care to comment? As a side note, I had a

Re: [zfs-discuss] destroy means destroy, right?

2009-01-28 Thread Nathan Kroenert
He's not trying to recover a pool - Just a filesystem... :) bdebel...@intelesyscorp.com wrote: Recovering Destroyed ZFS Storage Pools. You can use the zpool import -D command to recover a storage pool that has been destroyed. http://docs.sun.com/app/docs/doc/819-5461/gcfhw?a=view --

Re: [zfs-discuss] destroy means destroy, right?

2009-01-28 Thread Nicolas Williams
On Wed, Jan 28, 2009 at 02:11:54PM -0800, bdebel...@intelesyscorp.com wrote: Recovering Destroyed ZFS Storage Pools. You can use the zpool import -D command to recover a storage pool that has been destroyed. http://docs.sun.com/app/docs/doc/819-5461/gcfhw?a=view But the OP destroyed a

Re: [zfs-discuss] destroy means destroy, right?

2009-01-28 Thread Christine Tran
On Wed, Jan 28, 2009 at 5:18 PM, Nathan Kroenert nathan.kroen...@sun.com wrote: As a side note, I had a look for anything that looked like a CR for zfs destroy / undestroy and could not find one. Anyone interested in me submitting an RFE to have something like a zfs undestroy pool/fs