27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

# mount 9.60.18.240:/nfs/rhel6/dvd1 /mnt<br />

# ls /mnt<br />

boot.cat RELEASE-NOTES-es-ES.html RELEASE-NOTES-pt-BR.html<br />

EULA RELEASE-NOTES-fr-FR.html RELEASE-NOTES-ru-RU.html<br />

...<br />

► Create a local directory of the same name and recursively copy the tree with the cp -a<br />

command:<br />

# mkdir -p /nfs/rhel6<br />

# cd /mnt<br />

# rsync -av * /nfs/rhel6<br />

sending incremental file list<br />

EULA<br />

GPL<br />

...<br />

sent 2758827676 bytes received 56977 bytes 9180980.54 bytes/sec<br />

total size is 2758270745 speedup is 1.00<br />

This command will take some time, perhaps 5-<strong>10</strong> minutes depending on network speeds.<br />

► Unmount the RHEL 6 install tree and repeat the process to copy the files associated with<br />

this book:<br />

# cd /<br />

# umount /mnt<br />

# mount 9.60.18.240:/nfs/virt-cookbook-RH6 /mnt<br />

# mkdir /nfs/virt-cookbook-RH6<br />

# cd /mnt<br />

# rsync -av * /nfs/virt-cookbook-RH6<br />

sending incremental file list<br />

README.txt<br />

clone.sh<br />

vm/<br />

vm/chpw6<strong>10</strong>.xedit<br />

vm/cp<strong>for</strong>mat.exec<br />

vm/profile.exec<br />

vm/sample.conf-rh6<br />

vm/sample.parm-rh6<br />

vm/swapgen.exec<br />

sent 65178 bytes received 168 bytes 130692.00 bytes/sec<br />

total size is 64620 speedup is 0.99<br />

► Now that the files are copied, unmount the /mnt/ directory. <strong>The</strong>n view the files that you<br />

copied:<br />

# cd ..<br />

# umount /mnt/<br />

# cd /nfs/virt-cookbook-RH6<br />

# ls -F<br />

README.txt clone-1.0-<strong>10</strong>.s390x.rpm vm/<br />

<strong>The</strong> RPM clone-1.0-<strong>10</strong>.s390x.rpm contains files <strong>for</strong> use later in “Configuring RHEL 6 <strong>for</strong><br />

cloning” on page 145.<br />

7.2.2 Retiring the PC NFS server<br />

You have now copied all files related to this book to the cloner. You should be in a position to<br />

retire your PC NFS server, if you desire. <strong>The</strong> remainder of the book will use files located on<br />

the cloner instead of the files on the PC NFS server.<br />

120 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!