public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: ext3 and undeletion
@ 2002-02-26 17:48 Rose, Billy
  2002-02-26 17:53 ` Martin Dalecki
                   ` (4 more replies)
  0 siblings, 5 replies; 75+ messages in thread
From: Rose, Billy @ 2002-02-26 17:48 UTC (permalink / raw)
  To: 'Martin Dalecki', Mike Fedyk; +Cc: H. Peter Anvin, linux-kernel

"So the pain for the sysadmin will certainly not be decreased."

My company can tolerate 0% loss of data (which is why I raised this issue).
The sysadmin's pain would be standing in the unemployment line if a file
could not be recovered (which is currently from a heap of tapes that may
take many hours to locate). The issue is not an easier job, but data
integrity. Any sysadmin would state that every user at some point in time
will delete something that is critical. Hell, I've done it myself on my own
workstation after staring at the screen for 15 hours on a Saturday. The
ability to handle situations like a file going "poof" is why my company will
not use Linux on these particular file servers. My aim was to change that by
crushing the only thing holding Netware in my company.

Billy Rose 

-----Original Message-----
From: Martin Dalecki [mailto:dalecki@evision-ventures.com]
Sent: Tuesday, February 26, 2002 10:55 AM
To: Mike Fedyk
Cc: H. Peter Anvin; linux-kernel@vger.kernel.org
Subject: Re: ext3 and undeletion


Mike Fedyk wrote:
> On Tue, Feb 26, 2002 at 05:36:51PM +0100, Martin Dalecki wrote:
> 
>>>True, and it could to tricks like listing space used for undelete as
"free"
>>>in addition to dynamic garbage collection.
>>>
>>>Though, with a daemon checking the dirs often, or using Daniel's idea of
a
>>>socket between unlink() in glibc and an undelete daemon could work quite
>>>similairly.
>>>
>>>Also, there wouldn't be any interaction with filesystem internals, and
>>>userspace would probably work better with non-posix type filesystems
(vfat,
>>>hfs, etc) too.
>>>
>>>IOW, there seems to be little gain to having an kernelspace solution.
>>>
>>>
>>IMNSHO everyone thinking about undeletion in Linux should be
>>sentenced to 1 year of VMS usage and asked then again if he
>>still think's that it's a good idea...
>>
> 
> Can you describe the pitfalls that VMS went through so we can aviod the
> problems?
> 
> I haven't had the chance to use VMS, and don't have any hardware to try it
> out on.  Also, just because one implementation was bad (even long ago, and
> unix was considered bad then too... ;) does it mean the entire idea is
bad.

Yes I can. The main problem is that most people think that undeletion
is a magical way of getting around stiupid users. But the fact is
that the very same users very quickly adapt to the the presence of
undeletion facilities. And guess whot? They will expect you to
instantly recover allways a version of "this" file from the "stone age".
So the pain for the sysadmin will certainly not be decreased. Quite
contrary for what he expects. For the educated user it was always a pain
in the you know where, to constantly run out of quota space due to
file versioning.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 75+ messages in thread
* RE: ext3 and undeletion
@ 2002-03-05 23:04 Rose, Billy
  2002-03-06 20:03 ` Mark Mielke
  2002-03-07 21:30 ` Patrick Lynch
  0 siblings, 2 replies; 75+ messages in thread
From: Rose, Billy @ 2002-03-05 23:04 UTC (permalink / raw)
  To: 'root@chaos.analogic.com', Pavel Machek
  Cc: Andreas Ferber, linux-kernel

