Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162129

Re: Recovering data from a Raid 1Sata HD

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Recovering data from a Raid 1Sata HD
Date 2015-12-27 14:50 +0100
Message-ID <qKjRU-7Gi-19@gated-at.bofh.it> (permalink)
References (1 earlier) <qIffI-2KY-17@gated-at.bofh.it> <qIP9v-8u4-3@gated-at.bofh.it> <qIP9v-8u4-5@gated-at.bofh.it> <qIP9v-8u4-1@gated-at.bofh.it> <qIPjc-5Y-23@gated-at.bofh.it>
Organization Plouf !

Show all headers | View raw


Felix Miata a écrit :
> 
> A RAID1 partition normally cannot be mounted as an sdX# device.

It can if the RAID superblock is located at the end of the partition.
I.e. the superblock format is 0.9 (obsolete) or 1.0.

However if the format is 1.1 or 1.2 (default), the superblock is located
at or near the beginning of the partitition and offsets the beginning of
the filesystem, preventing mount to identify it. But the filesystem can
still be mounted with loop, by specifying the offset.

Use "mdadm -E /dev/<partition>" to display the superblock format and the
data offset. I don't remember if the offset is in 512-byte sectors, KiB
or other unit. You must multiply the offet with the block size to get
the offset in bytes.

Then mount the filesystem with "-o loop,offset=<offset_in_bytes>".

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Recovering data from a Raid 1Sata HD Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-12-21 21:10 +0100
  Re: Recovering data from a Raid 1Sata HD Hans <hans.ullrich@loop.de> - 2015-12-21 21:30 +0100
    Re: Recovering data from a Raid 1Sata HD Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-12-23 11:50 +0100
      Re: Recovering data from a Raid 1Sata HD <tomas@tuxteam.de> - 2015-12-23 12:00 +0100
        Re: Recovering data from a Raid 1Sata HD Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-23 12:20 +0100
          Re: Recovering data from a Raid 1Sata HD Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-12-23 14:00 +0100
            Re: Recovering data from a Raid 1Sata HD <tomas@tuxteam.de> - 2015-12-23 14:10 +0100
              Re: Recovering data from a Raid 1Sata HD Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-12-23 14:50 +0100
                Re: Recovering data from a Raid 1Sata HD Himanshu Shekhar <irm2015006@iiita.ac.in> - 2015-12-23 15:00 +0100
              Re: Recovering data from a Raid 1Sata HD Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-12-23 15:00 +0100
              Re: Recovering data from a Raid 1Sata HD Bob Weber <bobrweber@gmail.com> - 2015-12-23 15:10 +0100
        Re: Recovering data from a Raid 1Sata HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 14:50 +0100
          Re: Recovering data from a Raid 1Sata HD <tomas@tuxteam.de> - 2015-12-28 09:30 +0100
      Re: Recovering data from a Raid 1Sata HD Felix Miata <mrmazda@earthlink.net> - 2015-12-23 12:00 +0100
        Re: Recovering data from a Raid 1Sata HD Michał Giżyński <michal.braga@gmail.com> - 2015-12-26 12:20 +0100
        Re: Recovering data from a Raid 1Sata HD Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-12-27 14:50 +0100

csiph-web