12-08-2007
Hi.
Depending on how valuable your data is, you might want to try the utility below. Several postings elsewhere claim to have had success with recovering deleted partitions. I don't know if your additional actions have made that impossible. It will likely be impossible if you did format the new partition.
Back up your data, and try it if you cannot recreate the data that was destroyed -- what do you have to lose, except some time?
The backup is important in case something else goes wrong (and, in any event, you will likely now do backups as a matter of course).
Best wishes, good luck, let us know whether it was a success or a failure ... cheers, drl
TestDisk - CGSecurity
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hardware:
IBM 300PL
32MB RAM
60Gig HDD
During the phase in SCO installation where I get to partition my hard disk, SCO only seems to see 8Gig out of the 60 that I have.
Does anyone out there know of a utility or what I need to do to make the the whole 60Gig available.
Thanks (3 Replies)
Discussion started by: budrito
3 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to delete my red hat partitions so I can restructure my computer's hard drive. I want to delete the Boot, /, and Swapspace partitions so I can rearrange my drive and install some other systems. In partition magic when I attempt to delete the Ext3 partitions, it reads as not being able to... (4 Replies)
Discussion started by: djtrippin
4 Replies
3. UNIX for Dummies Questions & Answers
I have a disk formatted as follows.
Part Flag Tag Cylinders Size
===================================================
0 wm root 0 - 38125 26.18 Gb
1 wu swap 38126 - 49776 8 Gb
2 wm backup 0 - 49779 34.18 Gb
3 wm unassigned
4 wm unassigned
5 wm unassigned
6 wm unassigned... (1 Reply)
Discussion started by: jimthompson
1 Replies
4. Filesystems, Disks and Memory
I am using RHEL4 OS and the problem i have is that when i try to umount an LVM implemented partition after checking the properties of the mounted folder it gives the error of device busy .
things iam not doing : iam not in the mounted woulder either by shell or by GUI.
thing iam not trying do... (4 Replies)
Discussion started by: Tahir Saleh
4 Replies
5. UNIX for Dummies Questions & Answers
I am using a PowerBook G4 with OS X 10.4.11. While modifying permissions using the Finder Info window on what I thought was a folder on a data partition, I inadvertently changed the permissions for the entire partition instead of the folder. Now I cannot access that partition nor any folders or... (3 Replies)
Discussion started by: bunky6767
3 Replies
6. Linux
hi friends
one week ago, i have installed fedoa 9 on my home pc.
i already have windows xp on that machine.
unfortunately my windows xp has corrupted.
again i want to install windows xp but it is not installing.
will i format my linux partition or some other option is there.
please help me... (0 Replies)
Discussion started by: praneshmishra08
0 Replies
7. Solaris
Hi All,
First post, I work as database developer (Oracle)
My task is to setup a solaris system on a VMware installation which sits on a x86 server.
I have installed the Os, applied patches (I think) and on VMWARE I added new hardware (Disk) which is where my database will be.
The... (5 Replies)
Discussion started by: platforminc
5 Replies
8. AIX
We had a mirrored disk failed (not the rootvg), there are 3 lvs (transfer, applogs, arch) from extvg gone open/stale state.
After replaced failed disk and run cfgmgr, the new replaced disk is visible:
)
I did the following to re-mirror new disk:
# extendvg prodvg hdisk3
# lspv (got new pvid on... (2 Replies)
Discussion started by: jalite19
2 Replies
9. Filesystems, Disks and Memory
Hi!
I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size of about 4GB, after accidently formatting it, I accidently rewrote Grub on it :wall: I hope I didn't... (3 Replies)
Discussion started by: al0x
3 Replies
10. Red Hat
hi
I created a new partition
ls -l /dev/sda*
brw-rw---- 1 root disk 8, 0 Oct 21 12:29 /dev/sda
brw-rw---- 1 root disk 8, 1 Oct 12 11:19 /dev/sda1
brw-rw---- 1 root disk 8, 10 Oct 21 13:50 /dev/sda10
brw-rw---- 1 root disk 8, 2 Oct 12 11:19 /dev/sda2
brw-rw---- 1 root disk 8, 3 Oct... (3 Replies)
Discussion started by: mnnn
3 Replies
LEARN ABOUT SUSE
resize2fs
RESIZE2FS(8) System Manager's Manual RESIZE2FS(8)
NAME
resize2fs - ext2/ext3/ext4 file system resizer
SYNOPSIS
resize2fs [ -fFpPM ] [ -d debug-flags ] [ -S RAID-stride ] device [ size ]
DESCRIPTION
The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located
on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line
resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 only.).
The size parameter specifies the requested new size of the filesystem. If no units are specified, the units of the size parameter shall be
the filesystem blocksize of the filesystem. Optionally, the size parameter may be suffixed by one of the following the units designators:
's', 'K', 'M', or 'G', for 512 byte sectors, kilobytes, megabytes, or gigabytes, respectively. The size of the filesystem may never be
larger than the size of the partition. If size parameter is not specified, it will default to the size of the partition.
The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a filesystem, you must make sure you can expand
the size of the underlying partition first. This can be done using fdisk(8) by deleting the partition and recreating it with a larger size
or using lvextend(8), if you're using the logical volume manager lvm(8). When recreating the partition, make sure you create it with the
same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.
After running fdisk(8), run resize2fs to resize the ext2 filesystem to use all of the space in the newly enlarged partition.
If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of filesystem. Then you may use fdisk(8) to shrink the
size of the partition. When shrinking the size of the partition, make sure you do not make it smaller than the new size of the ext2
filesystem!
OPTIONS
-d debug-flags
Turns on various resize2fs debugging features, if they have been compiled into the binary. debug-flags should be computed by adding
the numbers of the desired features from the following list:
2 - Debug block relocations
4 - Debug inode relocations
8 - Debug moving the inode table
-f Forces resize2fs to proceed with the filesystem resize operation, overriding some safety checks which resize2fs normally enforces.
-F Flush the filesystem device's buffer caches before beginning. Only really useful for doing resize2fs time trials.
-M Shrink the filesystem to the minimum size.
-p Prints out a percentage completion bars for each resize2fs operation, so that the user can keep track of what the program is doing.
-P Print the minimum size of the filesystem and exit.
-S RAID-stride
The resize2fs program will heuristically determine the RAID stride that was specified when the filesystem was created. This option
allows the user to explicitly specify a RAID stride setting to be used by resize2fs instead.
KNOWN BUGS
The minimum size of the filesystem as estimated by resize2fs may be incorrect, especially for filesystems with 1k and 2k blocksizes.
AUTHOR
resize2fs was written by Theodore Ts'o <tytso@mit.edu>.
COPYRIGHT
Resize2fs is Copyright 1998 by Theodore Ts'o and PowerQuest, Inc. All rights reserved. As of April, 2000 Resize2fs may be redistributed
under the terms of the GPL.
SEE ALSO
fdisk(8), e2fsck(8), mke2fs(8), lvm(8), lvextend(8)
E2fsprogs version 1.41.11 March 2010 RESIZE2FS(8)