Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
harddrive woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
revil
n00b
n00b


Joined: 06 Oct 2002
Posts: 68
Location: Japan

PostPosted: Mon Jan 20, 2003 9:18 am    Post subject: harddrive woes Reply with quote

I moved some harddrives From Gentoo box A to gentoo box B. let me draw a diagram:

Code:
---------                  ---------
| Box A | -> harddrives -> | Box B |
---------                  ---------


See? not all too difficult. I turn box B back on and mounted the drives. two of the harddrives are perfectly fine. the other two only show the lost&found directories and none of the data. Which isn't a good thing, all the important data were on those two drives. :(

Each harddrive I moved is ide and they are all using ext3. anyone have any ideas what happened to it and how i can possibly get my data back?
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Mon Jan 20, 2003 9:24 am    Post subject: Reply with quote

Out of curiosity, what happens if you move the drives back?
Back to top
View user's profile Send private message
revil
n00b
n00b


Joined: 06 Oct 2002
Posts: 68
Location: Japan

PostPosted: Mon Jan 20, 2003 9:32 am    Post subject: Reply with quote

too late.... i reformatted the origional box. :(
Back to top
View user's profile Send private message
revil
n00b
n00b


Joined: 06 Oct 2002
Posts: 68
Location: Japan

PostPosted: Mon Jan 20, 2003 10:18 am    Post subject: Reply with quote

alrighty, I'm learning some more about some programs. I found and ran dumpe2fs. this is what i got for the drives:

Code:
Last mounted on:          <not available>
Filesystem UUID:          7b155c71-6ea1-4e77-a884-13c0bff9f007
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal dir_index filetype needs_recovery sparse_super
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              7505568
Block count:              15010726
Reserved block count:     750536
Free blocks:              14766987
Free inodes:              7505557
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16352
Inode blocks per group:   511
Filesystem created:       Sat Jan 11 23:26:12 2003
Last mount time:          Sun Jan 19 17:16:18 2003
Last write time:          Sun Jan 19 17:16:18 2003
Mount count:              8
Maximum mount count:      35
Last checked:             Sat Jan 11 23:26:12 2003
Check interval:           15552000 (6 months)
Next check after:         Fri Jul 11 00:26:12 2003
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal UUID:             <none>
Journal inode:            8
Journal device:           0x0000
First orphan inode:       0
Default directory hash:   tea
Directory Hash Seed:      9b370295-f389-4c61-97ff-848d51822a36
Code:
dumpe2fs 1.32 (09-Nov-2002)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          1c762a60-0820-4ad1-9e61-ea5066870851
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal dir_index filetype needs_recovery sparse_super
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              3751936
Block count:              7502347
Reserved block count:     375117
Free blocks:              7376401
Free inodes:              3751925
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Sun Jan 12 20:33:30 2003
Last mount time:          Sun Jan 19 17:16:18 2003
Last write time:          Sun Jan 19 17:16:18 2003
Mount count:              2
Maximum mount count:      22
Last checked:             Sun Jan 12 20:33:30 2003
Check interval:           15552000 (6 months)
Next check after:         Fri Jul 11 21:33:30 2003
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal UUID:             <none>
Journal inode:            8
Journal device:           0x0000
First orphan inode:       0
Default directory hash:   tea
Directory Hash Seed:      0c75b950-e953-450b-a622-0108fc922004


note: Filesystem features: has_journal dir_index filetype needs_recovery sparse_super on both of the drives. Not that this isn't blatently obvious, it's a start. any idea on how to "recover"?
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Tue Jan 21, 2003 12:15 am    Post subject: Reply with quote

e2fsck should help here
Back to top
View user's profile Send private message
revil
n00b
n00b


Joined: 06 Oct 2002
Posts: 68
Location: Japan

PostPosted: Tue Jan 21, 2003 12:28 am    Post subject: Reply with quote

David_Escott wrote:
e2fsck should help here

sadly, i already tried that.
Back to top
View user's profile Send private message
koz
n00b
n00b


Joined: 06 Dec 2002
Posts: 27

PostPosted: Thu Jan 23, 2003 6:04 am    Post subject: Reply with quote

Here a thought: If you didn´t move all the drives, or the root file system of the original system isn´t on the new system, the journal may not be found. I think that ext3 can store the journal for partitions on either the partition or the root filesystem. That might explain your dumpe2fs results.

Try mounting the disk as ext2 instead of ext3. If that works, I think you can then re-generate the journal by doing the ext2 to ext3 conversion.

Good luck.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum