Archive for 七月, 2008

升级了升级了

WordPress 升到 2.6 了,经过了几天系统的提示,我也把我的博客系统升级到 2.6 了

升级一切顺利。


换系统了

找了一个 P4 的电脑,当做服务器,我还没有用过 P3 以上的机器做过服务器,这回可算是弄到一台。

装了 FreeBSD 系统,把网站、数据库都挪过去,真是麻烦,还不知道以后哪里会有不正常呢。

运行几天看看吧。

1 Comment more...

VMware ESX Server 3.5 出现 pegasus 什么什么的错误

刚装好的服务器,启动的时候出现这个错误:

Processing /var/pegasus/vmware/install_queue/1 [FAILED]
ERROR:log –/var/pegasus/vmware/install_queus/1.log
Processing /var/pegasus/vmware/install_queue/1 [FAILED]
ERROR:log –/var/pegasus/vmware/install_queus/1.log

到网上搜一搜,搜到了这个文章:

http://communities.vmware.com/message/914939#914939

Edit the roleauth-schema compiler directive to include the VMware_Identity class definition using

nano /var/pegasus/vmware/install_queue/3_files/mofs/root/PG_Interop/roleauth-schema.mof

Add the bolded line above the pre-existing member directive.

#pragma include (“VMware_Identity.mof”)
#pragma include (“VMware_IdentityMemberOfCollection.mof”)

It also needs to be added in the standard cimv2 path.

nano /var/pegasus/vmware/install_queue/3_files/mofs/root/cimv2/roleauth-schema.mof

#pragma include (“VMware_Identity.mof”)
#pragma include (“VMware_IdentityMemberOfCollection.mof”)

Copy the missing file from the stardard cimv2 path to the shared path.

cp /var/pegasus/vmware/install_queue/3_files/mofs/root/cimv2/VMware_Identity.mof /var/pegasus/vmware/install_queue/3_files/mofs/root/PG_Interop/

Stop and start the service with these commands.

/etc/init.d/pegasus stop
/etc/init.d/pegasus start

Once the scripts completes the install_queues will be empty and the service will start much more quickly.

按上面说明修改,其中的 3_files 要用 1_files 代替,之后,不出错了。


VMWare ESX Server 创建虚拟机硬盘时出错

我打算在 VMWare ESX Server 里建一个有 500G 硬盘的系统,在创建的时候,报了一个“the file is too big for the filesystem”的错误,引起这个错误的原因是物理机上的磁盘分区不支持 500G 大小的文件,可查手册上明明说是支持 2T 大小,后来查到了原因。

在装 ESX Server 时,默认是用 1M 做为一个块,而这样,只能支持一个文件最大是256G,块的大小与文件最大尺寸是这样的:

1 256 GB
2 512 GB
4 1024 GB
8 2048 GB

我想我最大也就建一 1T 了,所以我准备用 4M 做为一块大小。

重新建立物理机上的文件系统:

vmkfstools –createfs vmfs3 –blocksize 4M -S vh-01:storage1 vmhba1:1:0:1

重启之后,就正常了。


  • 订阅更新

    邮件地址:

  • 我的微博

  • 分类目录

  • 声明

    Creative Commons License
    本作品采用知识共享署名-非商业性使用-相同方式共享 3.0 Unported许可协议进行许可。
    个人博客转载时请遵循“署名-非商业性使用-相同方式共享”的创作共用协议
    商业网站或未授权媒体不得复制本站内容
  • Copyright © 1996-2010 馋嘴蜗牛. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress