Red Hat NETSCAPE MANAGEMENT SYSTEM 4.5 User Manual Page 203

  • Download
  • Add to my manuals
  • Print
  • Page
    / 286
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 202
Disks
203
www.vmware.com
swap file. If the specified length is different from the length of the existing swap file,
the length of the swap file is changed.
-S --setfsname <fsName>
Set the name of the VMFS file system on the specified SCSI device to <fsName>. This
name can then be used to specify a VMFS file in subsequent vmkfstools
commands or in a virtual machine configuration file. The name also appears in a
listing produced by vmkfstools -l.
-X --extendfile #[mMkK]
Extend the specified VMFS file to the specified length. Use this command to extend
the size of a disk allocated to a virtual machine after the virtual machine has been
created. The virtual machine that uses this disk file must be powered off when you
enter this command. The guest operating system must be able to recognize and use
the new size of the disk, for example by updating the file system on the disk to take
advantage of the extra space.
Examples
vmkfstools -C -b 2m -n 32 vmhba1:3:0:1
Create a new file system on the first partition of target 3, LUN 0 of SCSI adapter 1. The
file block size is 2MB and the maximum number of files is 32.
vmkfstools -S mydisk vmhba1:3:0:1
Give the name of mydisk to the new file system.
vmkfstools -c 2000m mydisk:rh6.2.dsk
Create a 2GB VMFS file with the name of rh6.2.dsk on the VMFS file system named
mydisk. This file represents an empty disk and may be accessed by a virtual
machine.
vmkfstools -r vmhba0:2:0:1:file2
Remove the file named file2 in the file system on target 2, partition 1 of SCSI
adapter 0.
vmkfstools -i ~/virtual machines/nt4.dsk
vmhba0:2:0:0:nt4.dsk
Copy the contents of a virtual disk (which contains Windows NT 4.0) from the console
operating system’s file system to a file named nt4.dsk on target 2 of SCSI adapter 0.
A virtual machine can be configured to use this virtual disk by adding lines to its
configuration file in the following format:
scsi0.virtualDev = vmxbuslogic
scsi0:0.present = TRUE
scsi0:0.name = vmhba0:2:0:0:nt4.dsk
Page view 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 285 286

Comments to this Manuals

No comments