Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 11:30:28 +0300
From:      "Alex Deiter" <tiamat@komi.mts.ru>
To:        <sparc64@FreeBSD.ORG>
Subject:   Creating a Disk Label
Message-ID:  <067f01c27fee$9b2fcba0$6301320a@dav>

next in thread | raw e-mail | index | archive | help
I cannot create disk label on new HDD:

# uname -a
FreeBSD serafima 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Oct 30 10:15:02 MSK
2002     root@selma.komi.mts.ru:/usr/obj/usr/src/sys/NET  sparc64

# mount
1.1.1.1:/devel/sparc64/netboot on / (nfs, read-only)
devfs on /dev (devfs, local)
/dev/md1 on /var (ufs, local, soft-updates)
/dev/md2 on /tmp (ufs, local, soft-updates)

# dmesg | grep da0
da0 at sym0 bus 0 target 0 lun 0
da0: <SEAGATE ST336605LSUN36G 0638> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)

# ls -l /dev/da0*
crw-r-----  1 root  operator    4,   0 Oct 30 12:16 /dev/da0
crw-r-----  1 root  operator    4,  10 Oct 30 12:17 /dev/da0c

# disklabel -w -r -B -n da0 auto
Warning, write to disk label supressed - label was as follows:
# /dev/da0c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4427
sectors/unit: 71132959
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 bps/cpg]
  c: 71132959        0    unused        0     0         # (Cyl.    0 -
4427*)

# disklabel -w -r -B da0 auto

# disklabel da0
disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device

Why ?

Thanks!

--
Deiter Alex,
Mobile TeleSystems, Komi Republic


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?067f01c27fee$9b2fcba0$6301320a>