From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: resizing an LSM filesystem...
Date: 1996/12/04 [thread overview]
Message-ID: <584pe5$bq1@dogbert.cc.ndsu.NoDak.edu> (raw)
In-Reply-To: 32A5C903.15FB@laurel.humboldt.edu
[posted & cc'ed]
In article <32A5C903.15FB@laurel.humboldt.edu>,
Jim Hubbard <hubbard@laurel.humboldt.edu> wrote:
> I have added a disk to an LSM volume. Now I can't get the fs
> to grow to the new size. I have searched through the LSM manual
> and haven't found anything about growing a filesystem. I sure
> hope I don't have to create a new filesystem and restore!
Although LSM supports growing a volume, if a filesystem resides on that
that volume the filesystem will *not* grow with the volume. If you're using
UFS you're out of luck -- there is no way to increase the space available to
the filesystem other than either using `tunefs' to steal from minfree or
using `newfs' to recreate the filesystem.
If you're using AdvFS, you have another option. You still don't want to
extend a volume that is already part of an AdvFS file domain *but* you
can make use of the AdvFS ability to have more than one volume in a file
domain. Instead of extending the volume that the AdvFS domain resides on,
create a new LSM volume and use the AdvFS Utility `addvol' to add the new
volume to the filedomain. Be advised that the AdvFS utilities require a
special license. If your machines are covered under the CSLG or the machine
in question has a NAS 200 or NAS 300 license and has been appropriately
NAS'ized, you have access to the AFA license. Otherwise you may not.
The *only* time you would want to use the LSM ability to grow a volume with
something on it is if you have a filesystem on the volume that knows how
to grow (UFS and AdvFS do not, but there may be other FS implementations
for DU (e.g. Veritas) that do) *or* you have something on the volume
(other than a filesystem, such as some smart DB) that can take advantage
of the extra space you're giving it.
You could also grow a volume that doesn't currently have anything on it. This
is useful when used in conjunction with the AdvFS `addvol' and `rmvol'
utilities. If you discover that you're running out of space in an AdvFS
domain you could add a temporary volume to the domain, remove the original
volume (data will be migrated automatically by rmvol; use the -v flag to watch
it go :-) ), extend the original volume now that it's not associated with the
file domain, add the original volume back to the file domain, and finally
remove the temp volume. That's a lot of work -- it's much easier just to
add a second volume to the domain, but you may have a Really Good Reason
to want to extend the original rather than permanently add a second volume.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
prev parent reply other threads:[~1996-12-04 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-04 5:00 resizing an LSM filesystem Jim Hubbard
1996-12-04 5:00 ` Tim Mooney [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox