create disk image of a reiserfs partition using dd

From: osirishinzen (osirishinzen_at_hotpop.com)
Date: 08/18/03


Date: 18 Aug 2003 06:21:35 -0700

Hello,

I have a 40GB Seagate Drive on a Redhat 9.0 Linux machine.
10 GB of that drive is partitioned as /data (/dev/hda8) using
reiserfs.
I am no longer able to mount /data and my logs show that Drive Seek
Errors Occur whenever I try.

Running Resierfsck yeilds.

******
The problem has occurred looks like a hardware problem.
Check your hard drive for badblocks.
 
bread: Cannot read the block (16).
******

Using a HDD utility from seagate, I verified that my drive does have
physical errors.

Since it is still in warranty I intend to have it replaced, however, I
would also want to recover all the stuff that I can recover from
/data.

I tried copying the filesystem into an image file like so....

dd if=/dev/hda8 of=/tmp/hdd8.img conv=noerrors

then try to mount it on a loop device

losetup /dev/loop0 /tmp/hdd8.img
mount /dev/loop0 /mnt/hdd8

but all I get is

mount: you must specify the filesystem type

I must be doing something wrong because mount usually recognizes
reiserfs.
It must be in how I created the image.

Can anyone help ?

Thanks



Relevant Pages

  • 2.6.32-rc6 - 2.6.32-rc6-git3 misinterpreting fstype on boot
    ... strangeness - misinterpreting the xfs partition as reiserfs. ... proc on /proc type proc ... is a reiserfs partition it needs to mount as "/root"????. ...
    (Linux-Kernel)
  • Re: 2.6.32-rc6 - 2.6.32-rc6-git3 misinterpreting fstype on boot
    ... strangeness - misinterpreting the xfs partition as reiserfs. ... system.board.vendor = 'ASUSTeK Computer INC.' ... is a reiserfs partition it needs to mount as "/root"????. ...
    (Linux-Kernel)
  • Re: Problem with multiple mounts
    ... make reiserfs and run fsstress test case on this partition. ... I mount this partition on the nbd server. ... ReiserFS: sda10: journal params: device sda10, size 8192, journal first ... Mounting a filesystem which is already mounted and replaying the journal. ...
    (Linux-Kernel)
  • Re: Mount & SELinux problems, session saving in GNOME
    ... With SELinux enabled, the system won't mount ReiserFS partitions, ... SELinux and the reiserfs xattr implementation (xattrs stored as regular ... via a local policy module and a context mount, ...
    (Fedora)
  • Mount & SELinux problems, session saving in GNOME
    ... With SELinux enabled, the system won't mount ReiserFS partitions, ... Apr 15 14:19:38 localhost kernel: ReiserFS: hdb1: found reiserfs format "3.6" with standard journal ...
    (Fedora)