网络任我行

畅游网络,点滴积累,享受交流、分享知识的快乐

Entries for the ‘云计算及虚拟化’ Category

Linux下挂载超过2T硬盘

磁盘分区格式MBR限制了单块磁盘大小为2TB,如果想挂载超过2TB的磁盘,就要换成其他格式如GPT格式。因为帮助客户使用OnApp搭建云平台,存储先用6TB在测试,所以需要通过其他格式来挂载这6TB的磁盘。分享下Linux上(我用的CentOS5.9 x86_64)挂载使用6TB的Dell MD3600f硬件存储的方法: [root@demo ~]# parted /dev/sdb #使用parted来对GPT磁盘操作,进入交互式模式 GNU Parted 1.8.1 Using /dev/sdb Welcome to GNU Parted! Type ‘help’ to view a list of commands. (parted) mklabel gpt # 将MBR磁盘格式化为GPT Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? parted: […]

Leave a Comment

CentOS 5下安装Xen虚机

试了下CentOS 5下安装Xen虚机。分享下过程: 一.安装Xen # wget http://www.gitco.de/repo/GITCO-XEN3.4.3_x86_64.repo -O /etc/yum.repos.d/GITCO-XEN3.4.3_x86_64.repo # yum -y -q clean all # yum remove xen # yum install xen # yum remove libvirt.i386 xen-libs.i386 # chkconfig –add xend # chkconfig xend on # yum install kernel-xen

Leave a Comment