Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 11:23:12 -0500
From:      Dave Kingsley <kingsled@enc.edu>
To:        stable@FreeBSD.org
Subject:   disklabel not writeable
Message-ID:  <3E37FFF0.50405@enc.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E37FFF0.50405>