FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EXT3 Users

 
 
LinkBack Thread Tools
 
Old 06-28-2008, 08:50 PM
"Yamin, Yossi"
 
Default debugfs question

Hi,


I am trying to read a file directly from the disk
using debugfs utility.


I am running "stat" on the file I want,
filter out IND and Bind blocks, and then copy the data blocks using dd directly
from the Disk.


On small files it work'd (13MB).


On big files (3.5 , 440 GB) *the size is the
same but md5sum get differ.


What am I doing wrong?


I umount the FS before I start so the file is not
changing.


*


Best regards


Yossi Yamin


Sr.Technical specialist


Diligent Technologies, an
IBM Company


*


*


*







_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 
Old 07-02-2008, 07:28 AM
Andreas Dilger
 
Default debugfs question

On Jun 28, 2008 23:50 +0300, Yamin, Yossi wrote:
> I am trying to read a file directly from the disk using debugfs utility.
>
> I am running "stat" on the file I want, filter out IND and Bind blocks,
> and then copy the data blocks using dd directly from the Disk.
>
> On small files it work'd (13MB).
>
> On big files (3.5 , 440 GB) the size is the same but md5sum get differ.
>
> What am I doing wrong?

What you are doing wrong is that you aren't using the debugfs "dump"
command, which will do what you are trying to do.


Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 
Old 07-03-2008, 02:07 PM
"Yamin, Yossi"
 
Default debugfs question

Thanks Andreas,


I have a problem
that for the file data I need the fs MetaData is corrupted.


I hope
that because I am using same pre allocate logic all over my FS then I can get
the Maping from other clear state FS file


And read the
data directly from the corrupted FS.


Is that making
sense? *


*


Thanks,


Yossi


*


-----Original
Message-----

From: Andreas.Dilger@sun.com [mailto:Andreas.Dilger@sun.com] On Behalf Of Andreas
Dilger

Sent: Wednesday, July 02, 2008 10:29 AM

To: Yamin, Yossi

Cc: ext3-users@redhat.com; tytso@mit.edu

Subject: Re: debugfs question


*


On Jun 28,
2008* 23:50 +0300, Yamin, Yossi wrote:


> I am
trying to read a file directly from the disk using debugfs utility.


>


> I am
running "stat" on the file I want, filter out IND and Bind blocks,


> and then
copy the data blocks using dd directly from the Disk.


>


> On small
files it work'd (13MB).


>


> On big
files (3.5 , 440 GB)* the size is the same but md5sum get differ.


>


> What am
I doing wrong?


*


What you
are doing wrong is that you aren't using the debugfs "dump"


command, which
will do what you are trying to do.


*


*


Cheers, Andreas


--


Andreas
Dilger


Sr. Staff
Engineer, Lustre Group


Sun
Microsystems of Canada, Inc


*


.


*







_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 

Thread Tools




All times are GMT. The time now is 03:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org