免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3872 | 回复: 2
打印 上一主题 下一主题

[VMware] vmware 下如何使用磁带机? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-31 21:25 |只看该作者 |倒序浏览
各位兄弟,请教如何在VMWare 中使用磁带机?
磁带机在正常的OS中能够被正确识别并正常使用(如图中左部)。但在VMARE 中却连基本的硬件都不能识别(如图中右部)?
有方法使用吗?望各位兄弟解惑!

非常感谢!

hardware configuration.jpg (76.92 KB, 下载次数: 77)

hardware configuration.jpg

论坛徽章:
0
2 [报告]
发表于 2005-09-01 09:25 |只看该作者

vmware 下如何使用磁带机?

用vmware esx version,支持带机

论坛徽章:
0
3 [报告]
发表于 2005-09-08 21:08 |只看该作者

vmware 下如何使用磁带机?

问题已解决,gsx 可以识别磁带机
相关文档如下
VMware GSX Server 2.5.2


Features | Documentation | Knowledge Base | Discussion Forums


Prev   Contents   Last   Next


Connecting to a Generic SCSI Device

The following sections describe how to use generic SCSI devices in a virtual machine:

Device Support in Guest Operating Systems

Generic SCSI on a Windows Host Operating System

Preparing a Windows XP or Windows Server 2003 Guest Operating System to Use SCSI Devices
Preparing a Windows NT 4.0 Guest Operating System to Use SCSI Devices
Adding a Generic SCSI Device to a Virtual Machine
Generic SCSI on a Linux Host Operating System

Requirements
Avoiding Concurrent Access to a Generic SCSI Device
Permissions on a Generic SCSI Device
Adding a Generic SCSI Device to a Virtual Machine
Generic SCSI lets a virtual machine run any SCSI device that is supported by the guest operating system in the virtual machine. Generic SCSI gives the virtual machine direct access to SCSI devices connected to the host, such as scanners and tape drives.


Device Support in Guest Operating Systems

In theory, generic SCSI is completely device independent, but VMware has discovered it is sensitive to the guest operating system, device class and specific SCSI hardware. We encourage you to try any SCSI hardware you want to use and report problems to VMware technical support.


Preparing a Windows XP or Windows Server 2003 Guest Operating System to Use SCSI Devices

To use SCSI devices in a Windows XP or Windows Server 2003 virtual machine, you need a special SCSI driver available from the download section of the VMware Web site at www.vmware.com/download. Follow the instructions there to install the driver.


Preparing a Windows NT 4.0 Guest Operating System to Use SCSI Devices

Generic SCSI devices use the virtual Mylex (BusLogic) BT-958 compatible host bus adapter provided by the virtual machine. Some guest operating systems guide you through installing the drivers after you install the first SCSI device in the virtual machine. On Windows NT 4.0, however, you may need to install the driver manually, if it is not already installed for a virtual SCSI disk. You should do so before you add a generic SCSI device.

To install the BusLogic driver in a Windows NT 4.0 guest, have your Windows NT installation CD available and follow these steps.

Open the SCSI Adapters control panel.

Start >; Settings >; Control Panel >; SCSI Adapters

Click the Drivers tab.

Click Add.

In the list of vendors on the left, select BusLogic.

In the list of drivers on the right, select BusLogic MultiMaster PCI SCSI Host Adapters.

Click OK.

Insert the Windows NT CD when you are prompted. Click OK.

Reboot the guest operating system when you are prompted.


Preparing a Windows Me, Windows 98 or Windows 95 Guest Operating System to Use SCSI Devices

If you are using generic SCSI devices in a Windows 95, Windows 98 or Windows Me guest operating system and are experiencing problems with the devices, download the Mylex (BusLogic) BT/KT-958 compatible host bus adapter for Windows 95 from www.lsilogic.com. This driver overrides what Windows chooses as the best driver, but it corrects known problems.


Generic SCSI on a Windows Host Operating System

