From owner-freebsd-stable Wed Jun 19 9:46:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.amigo.net (smtp1.amigo.net [209.94.64.30]) by hub.freebsd.org (Postfix) with ESMTP id 4B63737B40B for ; Wed, 19 Jun 2002 09:46:35 -0700 (PDT) Received: from stalker.amigo.net (billing.amigo.net [209.94.67.250]) by smtp1.amigo.net (8.11.4/8.11.4) with ESMTP id g5JGnJk36524; Wed, 19 Jun 2002 10:49:20 -0600 (MDT) (envelope-from randys@amigo.net) Date: Wed, 19 Jun 2002 10:47:02 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: Paul Mather Cc: freebsd-stable@freebsd.org Subject: Re: vinum question In-Reply-To: <20020619160211.GA41355@gromit.dlib.vt.edu> Message-ID: <20020619101609.O6594-100000@stalker.amigo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 19 Jun 2002, Paul Mather wrote: > Date: Wed, 19 Jun 2002 12:02:11 -0400 > From: Paul Mather > To: Randy Smith > Subject: Re: vinum question > > Randy, > > => 1 volumes: > => V cgate State: up Plexes: 1 Size: 34 GB > > It sure looks like vinum thinks you have a 34 GB volume. > > => # df (Other drives ommitted) > => Filesystem 1K-blocks Used Avail Capacity Mounted on > => /dev/vinum/cgate 17368942 15736869 242558 98% /drive1 > > What is the output of "disklabel /dev/vinum/cgate"? Does it show 34 > GB worth of sectors. Here is the disklabel of a concat plex I have on my > system (intended to work similar to yours): > > >>>>> > V files State: up Plexes: 1 Size: 69 GB > P files.p0 S State: up Subdisks: 2 Size: 69 GB > S files.p0.s0 State: up PO: 0 B Size: 34 GB > S files.p0.s1 State: up PO: 576 kB Size: 34 GB > > disklabel /dev/vinum/files > # /dev/vinum/files: > type: Vinum > disk: vinum > label: file > flags: > bytes/sector: 512 > sectors/track: 144877824 > tracks/cylinder: 1 > sectors/cylinder: 144877824 > cylinders: 1 > sectors/unit: 144877824 > rpm: 14400 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 3 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 144877824 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 0) > b: 144877824 0 swap # (Cyl. 0 - 0) > c: 144877824 0 unused 0 0 # (Cyl. 0 - 0) > <<<<< > > If the disklabel for your /dev/vinum/cgate is < 34 GB, newfs will not > be able to create a 34 GB filesystem on it. (Did you remember to use > "-v" for newfs?) > disklabel looks OK. # /dev/vinum/cgate: type: Vinum disk: vinum label: cgat flags: bytes/sector: 512 sectors/track: 71601049 tracks/cylinder: 1 sectors/cylinder: 71601049 cylinders: 1 sectors/unit: 71601049 rpm: 14400 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 3 partitions: # size offset fstype [fsize bsize bps/cpg] a: 71601049 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 0) b: 71601049 0 swap # (Cyl. 0 - 0) c: 71601049 0 unused 0 0 # (Cyl. 0 - 0) I'm a little tired but it looks like 34 MB to me. I ran newfs -v on it when I first created the volume on vinumdisk0. I didn't do it when I attached the second subdisk. (The volume has been in use a while and wiping the FS is not really an option.) vinum(8) says that "It is possible to increase the size of a concatenated vinum plex ..." so I would think that it could handle it. Maybe I'm wrong. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message