Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 1999 16:00:25 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        freebsd-questions@freebsd.org
Subject:   vinum-- resizing disks
Message-ID:  <19990501210026.357911DC5@spawn.nectar.com>

next in thread | raw e-mail | index | archive | help
Hi,

After running for a couple of months with about half of my storage
space under vinum, I am happy enough with the results to wish to move
all my storage to vinum volumes. (Great work Greg!)  In order to do
so, I'll need to resize the vinum disk objects, and I wonder if that
is possible.

Each drive on my system is partitioned into a-f (for on which I have
swap and UFS filesystems), and h (which I use for vinum). e.g.

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   128520        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 7)
  b:   128520   128520      swap                        # (Cyl.    8 - 15)
  c: 17912412        0    unused        0     0         # (Cyl.    0 - 1114*)
  e:  4112640   257040    4.2BSD     1024  8192  8192   # (Cyl.   16 - 271)
  f:  4112640  4369680    4.2BSD     1024  8192  8192   # (Cyl.  272 - 527)
  h:  9430092  8482320     vinum                        # (Cyl.  528 - 1114*)

Now, I wonder can I backup partions e and f, delete them, and then resize
h to allocate the storage to vinum? e.g. I want to wind up with:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   128520        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 7)
  b:   128520   128520      swap                        # (Cyl.    8 - 15)
  c: 17912412        0    unused        0     0         # (Cyl.    0 - 1114*)
  h: 17655372   257040     vinum     1024  8192  8192   # (Cyl.   16 - 1114*)

I imagine that I'm just going to have to back everything up and 
start over, but I thought I'd ask first.

Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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