Subject: disklabel modification for RAID mirror
To: None <current-users@netbsd.org>
From: mel kravitz <melk@switchpwr.com>
List: current-users
Date: 09/12/2000 13:45:27
This is a multi-part message in MIME format.
--------------43FBBCF514E022F8818A0280
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Can the enclosed disklabel wd0 be modified for Raid 1 use with a second
wd1 drive by simple change of fstype 4.2BSD (wd0e) to RAID , this drive
is 4.3GB with 500MB used by wd0e /usr? I realize after changing
disklable on wd0 i will need to run /usr/mdec/installboot
/usr/mdec/bioosboot.sym/dev/rwd0a to reinstall the boot sector.
-mel

--------------43FBBCF514E022F8818A0280
Content-Type: text/plain; charset=us-ascii;
 name="disklabel.wd0"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="disklabel.wd0"

# /dev/rwd0d:
type: unknown
disk: mydisk
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 8944
total sectors: 8452080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   436527       63     4.2BSD     1024  8192    16   # (Cyl.    0*- 461)
  b:   788130   436590       swap                        # (Cyl.  462 - 1295)
  c:  8452017       63     unused        0     0         # (Cyl.    0*- 8943)
  d:  8452080        0     unused        0     0         # (Cyl.    0 - 8943)
  e:  7227360  1224720     4.2BSD     1024  8192    16   # (Cyl. 1296 - 8943)

--------------43FBBCF514E022F8818A0280--