Hello,

Here is a vinum question. 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):

drive drive0 device /dev/ad0s1e
drive drive2 device /dev/ad2s1e
volume mirr
  plex org concat
    sd len 0s drive disk0
  plex org concat
    sd len 0s drive disk2

newfs has been done and the /dev/vinum/mirr is mounted to /mirr with rw access. 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=/dev/ad0s1 of=/dev/zero bs=1024k

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'?

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

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

with best regards

        Alexander
--
Alexander Haderer             Charite Berlin - Germany


To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Reply via email to