Date: Tue, 4 Apr 1995 08:25:16 -0500 (CDT) From: bob@obiwan.pmr.com (Bob Willcox) To: bde@zeta.org.au (Bruce Evans) Cc: freebsd-current@freefall.cdrom.com Subject: Re: Proper procedure to partition/label disk now? Message-ID: <m0rw8bd-00030UC@obiwan.pmr.com> In-Reply-To: <199504041131.VAA19165@godzilla.zeta.org.au> from "Bruce Evans" at Apr 4, 95 09:31:33 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > > >What is the correct way to partition and disklabel a disk now that > >the slice code is in -current? I have a disk that I just low-level > >formated (so it has *nothing* on it) that I would like to partition > >and disklabel for FreeBSD. How do I go about this? > > For using the whole disk for FreeBSD, just run disklabel. The man > page may actually be complete now that the 'd' partition isn't > special. This assumes that the disk really is clean, without > misleading junk in the partition table. Ok, I've done that. When I mount the filesystem (after having newfs'd it) I get the following messages: Apr 4 08:14:27 luke /kernel: sd2: invalid primary partition table: no magic Apr 4 08:14:27 luke /kernel: sd2: raw partition size != slice size Apr 4 08:14:27 luke /kernel: sd2: start 0, end 782599, size 782600 Apr 4 08:14:27 luke /kernel: sd2c: start 0, end 782335, size 782336 The first two seem to be complaining about the lack of a partition table. Here is the disklabel for the drive: # /dev/rsd2c: type: SCSI disk: IBM0661 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 382 sectors/unit: 782600 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 4 partitions: # size offset fstype [fsize bsize bps/cpg] a: 782336 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 381) c: 782336 0 unused 0 0 # (Cyl. 0 - 381) d: 782336 0 unused 0 0 # (Cyl. 0 - 381) > > Partitioning and labeling can be practiced on virtual (vn) drives. > See old commit mail. Ok, but this is simply a test drive so I have no problems practicing on it :-) I'm trying to understand how to do all of this stuff now for when I convert my primary system from 1.1.5.1 to 2.1. (It currently has 13 disks on it and lots of data I don't want to lose.) -- Bob Willcox bob@obiwan.pmr.com (or obiwan%bob@uunet.uu.net) Austin, TX
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0rw8bd-00030UC>