From owner-freebsd-sparc Wed Oct 30 0:30: 7 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C603837B401 for ; Wed, 30 Oct 2002 00:30:04 -0800 (PST) Received: from madlen.mts.ru (madlen.mts.ru [212.44.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F12F743E3B for ; Wed, 30 Oct 2002 00:30:02 -0800 (PST) (envelope-from tiamat@komi.mts.ru) Received: from cache2.inside.mts.ru ([192.168.10.3]) by madlen.mts.ru with SMTP id g9U8U0b29626 for ; Wed, 30 Oct 2002 11:30:01 +0300 (MSK) X-Envelope-To: Received: from stella.komi.mts.ru ([10.50.1.1]) by cache2.inside.mts.ru (NAVGW 2.5.2.12) with SMTP id M2002103011295726663 for ; Wed, 30 Oct 2002 11:29:59 +0300 Received: from dav (dav.komi.mts.ru [10.50.1.99]) (user=tiamat mech=NTLM bits=0) by stella.komi.mts.ru (MTS Komi/Smtp) with ESMTP id g9U8TrKW075390 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 30 Oct 2002 11:29:55 +0300 (MSK) (envelope-from tiamat@komi.mts.ru) Message-ID: <067f01c27fee$9b2fcba0$6301320a@dav> From: "Alex Deiter" To: Subject: Creating a Disk Label Date: Wed, 30 Oct 2002 11:30:28 +0300 Organization: MTS MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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