linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mounting /dev/hdax and xfs problems
@ 2003-10-04 23:26 Nerijus Baliunas
  2003-10-07 11:04 ` Nerijus Baliunas
  2003-10-07 11:26 ` Lars Marowsky-Bree
  0 siblings, 2 replies; 3+ messages in thread
From: Nerijus Baliunas @ 2003-10-04 23:26 UTC (permalink / raw)
  To: linux-raid

Hello,

I have on debian /home mounted on raid1. Some time ago
it was remounted as 'mount /dev/hda2 /home' instead of
'mount /dev/md0 /home'. Now when I umount it and try
to mount /dev/md0, I see in dmesg:

XFS mounting filesystem md(9,0)
Starting XFS recovery on filesystem: md(9,0) (dev: 9/0)
XFS: dirty log written in incompatible format - can't recover
XFS: log mount/recovery failed
XFS: log mount failed

When mounting /dev/hda2 it succeeds. The question is -
does mounting part of raid1 mirror when raid is still running
do anything bad for a raid? How raid works in this situation -
is it still mirroring info from /dev/hda2 to /dev/hdb2?
If I raidstop and raidstart, can it damage filesystem?

/proc/mdstat shows that everything is OK.

Regards,
Nerijus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mounting /dev/hdax and xfs problems
  2003-10-04 23:26 mounting /dev/hdax and xfs problems Nerijus Baliunas
@ 2003-10-07 11:04 ` Nerijus Baliunas
  2003-10-07 11:26 ` Lars Marowsky-Bree
  1 sibling, 0 replies; 3+ messages in thread
From: Nerijus Baliunas @ 2003-10-07 11:04 UTC (permalink / raw)
  To: linux-raid

Hello,

could plese someone answer my question? I am afraid if server
reboots, it might loose filesystem.

Nerijus

On Sun, 5 Oct 2003 02:26:02 +0300 (EEST) Nerijus Baliunas <nerijus@users.sourceforge.net> wrote:

> Hello,
> 
> I have on debian /home mounted on raid1. Some time ago
> it was remounted as 'mount /dev/hda2 /home' instead of
> 'mount /dev/md0 /home'. Now when I umount it and try
> to mount /dev/md0, I see in dmesg:
> 
> XFS mounting filesystem md(9,0)
> Starting XFS recovery on filesystem: md(9,0) (dev: 9/0)
> XFS: dirty log written in incompatible format - can't recover
> XFS: log mount/recovery failed
> XFS: log mount failed
> 
> When mounting /dev/hda2 it succeeds. The question is -
> does mounting part of raid1 mirror when raid is still running
> do anything bad for a raid? How raid works in this situation -
> is it still mirroring info from /dev/hda2 to /dev/hdb2?
> If I raidstop and raidstart, can it damage filesystem?
> 
> /proc/mdstat shows that everything is OK.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mounting /dev/hdax and xfs problems
  2003-10-04 23:26 mounting /dev/hdax and xfs problems Nerijus Baliunas
  2003-10-07 11:04 ` Nerijus Baliunas
@ 2003-10-07 11:26 ` Lars Marowsky-Bree
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Marowsky-Bree @ 2003-10-07 11:26 UTC (permalink / raw)
  To: Nerijus Baliunas, linux-raid

On 2003-10-05T02:26:02,
   Nerijus Baliunas <nerijus@users.sourceforge.net> said:

> When mounting /dev/hda2 it succeeds. The question is -
> does mounting part of raid1 mirror when raid is still running
> do anything bad for a raid? How raid works in this situation -
> is it still mirroring info from /dev/hda2 to /dev/hdb2?
> If I raidstop and raidstart, can it damage filesystem?

Yes. Your data is toast.

You need to trigger a full resync from hda2 to hdb2 manually.

I think
	mdadm /dev/md0 -f /dev/hdb2 -r /dev/hdb2 -a /dev/hdb2

should do it.

You must NEVER modify an underlaying device of a raid set. This will
cause problems.


Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
High Availability & Clustering		ever tried. ever failed. no matter.
SuSE Labs				try again. fail again. fail better.
Research & Development, SUSE LINUX AG		-- Samuel Beckett

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-07 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-04 23:26 mounting /dev/hdax and xfs problems Nerijus Baliunas
2003-10-07 11:04 ` Nerijus Baliunas
2003-10-07 11:26 ` Lars Marowsky-Bree

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).