https://bugzilla.novell.com/show_bug.cgi?id=430486
User doiggl@velocitynet.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=430486#c5
Glenn Doig changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
--- Comment #5 from Glenn Doig 2008-12-04 06:01:50 MST ---
Here is an update on what was done.
The missing data partion was found and fixed with the help of testdisk
application
Details of how it was done:
===========================
Im am trying to recover a reiser data partition,
First some details:
- The data in question is on the disk(dev/sdc1) as indicated by #fdisk -l
(below)
- The data is on one big reiserfs partition on this disk it takes up the whole
disk and it is located on a extended partition in the disk.
- The disk itself (/dev/sdc1) has not been touched since this installation. I
know the data is there I just cannot get to it.
- The disk itself (/dev/sdc1) has 1 big reiserfs partition which is on a
extended partition. [its was not originally a primary partition].
- The operating system (I use Opensuse 11.1 beta5 64 bit)boots from a different
disk.
Device Boot Start End Blocks Id System
/dev/sdc1 2 91201 732564000 f W95 Ext'd (LBA)
- This partition is on a seperate disk to the operating system and takes the
entire disk.
- It was a Extended partition.
- When I realized the partition went missing it first showed this info below
then for some reason it went totally blank.
Device Boot Start End Blocks Id System
/dev/sdc1 2 91201 732564000 f W95 Ext'd (LBA)
- Fdisk -l -u now shows its blank [But I know it does have data on it]
# fdisk -l -u /dev/sdb
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000ddf82
Device Boot Start End Blocks Id System
---------------------------------------------------------------------
Steps I did.
===================
1. Make backup of disk that has the missing partition to another disk using the
linux dd utility. Source=/dev/sdb target=/dev/sdc
The target disk is larger than the source disk.
# dd if=/dev/sdb of=/dev/sdc bs=1024k
[This step took about 40hours ~5M/B sec copy speed to a target external usb
disk ]
2. This is what testdisk shows on /dev/sdb (see below)
[Partial file listing at the end]
Mon Nov 17 23:56:14 2008
Command line: TestDisk
TestDisk 6.10, Data Recovery Utility, July 2008
Christophe GRENIER
http://www.cgsecurity.org
OS: Linux, kernel 2.6.27.5-2-default (#1 SMP 2008-11-11 15:15:33 +0100)
Compiler: GCC 3.4 - Jul 17 2008 09:51:30
ext2fs lib: 1.35, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20080501
Warning: can't get size for /dev/mapper/control
Fix disk size using CHS
Warning: can't get size for /dev/md0
Fix disk size using CHS
Warning: can't get size for /dev/md1
Fix disk size using CHS
Warning: can't get size for /dev/md2
Fix disk size using CHS
Warning: can't get size for /dev/md3
Fix disk size using CHS
Warning: can't get size for /dev/md4
Fix disk size using CHS
Warning: can't get size for /dev/md5
Fix disk size using CHS
Warning: can't get size for /dev/md6
Fix disk size using CHS
Warning: can't get size for /dev/md7
Fix disk size using CHS
Warning: can't get size for /dev/md8
Fix disk size using CHS
Warning: can't get size for /dev/md9
Hard disk list
Disk /dev/sdb - 750 GB / 698 GiB - CHS 91201 255 63, sector size=512 - ATA
ST3750640AS
Partition table type (auto): Intel
Disk /dev/sdb - 750 GB / 698 GiB - ATA ST3750640AS
Partition table type: Intel
Analyse Disk /dev/sdb - 750 GB / 698 GiB - CHS 91201 255 63
Current partition structure:
No partition is bootable
Error: Couldn't find stat data of directory /../.
Ask the user for vista mode
Allow partial last cylinder : No
search_vista_part: 0
search_part()
Disk /dev/sdb - 750 GB / 698 GiB - CHS 91201 255 63
ReiserFS Marker at 0/1/1
recover_rfs
block_count=183142992
block_size=4096
D Linux 0 1 1 91200 253 60 1465143936
ReiserFS 3.6 with standard journal, 750 GB / 698 GiB
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Results
* Linux 0 1 1 91200 254 63 1465144002
ReiserFS 3.6 with standard journal, 750 GB / 698 GiB
dir_partition inode=2
* Linux 0 1 1 91200 254 63 1465144002
ReiserFS 3.6 with standard journal, 750 GB / 698 GiB
Directory /
2 drw-rw-rw- 0 0 16400 25-Sep-2008 06:45 .
26798 drwxr-xr-x 0 0 248 5-Jun-2006 00:13 c
726742 -rwx------ 0 0 166 5-Jun-2008 15:37 j
766538 drwxr-xr-x 0 0 48 31-Mar-2008 23:04 r
32794 drwxr-xr-x 0 0 312 23-Jun-2006 00:26 f5
25738 drwxr-xr-x 0 0 832 22-Jan-2007 23:07 av
724661 drwxr-xr-x 0 0 80 15-Jun-2008 14:22 bt
121013 drwxr-xr-x 0 0 48 16-Sep-2008 20:31 dl
761176 drwxr-xr-x 0 0 368 3-Sep-2008 23:15 ff
761182 drwxr-xr-x 0 0 96 4-Jun-2008 00:27 fp
interface_write()
1 * Linux 0 1 1 91200 254 63 1465144002
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
TestDisk exited normally.
To recover the partition
Two steps were enough: this was done on the text disk first then the original
disk /dev/sdc
- After Analyse and Quick Search, choose Write, confirm, quit
- reboot.
#fdisk -l now shows
Disk /dev/sdc: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ddf82
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 91201 732572001 83 Linux
I restarted the pc, then remounted the disk, and the partition is back and data
is all ok.
Tools used testdisk-6.10-1
Url: http://www.cgsecurity.org/wiki/TestDisk
Rpm: http://www.cgsecurity.org/testdisk-6.10-1.i386.rpm
Thanks to the TestDisk Team http://www.cgsecurity.org/wiki/TestDisk_Team
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.