From owner-freebsd-stable Wed Jan 29 8:17:44 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 632F837B401 for ; Wed, 29 Jan 2003 08:17:42 -0800 (PST) Received: from ruth.r.its.enc.edu (fw1.enc.edu [63.85.52.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 404C443F75 for ; Wed, 29 Jan 2003 08:17:41 -0800 (PST) (envelope-from kingsled@enc.edu) Received: from noah.enc.edu (r1s5.r.its.enc.edu [10.100.0.15]) by ruth.r.its.enc.edu (8.12.3/8.12.3) with ESMTP id h0TFp8VS030740 for ; Wed, 29 Jan 2003 10:51:08 -0500 (EST) (envelope-from kingsled@enc.edu) Received: from enc.edu (jezebel.its.enc.edu [10.1.10.46]) by noah.enc.edu (8.12.3/8.12.3) with ESMTP id h0TGQBej080630 for ; Wed, 29 Jan 2003 11:26:11 -0500 (EST) (envelope-from kingsled@enc.edu) X-Authentication-Warning: noah.enc.edu: Host jezebel.its.enc.edu [10.1.10.46] claimed to be enc.edu Message-ID: <3E37FFF0.50405@enc.edu> Date: Wed, 29 Jan 2003 11:23:12 -0500 From: Dave Kingsley User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20030117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@FreeBSD.org Subject: disklabel not writeable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to set up vinum on a FreeBSD 5.0 system. To do so I need to write the disk label to set vinum as the file type for the partition I want to use. The response to disklabel -e -r /dev/da0s3 is "disklabel: /dev/da0s3: Operation not permitted" The man page states that "disklabel -W /dev/da0s3" should make the label writable, but I get the same error message. If I look at the label I get: luke# disklabel -r /dev/da0s3 # /dev/da0s3: type: SCSI disk: da0s3 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4462 sectors/unit: 71686144 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] b: 8388608 12562830 swap # (Cyl. 782 - 1304*) c: 59119200 12562830 unused 0 0 # (Cyl. 782 - 4461) d: 50730592 20951438 4.2BSD 2048 16384 28512 # (Cyl. 1304*- 4461*) Warning, partition c doesn't start at 0! Warning, partition c doesn't cover the whole unit! Warning, An incorrect partition c may cause problems for standard system utilities The warnings are the same no matter what slice I look at. Help! -- Dave -- Dave Kingsley Voice: 617-745-3806 Systems Administrator FAX: 617-745-3907 Eastern Nazarene College 23 E. Elm Avenue E-mail: kingsled@enc.edu Quincy, MA 02170 *************************************************************** There are 10 types of people . . . . Those who understand binary, And those who don't! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message