Subject: Extra Disk
To: None <port-alpha@netbsd.org>
From: Ray Phillips <r.phillips@mailbox.uq.edu.au>
List: port-alpha
Date: 07/27/2000 15:48:01
Dear NetBSD/Alpha:
Would someone be kind enough to answer what I'm sure are some
embarrassingly simple questions, please?
I want to add one extra hard disk to one 3000/400 (which is running
NetBSD/Alpha 1.4.2) and three extra disks to another. I've followed the
instructions at http://www.netbsd.org/Documentation/misc/#adding-a-disk and
progressed as far as the part in Step 6 which says "vi foo # if you know
what to do." (i.e. the foo generated by "disklabel sd1 > foo") That's
where I begin to need assistance.
I've appended to this email the lines from dmesg which relate to the the
three disks involved: the existing system disk (an RZ1CF-AF) and the two
extras an RZ26 and another RZ1CF-AF. I've also included the output from
"disklabel sd1" for the two extras -- I attached the two types to the same
3000/400 in turn to generate this output. As you'll notice, the RZ26
currently has existing partitions, but I want to delete those and have just
one data partion occupying all of the space on each extra disk.
Could someone show me what foo should look like before I execute the next
step in the process, viz. "disklabel -r R sd1 foo"?
Is this the correct syntax for the next step?
newfs /rsd1c
Currently /etc/fstab is
/dev/sd0a / ffs rw 1 1
/dev/sd0b none swap sw 0 0
/dev/sd0d /usr ffs rw 1 2
/kern /kern kernfs rw
When I add a line for each new file system to /etc/fstab is it important
that the one beginning with "/kern" remains the last one in the file?
Since there'll be only one partition on my extra disks I'll need to add a
line such as
/dev/sd1c /home1 ffs rw 1 2
correct?
Apparently there's no need to edit /etc/disktab?
Ray Phillips
Data for RZ26
-------------
probe(asc0:2:0): max sync rate 5.00Mb/s
sd0 at scsibus0 targ 2 lun 0: <DEC, RZ1CF-AF (C) DEC, 1614> SCSI2 0/direct
fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
probe(asc0:3:0): max sync rate 5.00Mb/s
sd1 at scsibus0 targ 3 lun 0: <DEC, RZ26 (C) DEC, T386> SCSI2 0/direct
fixed
sd1: 1001MB, 2570 cyl, 14 head, 57 sec, 512 bytes/sect x 2050860 sectors
# /dev/rsd1c:
type: SCSI
disk: rz26
label:
flags:
bytes/sector: 512
sectors/track: 57
tracks/cylinder: 14
sectors/cylinder: 798
cylinders: 2570
total sectors: 2050860
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 82554 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 103*)
b: 248768 82554 unused 1024 8192 # (Cyl. 103*- 415*)
c: 2050860 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2569)
d: 248768 82554 unused 1024 8192 # (Cyl. 103*- 415*)
e: 248768 82554 unused 1024 8192 # (Cyl. 103*- 415*)
f: 248768 82554 unused 1024 8192 # (Cyl. 103*- 415*)
g: 1719538 331322 4.2BSD 1024 8192 16 # (Cyl. 415*- 2569)
h: 248768 82554 unused 1024 8192 # (Cyl. 103*- 415*)
Data for RZ1CF-AF
-----------------
probe(asc0:2:0): max sync rate 5.00Mb/s
sd0 at scsibus0 targ 2 lun 0: <DEC, RZ1CF-AF (C) DEC, 1614> SCSI2 0/direct
fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
probe(asc0:3:0): max sync rate 5.00Mb/s
sd1 at scsibus0 targ 3 lun 0: <DEC, RZ1CF-AF (C) DEC, 1614> SCSI2 0/direct
fixed
sd1: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd1: no disk label
# /dev/rsd1c:
type: SCSI
disk: RZ1CF-AF (C) DE
label: fictitious
flags:
bytes/sector: 512
sectors/track: 113
tracks/cylinder: 20
sectors/cylinder: 2260
cylinders: 3708
total sectors: 8380080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize cpg]
Jul 26 17:50:41 egalite /netbsd: sd1: no disk label
c: 8380080 0 unused 0 0 # (Cyl. 0 - 3707)
disklabel: boot block size 0
disklabel: super block size 0