xref: /titanic_41/usr/src/man/man1m/volcopy_ufs.1m (revision a970c705050f9e90c4b6d7982a9b3211719353fb)
te
Copyright 1989 AT&T, Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
VOLCOPY_UFS 1M "Apr 15, 2003"
NAME
volcopy_ufs - make an image copy of a ufs file system
SYNOPSIS

volcopy [-F ufs] [generic_options] fsname srcdevice volname1 destdevice volname2
DESCRIPTION

volcopy makes a literal copy of the ufs file system using a blocksize matched to the device.

OPTIONS

The following option is supported: generic_options

options supported by the generic volcopy command. See volcopy(1M).

OPERANDS

The following operands are supported: fsname

represents the mount point (for example, root, u1, etc.) of the file system being copied.

srcdevice or destdevice

the disk partition specified using the raw device (for example, /dev/rdsk/cld0s8, /dev/rdsk/cld1s8, etc.).

srcdevice and volname1

the device and physical volume from which the copy of the file system is being extracted.

destdevice and volname2

the target device and physical volume.

fsname and volname are limited to six or fewer characters and recorded in the superblock. volname may be `-' to use the existing volume name.

EXIT STATUS

The following exit values are returned: 0

Successful file system copy.

non-zero

An error has occurred.

FILES
/var/adm/filesave.log

a record of file systems/volumes copied

SEE ALSO

cpio(1), dd(1M), labelit(1M), volcopy(1M), attributes(5), ufs(7FS)

NOTES

volcopy does not support copying to tape devices. Use dd(1M) for copying to and from tape devices.