Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: oberman@icaen.llnl.gov
Subject: RE: Moving File Systems to Larger Disk?
Date: 1995/10/12	[thread overview]
Message-ID: <45hjv2$rtb@lll-winken.llnl.gov> (raw)
In-Reply-To: 45he5q$769@news.nic.com

In Article <45he5q$769@news.nic.com>
bbp@nic.com (Bruce B. Platt) writes:
>What's the best way to move a complete set of file systems to a new disk?
>
>Is the best way to do this to dump to tape, make newfs on the new disk, 
>then restore from tape,  Or is there is way to bypass the dumping and 
>restoring from tape?

Yes. dump to stdout and pipe it to restore. The restore man page has an
example. See the -f option.

  -f dump_file
            When an argument follows the -f modifier flag, it is used as the
            name of the archive device, replacing the default tape device
            /dev/rmt0h.  When the argument is the character - (dash), restore
            or rrestore reads from standard input.  Thus, dump and restore or
            rdump and rrestore may be used in a pipeline expression to copy
            file systems with the following typical command:
                 dump  -0f  -  /usr  |  (cd /mnt;  restore  -xf  -)

R. Kevin Oberman			
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov		+1 510-422-6955



  reply	other threads:[~1995-10-12  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-11  4:00 Moving File Systems to Larger Disk? Bruce B. Platt
1995-10-12  4:00 ` oberman [this message]
1995-10-13  4:00 ` Andrew Sheaff
1995-10-14  4:00 ` Tim W. Janes
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