From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,de415d2905e853f8 X-Google-Attributes: gidfee84,public From: oberman@icaen.llnl.gov Subject: RE: Moving File Systems to Larger Disk? Date: 1995/10/12 Message-ID: <45hjv2$rtb@lll-winken.llnl.gov>#1/1 X-Deja-AN: 117440178 references: <45he5q$769@news.nic.com> organization: Lawrence Livermore National Laboratory newsgroups: comp.unix.osf.osf1 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