* resize reiserfs
@ 2004-02-04 18:27 Farkas Barnabás
2004-02-04 21:25 ` Vitaly Fertman
0 siblings, 1 reply; 4+ messages in thread
From: Farkas Barnabás @ 2004-02-04 18:27 UTC (permalink / raw)
To: reiserfs-list
Hello World,
I would like to resize my reiserfs partition. When its finished, I
couldn't mount the partition. I've got error messages
I tried --rebuild-tree
linux:~ # /usr/local/sbin/reiserfsck --rebuild-tree /dev/hda1
reiserfsck 3.6.11 (2003 www.namesys.com)
*************************************************************
** Do not run the program with --rebuild-tree unless **
** something is broken and MAKE A BACKUP before using it. **
** If you have bad sectors on a drive it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive to the good one -- dd_rescue is a good tool for **
** that -- and only then run this program. **
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will rebuild the filesystem (/dev/hda1) tree
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
Replaying journal..
0 transactions replayed
###########
reiserfsck --rebuild-tree started at Wed Feb 4 19:20:21 2004
###########
Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 8434 blocks marked used
Skipping 8434 blocks (super block, journal, bitmaps) 0 blocks will be
read
Could not find a hash in use. Using "r5"
"r5" hash is selected
Flushing..finished
Read blocks (but not data blocks) 0
Leaves among those 0
Objectids found 2
Pass 1 (will try to insert 0 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
Flushing..finished
0 leaves read
0 inserted
####### Pass 2 #######
Flushing..finished
No reiserfs metadata found. If you are sure that you had the reiserfs
on this partition, then the start of the partition might be changed
or all data were wiped out. The start of the partition may get changed
by a partitioner if you have used one. Then you probably rebuilt the
superblock as there was no one. Zero the block at 64K offset from the
start of the partition (a new super block you have just built) and try
to move the start of the partition a few cylinders aside and check if
debugreiserfs /dev/xxx detects a reiserfs super block. If it does this
is likely to be the right super block version.
If this makes you nervous, try www.namesys.com/support.html, and for
$25 the author of fsck, or a colleague if he is out, will step you
through it all.
Aborted
and --check
linux:~ # /usr/local/sbin/reiserfsck --check /dev/hda1
reiserfsck 3.6.11 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will read-only check consistency of the filesystem on /dev/hda1
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
###########
reiserfsck --check started at Wed Feb 4 19:21:50 2004
###########
Replaying journal..
0 transactions replayed
Checking internal tree..
Bad root block 0. (--rebuild-tree did not complete)
Aborted
debugreiserfs /dev/hda1
inux:~ # /usr/local/sbin/debugreiserfs /dev/hda1
debugreiserfs 3.6.11 (2003 www.namesys.com)
Filesystem state: consistency is not checked after last mounting
Reiserfs super block in block 16 on 0x301 of format 3.6 with standard
journal
Count of blocks on the device: 7327648
Number of bitmaps: 224
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved]
blocks): 7327648
Root block: 0
Filesystem is cleanly umounted
Tree height: 65535
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x0]
Size 8193 blocks (including 1 for journal header) (first block
18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0xfa02:
FATAL corruptions exist.
sb_version: 2
inode generation number: 0
UUID: 4e4889c5-8054-4d5a-b050-754856b0d279
LABEL:
Set flags in SB:
mount
linux:~ # mount /dev/hda1 /data
mount: Not a directory
dmesg
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
is_tree_node: node level 0 does not match to the expected one 65534
ide0(3,1):vs-5150: search_by_key: invalid format found in block 0. Fsck?
ide0(3,1):vs-13070: reiserfs_read_inode2: i/o failure occurred trying to
find stat data of [1 2 0x0 SD]
ide0(3,1):Using r5 hash to sort names
is_tree_node: node level 0 does not match to the expected one 65534
ide0(3,1):vs-5150: search_by_key: invalid format found in block 0. Fsck?
ide0(3,1):vs-2140: finish_unfinished: search_by_key returned -2
Could anyone help me?
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: resize reiserfs
2004-02-04 18:27 resize reiserfs Farkas Barnabás
@ 2004-02-04 21:25 ` Vitaly Fertman
2004-02-04 23:11 ` Farkas Barnabás
0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Fertman @ 2004-02-04 21:25 UTC (permalink / raw)
To: Farkas Barnabás, reiserfs-list
On Wednesday 04 February 2004 21:27, Farkas Barnabás wrote:
> Hello World,
Hello Farkas,
> I would like to resize my reiserfs partition. When its finished, I
> couldn't mount the partition. I've got error messages
> I tried --rebuild-tree
Did resize_reiserfs finish properly or fail? Could you describe you
steps more precisely? How did you run resizer_reiserfs? What did
you do next? Did you run reiserfsck --rebuild-sb? Etc.
> linux:~ # /usr/local/sbin/reiserfsck --rebuild-tree /dev/hda1
> reiserfsck 3.6.11 (2003 www.namesys.com)
>
> reiserfsck --rebuild-tree started at Wed Feb 4 19:20:21 2004
> ###########
>
> Pass 0:
> ####### Pass 0 #######
> Loading on-disk bitmap .. ok, 8434 blocks marked used
> Skipping 8434 blocks (super block, journal, bitmaps) 0 blocks will be
> read
>
> Could not find a hash in use. Using "r5"
> "r5" hash is selected
> Flushing..finished
> Read blocks (but not data blocks) 0
> Leaves among those 0
> Objectids found 2
>
> Pass 1 (will try to insert 0 leaves):
> ####### Pass 1 #######
> Looking for allocable blocks .. finished
>
> Flushing..finished
> 0 leaves read
> 0 inserted
> ####### Pass 2 #######
> Flushing..finished
>
>
> No reiserfs metadata found.
> debugreiserfs 3.6.11 (2003 www.namesys.com)
>
> Count of blocks on the device: 7327648
> Free blocks: 7327648
--
Thanks,
Vitaly Fertman
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: resize reiserfs
2004-02-04 21:25 ` Vitaly Fertman
@ 2004-02-04 23:11 ` Farkas Barnabás
2004-02-05 8:49 ` Alex Zarochentsev
0 siblings, 1 reply; 4+ messages in thread
From: Farkas Barnabás @ 2004-02-04 23:11 UTC (permalink / raw)
To: reiserfs-list
On Wed, 2004-02-04 at 22:25, Vitaly Fertman wrote:
> On Wednesday 04 February 2004 21:27, Farkas Barnabás wrote:
> > Hello World,
>
> Hello Farkas,
>
> > I would like to resize my reiserfs partition. When its finished, I
> > couldn't mount the partition. I've got error messages
> > I tried --rebuild-tree
>
> Did resize_reiserfs finish properly or fail? Could you describe you
> steps more precisely? How did you run resizer_reiserfs? What did
> you do next? Did you run reiserfsck --rebuild-sb? Etc.
I made the resizing with QtParted-0.4.1
There was no error. but I can't mount again.
--rebuild-sb
linux:~ # /usr/local/sbin/reiserfsck --rebuild-sb /dev/hda1
reiserfsck 3.6.11 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will check superblock and rebuild it if needed
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
Reiserfs super block in block 16 on 0x301 of format 3.6 with standard
journal
Count of blocks on the device: 7327648
Number of bitmaps: 224
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved]
blocks): 7327648
Root block: 0
Filesystem is cleanly umounted
Tree height: 0
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x0]
Size 8193 blocks (including 1 for journal header) (first block
18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0:
sb_version: 2
inode generation number: 0
UUID: 4e4889c5-8054-4d5a-b050-754856b0d279
LABEL:
Set flags in SB:
Super block seems to be correct
> > linux:~ # /usr/local/sbin/reiserfsck --rebuild-tree /dev/hda1
> > reiserfsck 3.6.11 (2003 www.namesys.com)
> >
> > reiserfsck --rebuild-tree started at Wed Feb 4 19:20:21 2004
> > ###########
> >
> > Pass 0:
> > ####### Pass 0 #######
> > Loading on-disk bitmap .. ok, 8434 blocks marked used
> > Skipping 8434 blocks (super block, journal, bitmaps) 0 blocks will be
> > read
> >
> > Could not find a hash in use. Using "r5"
> > "r5" hash is selected
> > Flushing..finished
> > Read blocks (but not data blocks) 0
> > Leaves among those 0
> > Objectids found 2
> >
> > Pass 1 (will try to insert 0 leaves):
> > ####### Pass 1 #######
> > Looking for allocable blocks .. finished
> >
> > Flushing..finished
> > 0 leaves read
> > 0 inserted
> > ####### Pass 2 #######
> > Flushing..finished
> >
> >
> > No reiserfs metadata found.
>
> > debugreiserfs 3.6.11 (2003 www.namesys.com)
> >
> > Count of blocks on the device: 7327648
> > Free blocks: 7327648
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: resize reiserfs
2004-02-04 23:11 ` Farkas Barnabás
@ 2004-02-05 8:49 ` Alex Zarochentsev
0 siblings, 0 replies; 4+ messages in thread
From: Alex Zarochentsev @ 2004-02-05 8:49 UTC (permalink / raw)
To: Farkas Barnab?s; +Cc: reiserfs-list, umka
On Thu, Feb 05, 2004 at 12:11:22AM +0100, Farkas Barnab?s wrote:
> On Wed, 2004-02-04 at 22:25, Vitaly Fertman wrote:
> > On Wednesday 04 February 2004 21:27, Farkas Barnab?s wrote:
> > > Hello World,
> >
> > Hello Farkas,
> >
> > > I would like to resize my reiserfs partition. When its finished, I
> > > couldn't mount the partition. I've got error messages
> > > I tried --rebuild-tree
> >
> > Did resize_reiserfs finish properly or fail? Could you describe you
> > steps more precisely? How did you run resizer_reiserfs? What did
> > you do next? Did you run reiserfsck --rebuild-sb? Etc.
>
> I made the resizing with QtParted-0.4.1
with reiserfs support through libreiserfs, yes?
> There was no error. but I can't mount again.
> --rebuild-sb
>
> linux:~ # /usr/local/sbin/reiserfsck --rebuild-sb /dev/hda1
> reiserfsck 3.6.11 (2003 www.namesys.com)
>
> *************************************************************
> ** If you are using the latest reiserfsprogs and it fails **
> ** please email bug reports to reiserfs-list@namesys.com, **
> ** providing as much information as possible -- your **
> ** hardware, kernel, patches, settings, all reiserfsck **
> ** messages (including version), the reiserfsck logfile, **
> ** check the syslog file for any related information. **
> ** If you would like advice on using this program, support **
> ** is available for $25 at www.namesys.com/support.html. **
> *************************************************************
>
> Will check superblock and rebuild it if needed
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes
> Reiserfs super block in block 16 on 0x301 of format 3.6 with standard
> journal
> Count of blocks on the device: 7327648
> Number of bitmaps: 224
> Blocksize: 4096
> Free blocks (count of blocks - used [journal, bitmaps, data, reserved]
> blocks): 7327648
> Root block: 0
> Filesystem is cleanly umounted
> Tree height: 0
> Hash function used to sort names: "r5"
> Objectid map size 2, max 972
> Journal parameters:
> Device [0x0]
> Magic [0x0]
> Size 8193 blocks (including 1 for journal header) (first block
> 18)
> Max transaction length 1024 blocks
> Max batch size 900 blocks
> Max commit age 30
> Blocks reserved by journal: 0
> Fs state field: 0x0:
> sb_version: 2
> inode generation number: 0
> UUID: 4e4889c5-8054-4d5a-b050-754856b0d279
> LABEL:
> Set flags in SB:
>
> Super block seems to be correct
>
>
> > > linux:~ # /usr/local/sbin/reiserfsck --rebuild-tree /dev/hda1
> > > reiserfsck 3.6.11 (2003 www.namesys.com)
> > >
> > > reiserfsck --rebuild-tree started at Wed Feb 4 19:20:21 2004
> > > ###########
> > >
> > > Pass 0:
> > > ####### Pass 0 #######
> > > Loading on-disk bitmap .. ok, 8434 blocks marked used
> > > Skipping 8434 blocks (super block, journal, bitmaps) 0 blocks will be
> > > read
> > >
> > > Could not find a hash in use. Using "r5"
> > > "r5" hash is selected
> > > Flushing..finished
> > > Read blocks (but not data blocks) 0
> > > Leaves among those 0
> > > Objectids found 2
> > >
> > > Pass 1 (will try to insert 0 leaves):
> > > ####### Pass 1 #######
> > > Looking for allocable blocks .. finished
> > >
> > > Flushing..finished
> > > 0 leaves read
> > > 0 inserted
> > > ####### Pass 2 #######
> > > Flushing..finished
> > >
> > >
> > > No reiserfs metadata found.
> >
> > > debugreiserfs 3.6.11 (2003 www.namesys.com)
> > >
> > > Count of blocks on the device: 7327648
> > > Free blocks: 7327648
>
> Thanks
>
>
--
Alex.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-05 8:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-04 18:27 resize reiserfs Farkas Barnabás
2004-02-04 21:25 ` Vitaly Fertman
2004-02-04 23:11 ` Farkas Barnabás
2004-02-05 8:49 ` Alex Zarochentsev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.