Re: [gentoo-user] failed reiserfs partition - help!

2010-08-25 Thread Albert Hopkins
On Tue, 2010-08-24 at 10:44 -0400, James wrote:
> Albert,
> 
> Thanks for the response.
> 
> "dd" for the lazy -- takes 2 seconds to wipe the top of the drive
> instead of getting rid of numerous partitions that the manufacturer
> put on the drive.

But what I'm saying is... you "wipe" the partition table and then you
use fdisk (or whatever) to create partitions.  The very act using fdisk
and writing to the partition table wipes out the previous one.

The sending $25 to namesys part was a joke.  Namesys isn't around
anymore.





Re: [gentoo-user] failed reiserfs partition - help!

2010-08-24 Thread Alex Schuster
James writes:

> My friend threw a theory out there -- maybe the beginning of the
> partition is incorrect on the drive? The drive originally had an NTFS
> partition. By blowing away the beginning of the drive and then
> rewriting the partition table, maybe the kernel was using the original
> "beginning" location of the NTFS partition which *may* be incorrect
> for the beginning of the reiserfs /dev/sdX1 partition. I did *NOT*
> reboot after making changes to the partition table (nor did I
> disconnect / reconnect the drive).
> 
> Is this possible?

Hm. May be worth a try. I usually use the partprobe (sys-block/parted) 
command to make the kernel recognize the new partition layout. Not sure if 
this is always necessary.

> I'm 99.9% sure this drive is not defective. There has to be some
> way to mount this partition as it was cleanly unmounted and the data
> copied over with no issues when I was originally doing it.
> 
> Isn't there a way to search for a superblock on the drive and then use
> that when attempting to mount the partition?

Install app-admin/testdisk, this will allow to find and recreate deleted 
partition schemes.

Good luck,

Wonko



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-24 Thread James
Sorry -- it's a USB device so the drive letter has changed as I've
moved the drive around.

My friend threw a theory out there -- maybe the beginning of the
partition is incorrect on the drive? The drive originally had an NTFS
partition. By blowing away the beginning of the drive and then
rewriting the partition table, maybe the kernel was using the original
"beginning" location of the NTFS partition which *may* be incorrect
for the beginning of the reiserfs /dev/sdX1 partition. I did *NOT*
reboot after making changes to the partition table (nor did I
disconnect / reconnect the drive).

Is this possible?

I'm 99.9% sure this drive is not defective. There has to be some
way to mount this partition as it was cleanly unmounted and the data
copied over with no issues when I was originally doing it.

Isn't there a way to search for a superblock on the drive and then use
that when attempting to mount the partition?

-james

On Tue, Aug 24, 2010 at 12:31 PM, Mick  wrote:
> On 24 August 2010 15:46, James  wrote:
>> Yep, positive. Just checked through my history:
>>
>> mkreiserfs -f /dev/sdd1
>> mount /dev/sdd1 /mnt/backup
>
> Hmm ... if you have made a fs on sdd1, why are you trying to mount
> sdf1 in your first post?
>
> ... or is sdd1 now being recognised by udev as sdf1?
>
> I am not sure I can suggest anything better than what you have already
> tried.  I have recovered umpteen reiserfs corruptions with no loss of
> data so far, by running reiserfsck --fix-fixable, or --rebuild-tree.
> However, none of these problems were due to a problematic drive or USB
> cable - your case may be different and recovery less successful.
>
> Of course, if you have storage space somewhere else it is always a
> good idea to use dd to image the partition first before you start your
> recovery attempts.
> --
> Regards,
> Mick
>
>



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-24 Thread Mick
On 24 August 2010 15:46, James  wrote:
> Yep, positive. Just checked through my history:
>
> mkreiserfs -f /dev/sdd1
> mount /dev/sdd1 /mnt/backup

Hmm ... if you have made a fs on sdd1, why are you trying to mount
sdf1 in your first post?

... or is sdd1 now being recognised by udev as sdf1?

I am not sure I can suggest anything better than what you have already
tried.  I have recovered umpteen reiserfs corruptions with no loss of
data so far, by running reiserfsck --fix-fixable, or --rebuild-tree.
However, none of these problems were due to a problematic drive or USB
cable - your case may be different and recovery less successful.

Of course, if you have storage space somewhere else it is always a
good idea to use dd to image the partition first before you start your
recovery attempts.
-- 
Regards,
Mick



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-24 Thread James
Yep, positive. Just checked through my history:

mkreiserfs -f /dev/sdd1
mount /dev/sdd1 /mnt/backup

While I'm not opposed to paying $25 to namesys, I'm (a) not certain
they will able to fix this cluster, and (b) I'm more inclined to turn
to the open source community for help. Googling reveals this is not a
"rare" issue, but no one seems to have a really great solution to the
problem.

Any other thoughts / ideas would be greatly appreciated.

-james

On Tue, Aug 24, 2010 at 2:11 AM, Adam Carter  wrote:
> Just checking, you ran mkreiserfs against /dev/sdf1 not /dev/sdf didnt you?
>
>



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-24 Thread James
Albert,

Thanks for the response.

"dd" for the lazy -- takes 2 seconds to wipe the top of the drive
instead of getting rid of numerous partitions that the manufacturer
put on the drive.

The disk isn't bad -- if it was then I wouldn't have the ability to
recover the files via foremost / scalpel.

-james

On Tue, Aug 24, 2010 at 1:53 AM, Albert Hopkins  wrote:
> On Tue, 2010-08-24 at 04:57 +, James wrote:
> [...]
>> 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.
>
> Did you try that? ;)
>
> It's probably a bad disk and you need to take it back...
>
> Not sure why you had to dd/urandom to clear the partition table.  Just
> simple running fdisk and saving will re-write over what previously
> existed in the partition table.
>
>
>



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-23 Thread Adam Carter
Just checking, you ran mkreiserfs against /dev/sdf1 not /dev/sdf didnt you?



Re: [gentoo-user] failed reiserfs partition - help!

2010-08-23 Thread Albert Hopkins
On Tue, 2010-08-24 at 04:57 +, James wrote:
[...]
> 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. 

Did you try that? ;)

It's probably a bad disk and you need to take it back...

Not sure why you had to dd/urandom to clear the partition table.  Just
simple running fdisk and saving will re-write over what previously
existed in the partition table.