Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manual de instalación Pagina 181

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 296
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 180
Chapter 9. Configuring RHEL 6 for cloning 161
Mounting the newly copied root file system
To mount the newly copied root file system, perform the following steps:
1. Use the lsdasd command to show the minidisks that are accessible. The target root file
system is on the disk accessed as virtual device address 2100.
# lsdasd
Bus-ID Status Name Device Type BlkSz Size Blocks
==============================================================================
0.0.0100 active dasda 94:0 ECKD 4096 2347MB 600840
0.0.0300 active dasdb 94:4 FBA 512 256MB 524288
0.0.0301 active dasdc 94:8 FBA 512 512MB 1048576
0.0.0101 active dasdd 94:12 ECKD 4096 2347MB 600840
0.0.0102 active dasde 94:16 ECKD 4096 2347MB 600840
0.0.2100 active dasdf 94:20 ECKD 4096 2347MB 600840
0.0.2101 active dasdg 94:24 ECKD 4096 2347MB 600840
2. The device is /dev/dasdf and the first partition is /dev/dasdf1. Make a new mount point,
/mnt/linux01, for the LINUX01 root file system and mount it there:
# cd /mnt
# mkdir linux01
# mount /dev/dasdf1 linux01/
Observe that this appears to be a root file system:
# cd linux01
# ls
bin cgroup etc lib lost+found misc net opt root selinux sys usr
boot dev home lib64 media mnt nfs proc sbin srv tmp var
Modifying networking information about the target system
In this example, the only two pieces of networking information that are modified are the IP
address and the host name. The two important files are /etc/sysconfig/network and
/etc/sysconfig/network-scripts/ifcfg-eth0.
Perform the following steps:
1. Observe the contents of these files:
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=gpok223.endicott.ibm.com
GATEWAY=9.60.18.129
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
DNS1="9.0.3.1"
DOMAIN="endicott.ibm.com"
GATEWAY="9.60.18.129"
IPADDR="9.60.18.223"
MTU="1500"
NETMASK="255.255.255.128"
NETTYPE="qeth"
NM_CONTROLLED="yes"
ONBOOT="yes"
OPTIONS="layer2=0 portno=0"
PORTNAME="DONTCARE"
SUBCHANNELS="0.0.0600,0.0.0601,0.0.0602"
Vista de pagina 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 295 296

Comentarios a estos manuales

Sin comentarios