To me, Linux is about freedom. As we all know, freedom comes with a price.
My company has users that sit on Win9x boxes and use Explorer to connect to
a set of Netware boxes. These boxes house critical data. I didn't create
this system, it grew to what it is before my time. If it were up to me, all
of the users would be running Emacs or some other great editor (vim is my
favorite), and connect to a Linux machine via CVS with a Linux box to alter
files so there is little chance they could crap out the file system, or
delete files without knowing it. Explorer is one of those M$ monsters that,
under the right circumstances, grabs an entire tree and grinds it up into
the digital void. The users in question are at these moments little more
than automatons from editing hundreds, perhaps even a thousand, files in
some 8 hour span of time. These users don't even have the DOS prompt in
their Start menu, let alone the time to mess with it. Bottom line: Linux is
not being used for file servers in my company because this feature is not
present. We are _not_ talking about a windblows trashcan here, we are
talking about short term enterprise class file recovery as implemented in
Netware. This was my intention when I brought the whole issue up on this
list. We don't need a windows garbage can (unless you mean literally :), we
need file recovery at the sysadmin level without going to the tapes as
often. In order for Linux to take over the planet (my dream), then all of
the features that keep companies tied to an OS needs to be addressed. This
issue is one such company tie.

Billy Rose

P.S. I got 2981.88 BogoMIPS today from a new install of RedHat 7.2 on a P4
1.5Ghz!

-----Original Message-----
From: Richard B. Johnson [mailto:root@chaos.analogic.com]
Sent: Tuesday, March 05, 2002 4:07 PM
To: Pavel Machek
Cc: Andreas Ferber; linux-kernel@vger.kernel.org
Subject: Re: ext3 and undeletion


On Mon, 4 Mar 2002, Pavel Machek wrote:

> Hi
> > > All the deleted files, with the correct path(s), are now in the
> > > top directory file the file-system ../lost+found directory. They
> > > are still owned by the original user, still subject to the same
> > > quota.
> > 
> > And what about:
> > 
> > - Luser rm's "foo.c"
> > - Luser starts working on new version of "foo.c"
> > - Luser recognizes, that the old version was better
> > - Luser rm's new "foo.c"
> > - Luser tries to unrm the old "foo.c" -> *bang*
> > 
> > Trust me, there /will/ be a luser who tries to do it this way. If
> > teaching lusers were enough, you'd have no need for an unrm at all.
> 
> You don't consider me a luser, right?

Nope.

Some newbees think that Windoze 'send-to-the-wastebasket' is a kernel-
level "safe-delete". It's just some ^&$)##*@*) program that slows most
of us down.

Even Windows/Professional/2000 (NT) developers knew that it was
garbage. If you've figured out how to get to the CMD prompt, just
type:

cd \
rm -r *.*
 |  |   |______ They still have dots
 |  |__________ Yes, even "folders" <coff, coff>
 |_____________ What do you expect for a stolen OS? Yes, `rm` instead of
                del, following the Unix pathname tradition.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (799.53 BogoMips).

	Bill Gates? Who?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 75+ messages in thread
* RE: ext3 and undeletion
@ 2002-02-28 10:37 Randal, Phil
  0 siblings, 0 replies; 75+ messages in thread
From: Randal, Phil @ 2002-02-28 10:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List

James D Strandboge wrote:

> However, for unlink there wouldn't be a big I/O problem in getting the
> items into .undelete-- we are just changing links.  It should be
> relatively easy to implement, not very intrusive, should be useful in
> the general case (rm and gui apps) and won't cause the disk 
> to fill up.
> 
> Jamie

That's definitely better than nothing.  Now all we need to do is keep
track of deletion time and which user did the deletion.  Which will
give us the same functionality that NetWare offers.  Last week I had
to salvage hundreds of files from a Netware 5.1 server after a careless
user had deleted a substantial directory tree.  Without being able to
sort by deletion time by job would have been a lot harder.  And yes,
I recovered a lot of files which had been changed since the previous
night's backup.

Cheers,

Phil
---------------------------------------------
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK

^ permalink raw reply	[flat|nested] 75+ messages in thread
* RE: ext3 and undeletion
@ 2002-02-26 18:39 Dana Lacoste
  2002-02-26 18:47 ` Daniel Gryniewicz
  2002-02-26 18:51 ` David Lang
  0 siblings, 2 replies; 75+ messages in thread
