From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 28 Sep 2007 16:02:46 +0200 From: Christian Kellermann To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Message-ID: <20070928140246.GA22503@hermes.my.domain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 Subject: [9fans] fs(3) issues ('clear' missing and mirror question) Topicbox-Message-UUID: c6cc4786-ead2-11e9-9d60-3106f5b1d025 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear List, 1) I have been playing with fs(3). Unfortunately the clear command mentioned in the man page does not seem to exist. cpu% echo clear > /dev/fs/ctl echo: write error: unknown control message "clear" whereas fs(3) says: clear Discard all fs device definitions. One of each is wrong here ;) 2) I wanted to use fs(3) to setup mirrored venti arenas, and indeces. Now with fs I only get one device after a=20 echo mirror m0 /dev/sdC1/data /dev/sdD0/data > /dev/fs/ctl I have read in earlier threads that it is possible to disk/part the m0 device. How can I specify the partitions later on? Also This seems to fail: cpu% disk/prep -a^(isect arenas fscfg) /dev/fs/m0 > /dev/fs/ctl=20 no plan9 partition table found fscfg 1 arenas 558164159 isect 27908208 ' fscfg 0 1 (1 sectors, 512 B ) ' arenas 1 558164160 (558164159 sectors, 266.15 GB) ' isect 558164160 586072368 (27908208 sectors, 13.30 GB) >>> w adding part failed: fscfg: wrong #args in control message "part fscfg 0 1" adding part failed: arenas: wrong #args in control message "part arenas 1 558164160" adding part failed: isect: wrong #args in control message "part isect 558164160 586072368" ?warning: partitions could not be updated in devsd >>> q Is this supposed to work? Doing it a second time disk/part tells me: cpu% disk/prep -a^(isect arenas fscfg) /dev/fs/m0 > /dev/fs/ctl partitions already exist; not repartitioning >>> q The '>/dev/fs/ctl' part comes from a mail from erik (Message-ID: 2cb5e9b012d84b84ab0216685114e141 () coraid ! com ) Should I mirror each partition separately then? Thanks for your precious time, Christian --=20 You may use my gpg key for replies: pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen) --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (OpenBSD) iD8DBQFG/QmFXYob3Uf3l4gRAiwKAKCxRqPR6tEDWdR3EVEY2FNDTahKtACgxKNc 6rK2XcwkO85fbmYS5wP2W9s= =ILcB -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--