
To be added when it reboots, if necessary. (Optional) Create the /reconfigure file so that the system will recognize the destination disk.Become superuser or assume an equivalent role.Make sure the system is in single-user mode when copying a disk with the dd command. Make sure that the source disk and destination disk have the same disk geometry.Ĭheck the UFS file systems on the disk to be copied with the fsck utility. If you are still considering copying a disk with the dd command keep If you are copying a disk with an EFI disk label, see Example 27-2. For more information about creating a flash archive, see Oracle Solaris 10 8/11 Installation Guide: Solaris Flash Archives (Creation and Installation).
#Using disk copy in basilisk ii archive#
You can clone systems by creating a flash archive and copying it to destination systems. For more information on using these commands, see Chapter 22, Backing Up and Restoring UFS File Systems (Overview). The primary methods for copying UFS file system data from one disk or system to another disk or system is by using the ufsdump and ufsrestore commands. Keep the following key points in mind when you consider copying aĭo not use this procedure to copy a disk that is under the control of a volume manager.
#Using disk copy in basilisk ii how to#
The following: $ dd if=/floppy/floppy0 of=/tmp/output.file How to Copy a Disk ( dd) To use the keyword= value pairs instead of the redirect symbols, you would type Input and standard output with this syntax: $ dd if= input-file of= output-file Options are specifiedĪs keyword= value pairs, where keyword is the option you want to set and The dd command syntax is different from most other commands. The number after the + is a count of the partial blocks that The dd command reports on the number of blocks it reads and writes. In this example, the contents of the diskette areĬopied to a file in the /tmp directory: $ dd /tmp/output.file You can specify a device name in place of standard input or Note - Do not use the dd command with variable-length tape drives without first specifying How to Retrieve Files From a Diskette ( tar) How to List the Files on a Diskette ( tar) How to Copy Files to a Single Formatted Diskette ( tar) What You Should Know When Copying Files to Diskettes How to Extract Files From a Remote Tape DeviceĬopying Files and File Systems to Diskette How to Copy Files to a Remote Tape Device ( tar and dd) How to Retrieve Specific Files From a Tape ( cpio) How to Retrieve All Files From a Tape ( cpio) How to Copy All Files in a Directory to a Tape ( cpio) How to Copy Directories Between File Systems ( cpio)Ĭopying Files to a Tape With the pax CommandĬopying Files to Tape With the cpio Command Copying Files and File Systems (Tasks)Ĭopying Directories Between File Systems ( cpio Command) UFS Backup and Restore Commands (Reference)Ģ7. Restoring UFS Files and File Systems (Tasks)Ģ6. Backing Up UFS Files and File Systems (Tasks)Ģ5. Backing Up and Restoring UFS File Systems (Overview)Ģ3. Checking UFS File System Consistency (Tasks)Ģ2. Configuring Additional Swap Space (Tasks)Ģ0. Creating and Mounting File Systems (Tasks)ġ8. Configuring Oracle Solaris iSCSI Targets and Initiators (Tasks)ġ7. Using InfiniBand Devices (Overview/Tasks)ġ4. Dynamically Configuring Devices (Tasks)ĩ.