From: Dana Lacoste @ 2002-02-26 18:39 UTC (permalink / raw)
  To: 'Andreas Dilger'; +Cc: linux-kernel

> Snapshots at the filesystem level could handle the overwrite case.

We need BitKeeperFS!  It stores the diff'd history of all changes to all
files!

:)

Dana Lacoste
Ottawa, Canada

^ permalink raw reply	[flat|nested] 75+ messages in thread
[parent not found: <fa.n4lfl6v.h4chor@ifi.uio.no>]
* RE: ext3 and undeletion
@ 2002-02-25 16:46 Rose, Billy
  0 siblings, 0 replies; 75+ messages in thread
From: Rose, Billy @ 2002-02-25 16:46 UTC (permalink / raw)
  To: 'Andreas Dilger', linux-kernel

Is there work being done on a filesystem extension that allows admins to
'undelete' files similar to the way Netware does? My company uses Netware
only for that fact, and I would like to see more Linux boxes here. I have
sold them on a couple of webservers and one application server, but they
hold fast to the Netware file servers because loading a backup copy of some
file from tape is not feasable with the amount of data we have (approaching
1T). I have looked across the web and only found this:
http://www.timpanogas.com/
but I don't want a Netware filesystem running on Linux, I want a *native*
Linux filesystem (i.e. ext3) that has the ability to queue deleted files
should I configure it to. Is there such a thing? If not, do you feel it
would be worth developing into the kernel? This would make Linux much more
attractive to Netware houses I believe.

Billy Rose

-----Original Message-----
From: Andreas Dilger [mailto:adilger@turbolabs.com]
Sent: Sunday, February 24, 2002 11:08 PM
To: Steven Walter; linux-kernel@vger.kernel.org
Subject: Re: ext3 and undeletion


On Feb 24, 2002  21:27 -0600, Steven Walter wrote:
> After unintentionally deleting some file, I noticed what appears to be
> an incosistency (or at least a change) in ext3.  Running debugfs and
> executing the command "lsdel", I saw no inodes listed since I last ran
> the partition as ext2.  Does ext3 not add its deleted inodes to whatever
> list ext2 does?  And can this be fixed without compromising the speed or
> data-integrity of ext3?

Known problem.  Apparently difficult to fix, unfortunately.  It's not so
much that ext2 adds deleted inodes to a list, as that it simply marks the
inode "deleted" and doesn't overwrite any of the inode data on the disk.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 75+ messages in thread
* ext3 and undeletion
@ 2002-02-25  3:27 Steven Walter
  2002-02-25  5:08 ` Andreas Dilger
  2002-02-25 10:16 ` Fabrice Bellet
  0 siblings, 2 replies; 75+ messages in thread
From: Steven Walter @ 2002-02-25  3:27 UTC (permalink / raw)
  To: linux-kernel

After unintentionally deleting some file, I noticed what appears to be
an incosistency (or at least a change) in ext3.  Running debugfs and
executing the command "lsdel", I saw no inodes listed since I last ran
the partition as ext2.  Does ext3 not add its deleted inodes to whatever
list ext2 does?  And can this be fixed without compromising the speed or
data-integrity of ext3?
-- 
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell
He's alive.  He's alive!  Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
			-- Montgomery C. Burns

^ permalink raw reply	[flat|nested] 75+ messages in thread

end of thread, other threads:[~2002-03-07 21:32 UTC | newest]

Thread overview: 75+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-26 17:48 ext3 and undeletion Rose, Billy
2002-02-26 17:53 ` Martin Dalecki
2002-02-26 18:03   ` Mike Fedyk
2002-02-26 17:56 ` Rik van Riel
2002-02-26 19:41   ` Andreas Dilger
2002-02-26 18:00 ` H. Peter Anvin
2002-02-26 18:15   ` Andreas Dilger
2002-02-26 18:23     ` Jakob Østergaard
2002-02-26 18:19   ` David Lang
2002-02-26 18:29 ` Andreas Ferber
2002-02-27 21:00 ` James D Strandboge
2002-02-27 21:40   ` Alan Cox
2002-02-27 22:16     ` James D Strandboge
2002-02-27 22:33       ` Alan Cox
2002-02-27 23:03         ` James D Strandboge
2002-02-28  0:29           ` James D Strandboge
2002-03-04  2:17         ` Mike Fedyk
2002-03-04 15:12           ` Alan Cox
2002-03-04 15:33             ` Mike Fedyk
2002-03-04 19:17             ` James D Strandboge
2002-03-04 20:08               ` Jesse Pollard
2002-03-02 17:36   ` Pablo Alcaraz
  -- strict thread matches above, loose matches on Subject: below --
2002-03-05 23:04 Rose, Billy
2002-03-06 20:03 ` Mark Mielke
2002-03-07 21:30 ` Patrick Lynch
2002-02-28 10:37 Randal, Phil
2002-02-26 18:39 Dana Lacoste
2002-02-26 18:47 ` Daniel Gryniewicz
2002-02-26 18:51 ` David Lang
     [not found] <fa.n4lfl6v.h4chor@ifi.uio.no>
2002-02-25 17:06 ` Dan Maas
2002-02-25 17:20   ` Mike Fedyk
2002-02-25 23:33     ` Tom Rauschenbach
2002-02-26  0:27       ` Bernd Eckenfels
2002-02-26  5:53       ` H. Peter Anvin
2002-02-26 16:05         ` Mike Fedyk
2002-02-26 16:31           ` H. Peter Anvin
2002-02-26 16:40             ` Mike Fedyk
2002-02-26 16:55               ` H. Peter Anvin
2002-02-26 17:12                 ` Mike Fedyk
2002-02-26 16:36           ` Martin Dalecki
2002-02-26 16:43             ` Mike Fedyk
2002-02-26 16:54               ` Martin Dalecki
2002-02-26 17:05                 ` Mike Fedyk
2002-02-26 17:07                   ` Martin Dalecki
2002-02-26 17:16                     ` Mike Fedyk
2002-02-26 17:22                       ` Rik van Riel
2002-02-26 17:38                         ` Mike Fedyk
2002-02-26 18:14                           ` Andreas Ferber
2002-02-26 18:55                             ` Andreas Dilger
2002-02-26 22:04                           ` Mike Fedyk
2002-02-26 18:34                       ` Richard B. Johnson
2002-02-26 18:34                         ` H. Peter Anvin
2002-02-26 18:47                           ` Richard B. Johnson
2002-02-26 18:52                         ` Andreas Dilger
2002-02-28 15:05                         ` Andreas Ferber
2002-02-28 22:37                           ` Andreas Dilger
2002-02-28 22:55                           ` James D Strandboge
2002-03-01  4:44                           ` Mike Fedyk
2002-03-04 16:26                           ` Pavel Machek
2002-03-05 21:29                             ` Andreas Ferber
2002-03-06 11:30                               ` Pavel Machek
2002-03-05 22:07                             ` Richard B. Johnson
2002-02-26 17:22                     ` Mike Fedyk
2002-03-01  0:19                       ` Rick Lindsley
2002-03-01  1:02                         ` Andreas Dilger
2002-02-26 17:54                   ` Andreas Dilger
2002-02-26 18:24                 ` Alan Cox
2002-03-04 15:40     ` Pavel Machek
2002-02-25 18:08   ` Richard B. Johnson
2002-02-25 18:40     ` Mike Fedyk
2002-02-25 19:49       ` Andreas Dilger
2002-02-25 16:46 Rose, Billy
2002-02-25  3:27 Steven Walter
2002-02-25  5:08 ` Andreas Dilger
2002-02-25 10:16 ` Fabrice Bellet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox