3 capturing a linux image from a managed system – HP Insight Control Software for Linux User Manual
Page 114
provides an example of a sample /etc/fstab file. In
, two
additional serial SCSI disks are located on the source system (/dev/cciss/c0d1 and
/dev/cciss/c0d2
), and the system disk resides on /dev/cciss/c0d0.
IMPORTANT:
For the capture operation to be successful,/dev/cciss/c0d1 and
/dev/cciss/c0d2
must be partitioned, and the dump flag must be set to 1.
Example 10-1 /etc/fstab file entries for a managed system with multiple disks
/dev/cciss/c0d0p1 swap swap defaults 0 0
/dev/cciss/c0d0p2 / reiserfs acl,user_xattr 1 1
Proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cciss/c0d1p1 /Disk1 ext3 defaults 1 0
/dev/cciss/c0d2p1 /Disk2 ext3 defaults 1 0
Using the last line in
as a sample, the following table describes each field
in the mount line for device /dev/cciss/c0d2p1.
Example
Description
Field
position
/dev/cciss/c0d2p1
Device name
1
/Disk2
Default mount point
2
ext3
File system type
3
defaults
Mount options
4
1
Dump option
5
0
fsck
option
6
The following example does not include the contents of /scratch in the captured
image (because the dump flag is set to 0). During the image deployment operation, the
disk is repartitioned and /scratch will be an empty file system.
/dev/sdc1 /scratch ext3 defaults 0 0
10.3 Capturing a Linux image from a managed system
IMPORTANT:
Remember that captured images are retrieved through a web server interface
that allows anonymous access. Therefore, any user on the network can retrieve captured images
in the Insight Control for Linux repository. HP recommends that captured images do not contain
confidential data if the network is untrusted. Make an effort to expunge such data from the
system to be captured.
To capture a Linux image from a managed system, follow these steps:
1.
Ensure that you have following the image capture preparation tasks described in
2.
Select the following menu item from the HP Insight Control user interface:
Deploy
→Operating System→Capture Linux Image
114
Capturing and deploying Linux images