Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 11:21:15 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Alexander Haderer <alexander.haderer@charite.de>
Cc:        freebsd-questions@FreeBSD.ORG, Dirk Emmel <dirk.emmel@charite.de>
Subject:   Re: vinum: low level access to subdisks / drives
Message-ID:  <20030306005115.GK43987@wantadilla.lemis.com>
In-Reply-To: <5.2.0.9.1.20030305190047.00b19d80@postamt1.charite.de>
References:  <200303051245.28192.taxman@acd.net> <5.2.0.9.2.20030305083743.00bcfc80@mail.servplex.com> <3E4A973500003B77@cpfe6.be.tisc.dk> <5.2.0.9.2.20030305083743.00bcfc80@mail.servplex.com> <5.2.0.9.1.20030305190047.00b19d80@postamt1.charite.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--rwbb4r/vLufKlfJs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wednesday,  5 March 2003 at 19:33:04 +0100, Alexander Haderer wrote:
> Hello,
>
> Here is a vinum question.=20

It was sent as a followup of a question about installation problems.
That causes problems with threading.

> Assume this setup: Two partitions ad0s1e and ad2s1e of type vinum
> with the same size. vinum is set up to use this disks as RAID 1
> (mirror):
> ...
>  Everything is working without problem.
>
> Because we do not rely on the harddisks and the files at /mirr are
> accessed seldom and random, we want to check, if all sectors of the
> disks ad0 and ad2 are readable without problem. To do so, we want to
> run a nightly low priority cron job that tries to read all sectors
> of a disk without further analyzing the data read. The "result" of a
> failed read (hard disk failure) will be a kernel message in
> /var/log/messages, which we monitor 24x7 a day.
>
> Lets say we do dd for reading the sectors:
>
> dd if=3D/dev/ad0s1 of=3D/dev/zero bs=3D1024k
>
> Questions:
>
> 1. Will this conflict with vinum or its internal (kernel) data
> structures when vinum is running the same time with all components
> of the RAID 'up'?

No.  Writing would be a very different story, of course.

> 2. Will this conflict with parallel read/write access to /mirr ?

No.

> 3. Should we use "dd if=3D/dev/vinum/sd/mirr.p0.s0 ..." instead of
> /dev/ad0s1e ?

You could.  That would also find any problems in the subdisk itself,
but not with the rest.  On the whole, I'd say that your solution is as
good as any.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

--rwbb4r/vLufKlfJs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+ZpuDIubykFB6QiMRAifjAKCm7F3JPnEUfECcI4C/TJ27QB4HowCgnlnV
9UmVUofTecbvIak4mQbjuM0=
=MQ3/
-----END PGP SIGNATURE-----

--rwbb4r/vLufKlfJs--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030306005115.GK43987>