[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crashed big reiser-partition with parted. any help?

From: kleistereimer
Subject: crashed big reiser-partition with parted. any help?
Date: Wed, 4 Dec 2002 19:03:02 +0100 (MET)


i just crashed my reiserfs partition upon shrinking the underlying partition
with parted.
is there a way to get my data back?

parted - recover did not help.

there is only one primary partition 120 gb reiser standart (taken all
i wanted to shrink by 10% (to move to lvm part for part :-).
there were aproximately 100gb data on this disk.

resize-reiser did the job, now i wanted to shrink the partition too...
fdisk could only change cylinders, but showed inconsistent values for 
the last cylinder, and i did not want to calculate the exact numbers..
so i choose parted.

parted, reisertools, libreiser, kernel (2.4.20), etc are all latest
i use debian woody

parted-1.6.3.tar.gz    (tricky to understand that libreiserfs is not ncluded
in reisertools)

below a screenshot from the short way to data-nirvana:

reiser_resize (shrinked fs by 10% ok). 
(was this the reason? does parted wants to resize_reiser by itself?)

zeus:/usr/src/parted-1.6.3# parted
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the i
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hdc
Information: The operating system thinks the geometry on /dev/hdc is
116301/16/63.  Therefore, cylinder 1024
(parted) select /dev/hdb
Using /dev/hdb
Information: The operating system thinks the geometry on /dev/hdb is
239340/16/63.  Therefore, cylinder 1024
(parted) print
Disk geometry for /dev/hdb: 0.000-117800.156 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031 117800.156  primary   reiserfs
(parted) print 1
Minor: 1
File System: reiserfs
Size:         117800.125Mb (99%)
Minimum size:  99104.016Mb (84%)
Maximum size: 117800.156Mb (100%)
(parted) resize 1 0.031 100000
shrinking... 11%        (time left 486:59)Error: Invalid node detected
(37083). Unknown type.
(parted) print 1
Error: Could not detect file system.
(parted) q
Information: Don't forget to update /etc/fstab, if necessary.

zeus:~# mount /dev/hdb1 /mnt/2
mount: you must specify the filesystem type
zeus:~# mount -t reiserfs /dev/hdb1 /mnt/2
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
       or too many mounted file systems

thank you for your help!

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]