* access to old raid1 partitions after reinstall on two new disks
@ 2014-09-11 16:02 system.admin
2014-09-11 17:16 ` Robin Hill
0 siblings, 1 reply; 2+ messages in thread
From: system.admin @ 2014-09-11 16:02 UTC (permalink / raw)
To: linux-raid
Hello there,
we have a machine running on four raid-1 partitions (2 disks). The
system had to be reinstalled on two new disks since one of the old disks
failed and we afterwards saw defective sectors on the remaining disk. So
the system was restored from backup on two complete new disks. We now
have the disk with the defective sectors on which the old system was
installed as third disk installed in the machine. Since we could not
recover everything from backup, we would like to start the old raid
devices from the old disk again and try to access the old filesystems
again.
The fresh installed system has of course the same md0, md1, md2, md3
devices as the old one had. Therefore I wonder how to access the old
raid devices, which had the same names.
Is there a way to get the old partitions running as additional raid
devices like md4, md5, md6 and md7 (or under different names) and should
it be possible to mount the filesystems of those new / old raid devices
in the fresh installed system?
Thanks for your help!
Regards
Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: access to old raid1 partitions after reinstall on two new disks
2014-09-11 16:02 access to old raid1 partitions after reinstall on two new disks system.admin
@ 2014-09-11 17:16 ` Robin Hill
0 siblings, 0 replies; 2+ messages in thread
From: Robin Hill @ 2014-09-11 17:16 UTC (permalink / raw)
To: system.admin; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
On Thu Sep 11, 2014 at 06:02:57pm +0200, system.admin@yum.de wrote:
> Hello there,
>
> we have a machine running on four raid-1 partitions (2 disks). The
> system had to be reinstalled on two new disks since one of the old disks
> failed and we afterwards saw defective sectors on the remaining disk. So
> the system was restored from backup on two complete new disks. We now
> have the disk with the defective sectors on which the old system was
> installed as third disk installed in the machine. Since we could not
> recover everything from backup, we would like to start the old raid
> devices from the old disk again and try to access the old filesystems
> again.
>
> The fresh installed system has of course the same md0, md1, md2, md3
> devices as the old one had. Therefore I wonder how to access the old
> raid devices, which had the same names.
>
> Is there a way to get the old partitions running as additional raid
> devices like md4, md5, md6 and md7 (or under different names) and should
> it be possible to mount the filesystems of those new / old raid devices
> in the fresh installed system?
>
Yes, just specify the md device name as part of the assemble.
mdadm -A /dev/md4 /dev/sdf1
If they're using RAID superblock versions 0.9 or 1.0 then you don't even
have to assemble the RAID - you can just mount any of the members
directly.
And yes, you should be able to mount the filesystems inside your new
system the same as with any other block device.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-11 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11 16:02 access to old raid1 partitions after reinstall on two new disks system.admin
2014-09-11 17:16 ` Robin Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox