* http://raid.wiki.kernel.org/ unreachable - need to "lend" clone of RAID1 HD to another machine
@ 2011-04-24 1:51 Vernon Tonnesen
2011-04-24 2:33 ` John Robinson
0 siblings, 1 reply; 2+ messages in thread
From: Vernon Tonnesen @ 2011-04-24 1:51 UTC (permalink / raw)
To: linux-raid
I've been trying to get through without success for over an hour. Is the
content there mirrored somewhere? Is there an alternate, preferably in FAQ
format?
I have a pair of HDs partitioned with 14 identical partitions each, 7 of
which on each make up 1 of 2 partitions making up 7 md devices. The seven md
devices were originally configured through openSUSE installation's YaST2. I
made a clone of the whole of one HD. This clone I want to attach to another
machine simply to copy the files from one partition's EXT3 filesystem that is
a component of md7 on the original machine.
Can I just mount that partition on the other machine RO as an ordinary EXT3
partition to make the copies, or does that machine need to have a RAID
"built" or "rebuilt" with mdadm in order to mount that disks partition as a
degraded array? Nothing shows up in /dev/mdstat booting with it plugged in,
even after copying /etc/mdadm.conf from the original machine. I tried
modprobe raid1, but that didn't seem to affect anything I can tell. Fdisk -l
/dev/sdb shows me only what I expect, a bunch of 0x83 and 0xfd partitions,
while fdisk -l produces none of the extra output I'm used to seeing on the
system with the full RAID1 running.
Problem 2: Looking at the mdadm man page, I really don't understand the
distinction between build and create, or what a persistent superblock is good
for.
Help please!
--
The husband should fulfill his marital duty to
his wife, and likewise the wife to her husband.
1 Corinthians 7:3 NIV
VT
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: http://raid.wiki.kernel.org/ unreachable - need to "lend" clone of RAID1 HD to another machine
2011-04-24 1:51 http://raid.wiki.kernel.org/ unreachable - need to "lend" clone of RAID1 HD to another machine Vernon Tonnesen
@ 2011-04-24 2:33 ` John Robinson
0 siblings, 0 replies; 2+ messages in thread
From: John Robinson @ 2011-04-24 2:33 UTC (permalink / raw)
To: Vernon Tonnesen; +Cc: linux-raid
On 24/04/2011 02:51, Vernon Tonnesen wrote:
> I've been trying to get through without success for over an hour. Is the
> content there mirrored somewhere?
Google has it cached.
> Is there an alternate, preferably in
> FAQ format?
There are dozens but I couldn't make any particular recommendation.
> I have a pair of HDs partitioned with 14 identical partitions each, 7 of
> which on each make up 1 of 2 partitions making up 7 md devices. The
> seven md devices were originally configured through openSUSE
> installation's YaST2. I made a clone of the whole of one HD. This clone
> I want to attach to another machine simply to copy the files from one
> partition's EXT3 filesystem that is a component of md7 on the original
> machine.
>
> Can I just mount that partition on the other machine RO as an ordinary
> EXT3 partition to make the copies, or does that machine need to have a
> RAID "built" or "rebuilt" with mdadm in order to mount that disks
> partition as a degraded array? Nothing shows up in /dev/mdstat booting
> with it plugged in, even after copying /etc/mdadm.conf from the original
> machine. I tried modprobe raid1, but that didn't seem to affect anything
> I can tell. Fdisk -l /dev/sdb shows me only what I expect, a bunch of
> 0x83 and 0xfd partitions, while fdisk -l produces none of the extra
> output I'm used to seeing on the system with the full RAID1 running.
>
> Problem 2: Looking at the mdadm man page, I really don't understand the
> distinction between build and create, or what a persistent superblock is
> good for.
A persistent superblock stores important information about the array
like its level, chunk size, bitmap, etc, and you use create to do this.
Build sets up md devices one time only.
Use `mdadm -Evvs` to find your array members. If that finds nothing, the
arrays were built and not created, but I think that's unlikely with your
type FD partitions. If that finds metadata version 0.90 or 1.0 RAID1
partitions, yes you can mount them read-only directly from the
partitions without doing anything else - `file -s /dev/sdXp` should tell
you what the filesystem type is. If it's metadata 1.1 or 1.2, you can
start them in degraded mode with `mdadm -Avs --run` and then you should
find your filesystems on /dev/mdX (again, you can check). Again, mount
them read-only if you might want to put the disc back in the original
machine.
As I said in another post, I'm off to bed now, but good luck!
Cheers,
John.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-24 2:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-24 1:51 http://raid.wiki.kernel.org/ unreachable - need to "lend" clone of RAID1 HD to another machine Vernon Tonnesen
2011-04-24 2:33 ` John Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).