Re: Error mounting a reiserfs on renamed raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri Jan 25, 2008 at 01:48:32AM +0100, Clemens Koller wrote:

> Hi there.
>
> I am new to this list, however didn't find this effect nor a
> solution to my problem in the archives or with google:
>
> short story:
> ------------
> A single raid1 as /dev/md0 containing a reiserfs (with important data)
> assembled during boot works just fine:
> $ cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1]
> md0 : active raid1 hdg1[1] hde1[0]
>       293049600 blocks [2/2] [UU]
>
> The same raid1 moved to another machine as a fourth raid can be
> assembled manually as /dev/md3 (to work around naming conflicts),
> but it cannot be mounted anymore:
> $ mdadm --assemble /dev/md3 --update=super-minor -m0 /dev/hde /dev/hdg
> does not complain. /dev/md3 is created. But
>
It looks like you should be assembling the partitions, not the disks.
Certainly the mdstat entry above shows the array being formed from the
disks.  Try:
  mdadm --assemble /dev/md3 --update=super-minor -m0 /dev/hde1 /dev/hdg1

> $ mount /dev/md3 /raidmd3 gives:
>
> Jan 24 20:24:10 rio kernel: md: md3 stopped.
> Jan 24 20:24:10 rio kernel: md: bind<hdg>
> Jan 24 20:24:10 rio kernel: md: bind<hde>
> Jan 24 20:24:10 rio kernel: raid1: raid set md3 active with 2 out of 2 
> mirrors
> Jan 24 20:24:12 rio kernel: ReiserFS: md3: warning: sh-2021: 
> reiserfs_fill_super: can not find reiserfs on md3
>
> Adding  -t reiserfs doesn't work either.
>
Presumably the superblock for the file system cannot be found because
it's now offset due to the above issue.

HTH,
        Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgp0vOrFWctBb.pgp
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux