Chapter 6. Importing and Synchronizing 376. This sample command assumes the administrator wants to copy the contents of the CD/ISO(mounted in /mnt/import) into /var/rhn-sat-import/:cp -ruv /mnt/import/* /var/rhn-sat-import/7. Then unmount /mnt/import in preparation for the next CD or ISO:umount /mnt/import/8. Repeat these steps for each Content CD or ISO of every channel to be imported.6.2.3. Running the ImportThe rhns-satellite-tools package provides the satellite-sync program for managing allpackage, channel, and errata imports and synchronizations.The following process assumes in the previous step the user has copied all data to/var/rhn-sat-import.NoteThe trailing backslash (\) in all subsequent command examples is a continuation character; it maysafely be omitted. Long versions of all options are used in the examples for clarity. You may use shortversions where available.The first step in importing channels into the database is listing the channels available for import. Thisis accomplished with the command:satellite-sync --list-channels --mount-point /var/rhn-sat-importThe next step is to initiate the import of a specific channel. Do this using a channel label presented inthe previous list. The command will look like:satellite-sync -c rhel-i386-as-3 --mount-point /var/rhn-sat-importNoteImporting package data can take up to two hours per channel. But you may begin registering sys-tems to channels as soon as they appear in the RHN Satellite Server’s website. No packages arenecessary for registration, although updates cannot be retrieved from the Satellite until the channelis completely populated.You may repeat this step for each channel or include them all within a single command by passingeach channel label preceded by an additional -c flag, like so:satellite-sync -c channel-label-1 -c channel-label-1 --mount-point /var/rhn-sat-importThis conducts the following tasks in this order:1. Populating the tables describing common features for channels (channel families). This canalso be accomplished individually by passing the --step=channel-families option tosatellite-sync.