9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mbr: writing MBR: i/o error
@ 2004-09-30 15:28 Matthias Teege
  2004-09-30 17:09 ` Steve Simon
       [not found] ` <8fdfb08c3063b28cc6b32492bc01b092@quintile.net>
  0 siblings, 2 replies; 3+ messages in thread
From: Matthias Teege @ 2004-09-30 15:28 UTC (permalink / raw)
  To: 9fans

Moin,

i'm waiting for my new server hardware and in the meantime I'm playing
with a fossil setup in vmware. There are two virtual disks (/dev/sdC0,
/dev/sdD0) in the virtual machine and I've setup a standard fossil
plan 9 from ISO image. The setup of the first setup looks like this:

9fat                  0 204800     (204800 sectors, 100.00 MB)
nvram            204800 204801     (1 sectors, 512 B )
swap             204801 409601     (204800 sectors, 100.00 MB)
fossil           409601 2506753    (2097152 sectors, 1.00 GB)
isect           2506753 3121153    (614400 sectors, 300.00 MB)
arenas          3121153 8385867    (5264714 sectors, 2.51 GB)

Venti isn't initialized yet. Now I try to prepare the second disk. I
try to mirror fossil and venti on the second disk. First I try to run
disk/mbr -m /386/mbr /dev/sdD0/data. It gives me mbr: writing MBR: i/o
error. What do I missing? Is it necessary to setup the second disk
exactly like the first one?

Thanks,
Matthias


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] mbr: writing MBR: i/o error
  2004-09-30 15:28 [9fans] mbr: writing MBR: i/o error Matthias Teege
@ 2004-09-30 17:09 ` Steve Simon
       [not found] ` <8fdfb08c3063b28cc6b32492bc01b092@quintile.net>
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Simon @ 2004-09-30 17:09 UTC (permalink / raw)
  To: mteege, 9fans

Have you prep'ed the seccond disk?

disk/fdisk tweeks the MSDOS partition table, allowing you to make a plan9 slice
disk/prep	tweeks the plan9 partition table inside the plan9 slice.

look at the contents of 
	cat /dev/sd[CD]0/ctl
which is filled in with the partitions as configured by disk/prep.

-Steve


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] mbr: writing MBR: i/o error
       [not found] ` <8fdfb08c3063b28cc6b32492bc01b092@quintile.net>
@ 2004-09-30 17:22   ` Matthias Teege
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Teege @ 2004-09-30 17:22 UTC (permalink / raw)
  To: Steve Simon; +Cc: 9fans

On Thu, 30 Sep 2004 18:09:53 +0100, Steve Simon <steve@quintile.net> wrote:
> Have you prep'ed the seccond disk?

I'm so stupid, I try to write an mbr to the cdrom instead of the disk.
The second disk
ist /dev/sdC1.

> look at the contents of
>         cat /dev/sd[CD]0/ctl

Yes, this helps ;-)

Many thanks
Matthias


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-30 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 15:28 [9fans] mbr: writing MBR: i/o error Matthias Teege
2004-09-30 17:09 ` Steve Simon
     [not found] ` <8fdfb08c3063b28cc6b32492bc01b092@quintile.net>
2004-09-30 17:22   ` Matthias Teege

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).