9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Christian Kellermann <Christian.Kellermann@nefkom.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] ata drive capabilities
Date: Thu, 27 Dec 2007 19:12:44 +0100	[thread overview]
Message-ID: <20071227181244.GG16180@hermes.my.domain> (raw)
In-Reply-To: <14ec7b180712261213p68de8b5bp8bc4a07a9f06ec2f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]

* andrey mirtchovski <mirtchovski@gmail.com> [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 #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-12-27 18:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-25 21:40 Christian Kellermann
2007-12-25 21:48 ` Pietro Gagliardi
2007-12-25 23:59 ` erik quanstrom
2007-12-26  6:31   ` ron minnich
2007-12-26 13:10     ` erik quanstrom
2007-12-26 19:52       ` Christian Kellermann
2007-12-26 20:13         ` andrey mirtchovski
2007-12-27 18:12           ` Christian Kellermann [this message]
2007-12-26 23:58         ` Robert William Fuller
2007-12-27  2:34         ` erik quanstrom
2007-12-26  7:44 Joshua Wood
2007-12-26 13:18 ` roger peppe
2007-12-26 18:15   ` erik quanstrom
2007-12-26 16:22 Joshua Wood
2007-12-26 18:14 ` erik quanstrom
2007-12-27  6:22 Joshua Wood
2007-12-27  7:28 ` erik quanstrom
2007-12-27  9:01 Joshua Wood
2007-12-27 15:15 ` Brantley Coile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071227181244.GG16180@hermes.my.domain \
    --to=christian.kellermann@nefkom.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).