* andrey mirtchovski <[EMAIL PROTECTED]> [071226 21:17]:
> > How do you check if your disks are still ok?
> 
> i used to run cmp on the two mirrorred partitions to verify weekly
> that devfs hadn't missed anything. i would imagine if one of the disks
> went south cmp would fail.

Ah Thanks!

I have fs(3) configured as follows:

cpu% cat /dev/fs/ctl
mirror arenas /dev/sdD0/arenas /dev/sdD1/arenas
mirror isect /dev/sdD0/isect /dev/sdD1/isect
mirror fscfg /dev/sdD0/fscfg /dev/sdD1/fscfg

And my disks have been formatted and partitioned beforehand like this:

cpu% lc sdD0
arenas  ctl             data            fscfg           isect           plan9   
raw
cpu% lc sdD1
arenas  ctl             data            fscfg           isect           plan9   
raw

Still if I know run cmp against the arena partition from the running
system it says they differ, and ls says the same:

cpu% lc -ld sdD*
--rw-r----- S 0 bootes bootes 285779527168 Dec  5 03:37 arenas  --rw-r----- S 0 
bootes bootes 285777530368 Dec  5 03:37 arenas
--rw-r----- S 0 bootes bootes            0 Dec  5 03:37 ctl                     
--rw-r----- S 0 bootes bootes            0 Dec  5 03:37 ctl
--rw-r----- S 0 bootes bootes 300069052416 Dec  5 03:37 data    --rw-r----- S 0 
bootes bootes 300069052416 Dec  5 03:37 data
--rw-r----- S 0 bootes bootes          512 Dec  5 03:37 fscfg           
--rw-r----- S 0 bootes bootes          512 Dec  5 03:37 fscfg
--rw-r----- S 0 bootes bootes  14288976384 Dec  5 03:37 isect   --rw-r----- S 0 
bootes bootes  14288876544 Dec  5 03:37 isect
--rw-r----- S 0 bootes bootes 300068504064 Dec  5 03:37 plan9   --rw-r----- S 0 
bootes bootes 300066407424 Dec  5 03:37 plan9
-lrw------- S 0 bootes bootes            0 Dec  5 03:37 raw                     
-lrw------- S 0 bootes bootes            0 Dec  5 03:37 raw

I cannot see the /dev/fs directory from my server terminal so I
wonder if fs is even active? But if it is not I wonder how my venti
tells me it is using /def/fs/arenas for storage?

I guess that fs(3) is working properly otherwise it would not show
the correct configuration on a simple bind. But then why do the
disks differ and would it suffice to dd the contents of sdD0 to
sdD1 using the live cd?

Kind regards,

Christian



-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

Attachment: pgpLoKjfvBrHD.pgp
Description: PGP signature

Reply via email to