
Disks
201
www.vmware.com
-R --recover
Recover a VMFS file system (that is accessible by multiple ESX servers) when other
vmkfstools commands indicate that the file system is locked by another ESX server,
but no other server is currently accessing. This situation may happen if the VMFS file
system was being accessed by a server (e.g. running a virtual machine or mounting
the VMFS via mount-vmfs) and that server crashed. You should only use this
command if you are certain that no other server is still accessing the file system.
-c --createfile #[mMkK]
Create a file with the specified size on the file system of the specified SCSI device. The
size is specified in bytes by default, but it can be specified in kilobytes or megabytes
by adding a suffix of k or m respectively.
-a --accessperm <uid> <gid> <mode>
Set the access permissions of the specified VMFS file. The user ID and group ID of the
file are set to <uid> and <gid>, respectively, and the access permissions of the file
are set to <mode>. The permission bits are specified in octal, and are as specified in
the chmod (2) man page.
-e --exportfile <dstFile>
Export the contents of the specified file on the specified SCSI device to a virtual disk
on the file system of the console operating system. The virtual disk may then be
transferred to another machine and imported to a SCSI device on the remote
machine. Hence the combination of exportfile and importfile may be used
for copying VMFS files to remote machines. The virtual disk likely takes less space than
the full size of the VMFS file, since the virtual disk does not include zeroed sectors of
the VMFS file.
-d --copyfile <srcFile> or
-i --importfile <srcFile>
Import the contents of a VMware virtual, plain or raw disk on the console operating
system to the specified file on the specified SCSI device. This command is often used
to import the contents of a VMware Workstation virtual disk onto a SCSI device. It may
also be used to import a virtual disk that was created by exporting the contents of a
disk from another SCSI device. The complete contents of the source disk are copied,
even if it is mostly free space, so the destination device must have space for the entire
size of the virtual disk.
-E --exportraw <dstFile>
Export the contents of the specified file on the specified SCSI device in unmodified
form to a file on the file system of the console operating system. This command differs
from exportfile in that it copies the source file exactly, rather than creating a
Comentarios a estos manuales