11-10-2018
Before we proceed, we need to know what filesystem you are using.
So, please let us know the filesystem (ext2, ext2, etc) you are using on /dev/xvda2
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a Unix tool, like in Novell, to recover accidentally deleted files? (2 Replies)
Discussion started by: kuultak
2 Replies
2. AIX
How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies
3. Linux
I'm running Fedora Core4. I deleted images off of my Sony DSC-P73 digital camera's memory stick.
I'm looking for a *nix tool to recover the photos from the memory stick. Does anyone know of such a tool? (2 Replies)
Discussion started by: dangral
2 Replies
4. Shell Programming and Scripting
Hi All,
I just mistakingly deleted some files using rm command.Is there a way to get it back?i work on Solaris 10
Thanks,
Kumar (1 Reply)
Discussion started by: kumarsaravana_s
1 Replies
5. UNIX for Dummies Questions & Answers
Hi Experts,
by mistake i deleted some files that are very important to the project.
is there any way that i can recover those files,there is no backup for that but the details of the file we know.
This will be a great help.
Thanks (5 Replies)
Discussion started by: namishtiwari
5 Replies
6. Shell Programming and Scripting
Hi,
By mistake, executed the following command :
rm -rf *
and ALL files got deleted.
But I need to get back these files as they are very very important.
Please help me how to recover this file. Its Urgent for me please.
Thanks in advance. (6 Replies)
Discussion started by: unx100
6 Replies
7. Red Hat
Hi,
I am working Linux server machine. Somebody by mistake(or may be knowingly) deleted few folders and files from the machine. How is this possible to recover those files and folders????:confused:
I normally logged in through Putty and winscp only. And don't have any history for putty... (8 Replies)
Discussion started by: pamu
8 Replies
8. UNIX for Advanced & Expert Users
hi,
i deleted one file from linux
please let me know, if we can recover it ? if yes, pls let me know the steps to do.. (3 Replies)
Discussion started by: raghur77
3 Replies
FSADM(8) FSADM(8)
NAME
fsadm - utility to resize or check filesystem on a device
SYNOPSIS
fsadm [options] check device
fsadm [options] resize device [new_size[BKMGTEP]]
DESCRIPTION
fsadm utility checks or resizes the filesystem on a device. It tries to use the same API for ext2, ext3, ext4, ReiserFS and XFS filesys-
tem.
OPTIONS
-e, --ext-offline
Unmount ext2/ext3/ext4 filesystem before doing resize.
-f, --force
Bypass some sanity checks.
-h, --help
Display the help text.
-n, --dry-run
Print commands without running them.
-v, --verbose
Be more verbose.
-y, --yes
Answer "yes" at any prompts.
new_size
Absolute number of filesystem blocks to be in the filesystem, or an absolute size using a suffix (in powers of 1024). If new_size
is not supplied, the whole device is used.
DIAGNOSTICS
On successful completion, the status code is 0. A status code of 2 indicates the operation was interrupted by the user. A status code of
3 indicates the requested check operation could not be performed because the filesystem is mounted and does not support an online fsck(8).
A status code of 1 is used for other failures.
EXAMPLES
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes. If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be
unmounted prior the resize. All [y|n] questions will be answered 'y'.
fsadm -e -y resize /dev/vg/test 1000M
ENVIRONMENT VARIABLES
TMPDIR The temporary directory name for mount points. Defaults to "/tmp".
DM_DEV_DIR
The device directory name. Defaults to "/dev" and must be an absolute path.
SEE ALSO
lvm(8), lvresize(8), lvm.conf(5), fsck(8), tune2fs(8), resize2fs(8), reiserfstune(8), resize_reiserfs(8), xfs_info(8), xfs_growfs(8),
xfs_check(8)
Red Hat, Inc LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) FSADM(8)