Using the SCSI Generic driver in Windows, GSX Server allows your guest operating system to operate generic SCSI devices — including scanners, tape drives and other data storage devices — in a virtual machine.


Adding a Generic SCSI Device to a Virtual Machine

You can add generic SCSI devices to your virtual machine in the Configuration Editor. When you set up a generic SCSI device, make sure the device is connected to the host and the virtual machine is powered off.

If it is not already running, launch a local console.

Start >; Programs >; VMware >; VMware GSX Server

Open the virtual machine in which you want to use the generic SCSI device. Make sure the virtual machine is powered off.

From the GSX Server console window, choose Settings >; Configuration Editor. The Configuration Editor opens.

Click Add to start the Add Hardware Wizard. Click Next.

Select the name of the physical device you want to use.

Then select the virtual device node where you want this device to appear in the virtual machine.

The check box at the top of the wizard screen allows you to specify whether the device should be connected each time the virtual machine is powered on.

Click Finish to install the new device.

To remove this device, launch the Configuration Editor, select the generic SCSI device, then click Remove.


Generic SCSI on a Linux Host Operating System

Using the SCSI Generic driver in Linux, GSX Server allows your guest operating system to operate generic SCSI devices within a virtual machine. The SCSI Generic driver sets up a mapping for each SCSI device in /dev. Each entry starts with sg (for the SCSI Generic driver) followed by a letter. For example, /dev/sga is the first generic SCSI device.

Each entry corresponds to a SCSI device, in the order specified in /proc/scsi/scsi, from the lowest device ID on the lowest adapter to the highest device ID on the lowest adapter, and so on to the highest device ID on the highest adapter. Do not enter /dev/st0 or /dev/scd0.

Note: When setting up a generic SCSI device in the Configuration Editor, as described later in this section, you specify the device you wish to install in the virtual machine by typing its /dev/sg entry in the name field.


Requirements

Generic SCSI requires version 2.1.36 of the SCSI Generic (sg.o) driver, which comes with kernel 2.2.14 and higher.


Avoiding Concurrent Access to a Generic SCSI Device

Under Linux some devices — specifically tape drives, disk drives and CD-ROM drives — already have a designated /dev entry (traditionally, st, sd and scd, respectively). When the SCSI Generic driver is installed, Linux also identifies these devices with corresponding sg entries in /dev — in addition to their traditional entries. GSX Server ensures that multiple programs are not using the same /dev/sg entry at the same time but cannot always ensure that multiple programs are not using the /dev/sg and the traditional /dev entry at the same time. It is important that you do not attempt to use the same device in both host and guest. This can cause unexpected behavior and may cause loss or corruption of data.


Permissions on a Generic SCSI Device

You must have read and write permissions on a given generic SCSI device in order to use the device within a virtual machine, even if the device is a read-only device such as a CD-ROM drive. These devices typically default to root-only permissions. Your administrator should create a group with access to read and write to these devices and then add the appropriate users to that group.


Adding a Generic SCSI Device to a Virtual Machine

You can add generic SCSI devices to your virtual machine in the Configuration Editor. The Configuration Editor lets you map virtual SCSI devices to physical generic SCSI devices on the host.

When you set up a generic SCSI device, the virtual machine must be powered off.

Launch a local console (vmware -G) and select the virtual machine. Make sure the virtual machine is powered off.

Choose Settings >; Configuration Editor. The Configuration Editor opens.

Click the + sign next to SCSI devices. The list of this virtual machine's SCSI devices appears.

Select an unassigned SCSI device where the generic SCSI device is to be installed. At this time, this device is labeled Not Installed. Now you can specify the characteristics of the virtual SCSI device.

In the Device Type list, select Generic Device.

In the Name field, enter the name of the /dev/sg entry for the device you want to install in the virtual machine. For example, if this device is named sga, type /dev/sga in the Name field.

Click Install.

Click OK to save the configuration and close the Configuration Editor.

To remove this device, launch the Configuration Editor, select the generic SCSI device, then click Remove.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP