From owner-freebsd-sparc Thu Oct 31 6:16:49 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 6996637B401 for ; Thu, 31 Oct 2002 06:16:47 -0800 (PST) Received: from madlen.mts.ru (madlen.mts.ru [212.44.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8369343E3B for ; Thu, 31 Oct 2002 06:16:43 -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 g9VEGYb18602 for ; Thu, 31 Oct 2002 17:16:39 +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 M2002103117163024896 ; Thu, 31 Oct 2002 17:16:32 +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 g9VEGRTX055296 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 31 Oct 2002 17:16:27 +0300 (MSK) (envelope-from tiamat@komi.mts.ru) Message-ID: <081601c280e8$3104c780$6301320a@dav> From: "Alex Deiter" To: "Jake Burkholder" Cc: References: <067f01c27fee$9b2fcba0$6301320a@dav> <20021030111111.D22677@locore.ca> Subject: Re: Creating a Disk Label: fsck don't work Date: Thu, 31 Oct 2002 17:17:04 +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 # uname -a FreeBSD serafima 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Oct 30 10:15:02 MSK 2002 sparc64 # disklabel -w -r -B da0 auto # disklabel -e -r da0 ...edit # disklabel -r da0 # /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] a: 71132959 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 4427*) c: 71132959 0 unused 0 0 # (Cyl. 0 - 4427*) serafima# newfs /dev/da0a newfs: /dev/da0a: No such file or directory serafima# ls -l /dev/da0* crw-r----- 1 root operator 4, 0 Oct 31 18:01 /dev/da0 crw-r----- 1 root operator 4, 6 Oct 31 18:01 /dev/da0c # reboot ....after reboot... # ls -l /dev/da0* crw-r----- 1 root operator 4, 0 Oct 31 18:04 /dev/da0 crw-r----- 1 root operator 4, 1 Oct 31 18:04 /dev/da0a crw-r----- 1 root operator 4, 2 Oct 31 18:04 /dev/da0c # newfs /dev/da0a /dev/da0a: 34732.9MB (71132956 sectors) block size 16384, fragment size 2048 using 190 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544, .... 70324000, 70700064, 71076128 # echo $? 0 # fsck /dev/da0a fsck: cannot get disklabel for `/dev/da0a': Inappropriate ioctl for device What to do? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message