Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* resizing an LSM filesystem...
@ 1996-12-04  5:00 Jim Hubbard
  1996-12-04  5:00 ` Tim Mooney
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Hubbard @ 1996-12-04  5:00 UTC (permalink / raw)



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!

Thanks for any help in advance!
Jim.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: resizing an LSM filesystem...
  1996-12-04  5:00 resizing an LSM filesystem Jim Hubbard
@ 1996-12-04  5:00 ` Tim Mooney
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Mooney @ 1996-12-04  5:00 UTC (permalink / raw)



[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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-04  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-04  5:00 resizing an LSM filesystem Jim Hubbard
1996-12-04  5:00 ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox