E2UNDO(8) System Manager's Manual E2UNDO(8)NAME
e2undo - Replay an undo log for an ext2/ext3/ext4 filesystem
SYNOPSIS
e2undo [ -f ] [ -h ] [ -n ] [ -o offset ] [ -v ] [ -z undo_file ] undo_log device
DESCRIPTION
e2undo will replay the undo log undo_log for an ext2/ext3/ext4 filesystem found on device. This can be used to undo a failed operation by
an e2fsprogs program.
OPTIONS -f Normally, e2undo will check the filesystem superblock to make sure the undo log matches with the filesystem on the device. If they
do not match, e2undo will refuse to apply the undo log as a safety mechanism. The -f option disables this safety mechanism.
-h Display a usage message.
-n Dry-run; do not actually write blocks back to the filesystem.
-o offset
Specify the filesystem's offset (in bytes) from the beginning of the device or file.
-v Report which block we're currently replaying.
-z undo_file
Before overwriting a file system block, write the old contents of the block to an undo file. This undo file can be used with
e2undo(8) to restore the old contents of the file system should something go wrong. If the empty string is passed as the undo_file
argument, the undo file will be written to a file named e2undo-device.e2undo in the directory specified via the E2FSPROGS_UNDO_DIR
environment variable.
WARNING: The undo file cannot be used to recover from a power or system crash.
AUTHOR
e2undo was written by Aneesh Kumar K.V. (aneesh.kumar@linux.vnet.ibm.com)
AVAILABILITY
e2undo is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO mke2fs(8), tune2fs(8)E2fsprogs version 1.44.1 March 2018 E2UNDO(8)
Check Out this Related Man Page
E2UNDO(8) System Manager's Manual E2UNDO(8)NAME
e2undo - Replay an undo log for an ext2/ext3/ext4 filesystem
SYNOPSIS
e2undo [ -f ] [ -h ] [ -n ] [ -o offset ] [ -v ] [ -z undo_file ] undo_log device
DESCRIPTION
e2undo will replay the undo log undo_log for an ext2/ext3/ext4 filesystem found on device. This can be used to undo a failed operation by
an e2fsprogs program.
OPTIONS -f Normally, e2undo will check the filesystem superblock to make sure the undo log matches with the filesystem on the device. If they
do not match, e2undo will refuse to apply the undo log as a safety mechanism. The -f option disables this safety mechanism.
-h Display a usage message.
-n Dry-run; do not actually write blocks back to the filesystem.
-o offset
Specify the filesystem's offset (in bytes) from the beginning of the device or file.
-v Report which block we're currently replaying.
-z undo_file
Before overwriting a file system block, write the old contents of the block to an undo file. This undo file can be used with
e2undo(8) to restore the old contents of the file system should something go wrong. If the empty string is passed as the undo_file
argument, the undo file will be written to a file named e2undo-device.e2undo in the directory specified via the E2FSPROGS_UNDO_DIR
environment variable.
WARNING: The undo file cannot be used to recover from a power or system crash.
AUTHOR
e2undo was written by Aneesh Kumar K.V. (aneesh.kumar@linux.vnet.ibm.com)
AVAILABILITY
e2undo is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO mke2fs(8), tune2fs(8)E2fsprogs version 1.44.1 March 2018 E2UNDO(8)
I am very new to the world of Unix, in the middle of a crash course as I write this due to a system failure for my company. This system went down approximately 24 hours ago due to some apparent thunderstorms that passed through. The problem is that my company, like many others, has laid off... (5 Replies)
As i'm sure you all know, ext2 (and then ext3) is the most widely used linux fs... but some distros (SUSE & Debian) are now chosing to either use by default, or at least give the option of using ReiserFS.
What is it about ReiserFS that's so great exactly? I understand that it has a limitless... (6 Replies)
Hi all,
I was installing linux, so i want to know the basic difference between /ext2 and /ext3 filetype..
what is the significance of using /ext2 and /ext3
pls clarify
Thanks
Vasikaran (2 Replies)
I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get.
www# fsck /dev/ad0s1e
** /dev/ad0s1e
BAD SUPER... (4 Replies)
Hi,
How can I undo installation of a package on AIX 4.3 properly?
It's an install script. On linux, I usually just kill the process and delete from disk with this command "find .... exec rm -r {}\;". And it usually works. Can I do the same with AIX 4.3?
Thanks,
Itik (2 Replies)
Hi
I had deleted important files from my company server :(
the server is HPUX
and i don't know how to undo rm command or how to restore the files ..
iam appreciate for any help
Thanx ... (5 Replies)
The title is clear: why does ext3 allocate 8 blocks for files that are few bytes long?
If I create a file named "test", put a few chars in it, and then I run:
stat test
I get that "Blocks: 8"
I searched in the web and found that ext does that, it allocates 8 blocks even if It doesn't need... (4 Replies)
Hi All,
I'm a newbie to system administration, I'd like to know how to check the logs (what update was installed last) , and I'd like to know how to undo the last update on the fedora 9 system ( kindof an equivalent to system restore in windows).
I have a HP 22 inch monitor, when I installed... (3 Replies)
Gidday,
Are you using ext4 for production system? Or is it better to opt for a more
conservative strategy, like ext3 for instance?
What are your experiences?
Thanks in advance,
Loïc. (3 Replies)
hi all
after going through ext3 file system , i understood that data resolution for ext3 FS is 1 second...can i increase it 2 second...? any idea..? (3 Replies)
Hi. Newbie here....so Unix for Dummies question for sure.
I was compiling a piece of software and having problems and somebody suggested:
sudo ln -s /usr/X11 /usr/X11R6
Didn't work. How do I undo this?
I am on a Mac OS X snow leopard. I figure it is something with the unlink command... (7 Replies)
Hello!
I am in a weird problem of not able to set quota on an ext4 file system. I have setup a logical volume on which this ext4 filesystem resides. It's going to be used by an application for dumping data. But we want to setup quota so that it does not consume all the free space of the lv. The... (5 Replies)
marching into the new version of RHEL 6.0...
other than ext4 and /boot can be ext4 and "/" root filesystem can be encrypted...I can't see much more new features that are quite significant and practical than RHEL 5.0, kernel is still 2.6.18.xxxx
I wonder if it has newer tools to manage... (4 Replies)