Subject: Disklabel problem
To: None <port-sparc@netbsd.org>
From: Laurent FAILLIE <l_faillie@yahoo.com>
List: port-sparc
Date: 04/22/2007 00:56:40
Hello,
I'm installing a new disk, sd2, on my SS5/NetBSD 2.1
and I will ccd it with another one, sd3.
sd2 at scsibus0 target 4 lun 0: <IBM, DCHS09F CLAR09,
HP53> disk fixed
sd2: 8578 MB, 6082 cyl, 18 head, 158 sec, 520
bytes/sect x 17298450 sectors
sd2: sync (100.00ns offset 15), 8-bit (10.000MB/s)
transfers, tagged queueing
sd3 at scsibus1 target 0 lun 0: <SEAGATE, ST15230N,
0638> disk fixed
sd3: 4095 MB, 3992 cyl, 19 head, 110 sec, 512
bytes/sect x 8386733 sectors
sd3: sync (100.00ns offset 15), 8-bit (10.000MB/s)
transfers, tagged queueing
I'm following ccd documentation :
http://netbsd.org/guide/en/chap-ccd.html
As there should be some old data on sd2, I'm trying
first to erase it as per the documentation but it
failed :
dd if=/dev/zero of=/dev/rsd2c bs=8k count=1
dd: /dev/rsd2c: Invalid argument
1+0 records in
0+0 records out
0 bytes transferred in 0.011 secs (0 bytes/sec)
Trying to disklabel it failed as well :
root # disklabel -e -I sd2
disklabel: /dev/rsd2c: Invalid argument
root # disklabel -e sd2
# /dev/rsd2c:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 520
sectors/track: 158
tracks/cylinder: 18
sectors/cylinder: 2844
cylinders: 6082
total sectors: 17298450
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize
cpg/sgs]
c: 17298450 0 unused 0 0
# (Cyl. 0 - 6082*)
=> disklabel: line 6: bad bytes/sector: 520
disklabel: sector size 0
re-edit the label? [y]:
Any tips to label this disk ?
Thanks & regards,
Laurent
The misspelling master is on the Web.
_________ 100 % Dictionnary Free !
/ /(
/ Dico / / Pleins d'autres fautes sur
/________/ /
(#######( / http://destroyedlolo.homeunix.org
Quoi, des fautes d'orthographe! Pas possible ;-D.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com