reiserfs resizing - partition sadly dissapeared. Help

  • Thread starter Thread starter andreas
  • Start date Start date
A

andreas

Hi all
I tried to resize (make smaller) a reiserfs (linux) partition usin
Suse's yast partitioner

Now I can not mount it, utilities such as debugreiserfs cant se
a partition there, where reiserfsck tries but can't succeed
Of course data is there because I can see it using gre
(grep -a -B2 -A200 "Hi mum" /dev/hdb8

The partition's data occupies about 18.5G
The partition used to occupy about 37G
The hard disk is about 39.5 Gb and there are three mor
partitions there an ext2 of a few megabytes (at the beginning
think
a linux swap of 1Gb and a fat32 of 1Gb
The last one is the reiserfs partition. Before resizing it used t
occupy untill the end of the disk. Until I resized it to 18.5 Gb

i have run partition magic on it. the errors are listed in thi
file here (too long to post it)
http://www.soi.city.ac.uk/~livantes/pm.tx

I ran findpart on the disk (after the resizing) with the followin
results
(the same file but with preserved tabs/spaces is here
http://www.soi.city.ac.uk/~livantes/all.txt

Findpart, version 4.67 - for Windows 95/98/ME/NT/2000/XP
Copyright Svend Olaf Mikkelsen, 1999-2005

OS: Windows 5.1.2600 Service Pack

Disk: 2 Cylinders: 5005 Heads: 255 Sectors: 63
MB: 3926

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CH
0 - 83 63 7164927 3498 0 1 1 445 254 63 B5 3 O
0+1 83 63 32004 15 0 2 1 31 13 63 OK N
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 --- N
0+- 83 63 32004 15 0 2 1 1 254 63 B0 O
2 1 82 63 2056257 1004 2 1 1 129 254 63 O
2 2 05 2088387 2104515 1027 130 0 1 260 254 63 --- O
130 1 0B 63 2104452 1027 130 1 1 260 254 63 NB O
130 2 05 4192902 76212360 37213 261 0 1 5004*254 63 --- O
130+- 0B 0 2104452 1027 130 1 1 260 254 63 B O
261 1 83 63 76212297 372[13 261 1 1 5004*254 63 NB
O

-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataM
130 1 33 2052 4 2 2052 0 0 0 050923

Partitions according to partition tables on second harddisk

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CH
0 1*0F 63 80405262 39260 0 1 1 1023 15 63 N
0 1 1 5004 25
63 Actua

0+1 83 63 32004 15 0 2 1 31 13 63 OK N
0 2 1 1 254 6
Actua
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 N
2 0 63 12
254 63 Actua

2+1 82 1 2056257 1004 31 15 1 1023 15 63 N
2 1 1 129 25
63 Actua
2+2 05 2088449 2104453 1027 1023 15 63 1023 15 63 N
130 0 63 26
254 63 Actua

130+1 0B 1 2104452 1027 1023 15 63 1023 15 63 NB N
130 1 1 26
254 63 Actua
130+2 05 4193279 39345202 19211 1023 15 63 1023 15 63 N
261 5 6
2710 37 63 Actua

261+1 83 1 39345201 19211 1023 15 63 1023 15 63 NB N
261 6 1 271
37 63 Actua

I am trying to understand the output of findpart but it takes time
in the meantime if anyone can help me on how to restore back tha
partition..
thanks in advance
andrea

islaind

a

yahoo co uk[/url
 
I suggest you use Partition Table Doctor to resolve your
problem.The software provides very useful functions:
Backup partition table, Restore partition table, Rebuild
partition table, undelete partition, Fix boot sector,
rebuild mbr,etc.

First thing I recommend you download the demo version of
Partition Table Doctor.( http://www.ptdd.com/download.htm )

Run the program and select "Rebuild Partition Table",
then choose "Interactive" mode.

See more: http://www.ptdd.com/recoverylostpartition.htm
http://www.ptdd.com/recoverdeletedpartition.htm
http://www.ptdd.com/partition-recovery.htm
http://www.ptdd.com
 
andreas said:
Hi all,
I tried to resize (make smaller) a reiserfs (linux) partition using
Suse's yast partitioner.

Now I can not mount it, utilities such as debugreiserfs cant see
a partition there, where reiserfsck tries but can't succeed.
Of course data is there because I can see it using grep
(grep -a -B2 -A200 "Hi mum" /dev/hdb8)

The partition's data occupies about 18.5Gb
The partition used to occupy about 37Gb
The hard disk is about 39.5 Gb and there are three more
partitions there an ext2 of a few megabytes (at the beginning i think)
a linux swap of 1Gb and a fat32 of 1Gb.
The last one is the reiserfs partition. Before resizing it used to
occupy untill the end of the disk. Until I resized it to 18.5 Gb.

i have run partition magic on it. the errors are listed in this
file here (too long to post it):
http://www.soi.city.ac.uk/~livantes/pm.txt

And completely unreadable too. That's not how it is originally displayed.
Do a proper redirect of that output.
If necessary, load it in the MS-DOS editor and save it.
I ran findpart on the disk (after the resizing) with the following results:
(the same file but with preserved tabs/spaces is here:

What tabs. There are no tabs in findpart output.

Then why not insert it here.
Do you think that people on dial-up will go online for you again
just because you couldn't be bothered to do your homework?
Findpart, version 4.67 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 1999-2005.

OS: Windows 5.1.2600 Service Pack 1

Disk: 2 Cylinders: 5005 Heads: 255 Sectors: 63
MB: 39260

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 - 83 63 7164927 3498 0 1 1 445 254 63 B5 3 OK
0+1 83 63 32004 15 0 2 1 31 13 63 OK NB
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 --- NB
0+- 83 63 32004 15 0 2 1 1 254 63 B0 OK
2 1 82 63 2056257 1004 2 1 1 129 254 63 OK
2 2 05 2088387 2104515 1027 130 0 1 260 254 63 --- OK
130 1 0B 63 2104452 1027 130 1 1 260 254 63 NB OK
130 2 05 4192902 76212360 37213 261 0 1 5004*254 63 --- OK
130+- 0B 0 2104452 1027 130 1 1 260 254 63 B OK
261 1 83 63 76212297 372[13 261 1 1 5004*254 63 NB
OK

-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataMB
130 1 33 2052 4 2 2052 0 0 0 050923 0

Partitions according to partition tables on second harddisk:

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 1*0F 63 80405262 39260 0 1 1 1023 15 63 NB
0 1 1 5004 254
63 Actual

0+1 83 63 32004 15 0 2 1 31 13 63 OK NB
0 2 1 1 254 63
Actual
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 NB
2 0 63 129
254 63 Actual

2+1 82 1 2056257 1004 31 15 1 1023 15 63 NB
2 1 1 129 254
63 Actual
2+2 05 2088449 2104453 1027 1023 15 63 1023 15 63 NB
130 0 63 260
254 63 Actual

130+1 0B 1 2104452 1027 1023 15 63 1023 15 63 NB NB
130 1 1 260
254 63 Actual
130+2 05 4193279 39345202 19211 1023 15 63 1023 15 63 NB
261 5 63
2710 37 63 Actual

261+1 83 1 39345201 19211 1023 15 63 1023 15 63 NB NB
261 6 1 2710
37 63 Actual

That's completely unreadable, even with fixed spaced font.
Try again, and do your homework this time and set your auto
linebreak to a decent length.
I am trying to understand the output of findpart but it takes time - in
the meantime if anyone can help me on how to restore back that partition...
thanks in advance,
andreas


islaind

at

yahoo co uk[/url]
 
Previously andreas said:
Hi all,
I tried to resize (make smaller) a reiserfs (linux) partition using
Suse's yast partitioner.
Now I can not mount it, utilities such as debugreiserfs cant see
a partition there, where reiserfsck tries but can't succeed.
Of course data is there because I can see it using grep
(grep -a -B2 -A200 "Hi mum" /dev/hdb8)

That does not mean that there is a filesystem left. Indeed it
seems there is not.

I am not familiar with newer versions of Yast. Does it claim
it can resize a partition without data loss?

Some suggestions:

1. If the data on the parttition is important to you, make an image
backup (Essential cat /dev/hdb > <file>) of the disk now, before
messing around with it.
2. What does GNU parted say? It can resize resierfs (at least when
the resierfs libraries are available).
Try to print the partitions with it and check hdb8.
3. What does fdisk -l /dev/hdb say?

Arno
The partition's data occupies about 18.5Gb
The partition used to occupy about 37Gb
The hard disk is about 39.5 Gb and there are three more
partitions there an ext2 of a few megabytes (at the beginning i
think)
a linux swap of 1Gb and a fat32 of 1Gb.
The last one is the reiserfs partition. Before resizing it used to
occupy untill the end of the disk. Until I resized it to 18.5 Gb.
i have run partition magic on it. the errors are listed in this
file here (too long to post it):
http://www.soi.city.ac.uk/~livantes/pm.txt
I ran findpart on the disk (after the resizing) with the following
results:
(the same file but with preserved tabs/spaces is here:
http://www.soi.city.ac.uk/~livantes/all.txt)

Findpart, version 4.67 - for Windows 95/98/ME/NT/2000/XP.
Copyright Svend Olaf Mikkelsen, 1999-2005.
OS: Windows 5.1.2600 Service Pack 1
Disk: 2 Cylinders: 5005 Heads: 255 Sectors: 63
MB: 39260
-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 - 83 63 7164927 3498 0 1 1 445 254 63 B5 3 OK
0+1 83 63 32004 15 0 2 1 31 13 63 OK NB
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 --- NB
0+- 83 63 32004 15 0 2 1 1 254 63 B0 OK
2 1 82 63 2056257 1004 2 1 1 129 254 63 OK
2 2 05 2088387 2104515 1027 130 0 1 260 254 63 --- OK
130 1 0B 63 2104452 1027 130 1 1 260 254 63 NB OK
130 2 05 4192902 76212360 37213 261 0 1 5004*254 63 --- OK
130+- 0B 0 2104452 1027 130 1 1 260 254 63 B OK
261 1 83 63 76212297 372[13 261 1 1 5004*254 63 NB
OK
-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataMB
130 1 33 2052 4 2 2052 0 0 0 050923 0
Partitions according to partition tables on second harddisk:
-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 1*0F 63 80405262 39260 0 1 1 1023 15 63 NB
0 1 1 5004 254
63 Actual
0+1 83 63 32004 15 0 2 1 31 13 63 OK NB
0 2 1 1 254 63
Actual
0+2 05 32129 2056258 1004 31 14 63 1023 15 63 NB
2 0 63 129
254 63 Actual
2+1 82 1 2056257 1004 31 15 1 1023 15 63 NB
2 1 1 129 254
63 Actual
2+2 05 2088449 2104453 1027 1023 15 63 1023 15 63 NB
130 0 63 260
254 63 Actual
130+1 0B 1 2104452 1027 1023 15 63 1023 15 63 NB NB
130 1 1 260
254 63 Actual
130+2 05 4193279 39345202 19211 1023 15 63 1023 15 63 NB
261 5 63
2710 37 63 Actual
261+1 83 1 39345201 19211 1023 15 63 1023 15 63 NB NB
261 6 1 2710
37 63 Actual

I am trying to understand the output of findpart but it takes time -
in the meantime if anyone can help me on how to restore back that
partition...
thanks in advance,
andreas

yahoo co uk[/url]
 
Back
Top