Xenserver add new disk
2010-08-05 11:53
246 查看
So here comes the few steps to add a local storage to your XenServer 5.5 :
Type : fdisk -l
you’ll see the list of all volumes and hard drives, then :
Type : pvcreate /dev/sdb
sdb is my new volume
Type: ls -l /dev/disk/by-id/
you will get the physical volume name
and then to configure it as a local storage :
Type : xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST3500320NS_9QM8ES3X name-label=”Local storage II”
scsi-SATA_ST3500320NS_9QM8ES3X is the name of my volume, you’ll have to change this value with your own, and name-label is the name you want to give to your local storage.
Type : fdisk -l
you’ll see the list of all volumes and hard drives, then :
Type : pvcreate /dev/sdb
sdb is my new volume
Type: ls -l /dev/disk/by-id/
you will get the physical volume name
and then to configure it as a local storage :
Type : xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST3500320NS_9QM8ES3X name-label=”Local storage II”
scsi-SATA_ST3500320NS_9QM8ES3X is the name of my volume, you’ll have to change this value with your own, and name-label is the name you want to give to your local storage.
相关文章推荐
- Ubuntu - 硬盘分区、格式化、自动挂载配置 | Hard disk add new partition, format, auto mount in ubuntu
- Ubuntu - 硬盘分区、格式化、自动挂载配置 | Hard disk add new partition, format, auto mount in ubuntu
- lvm add new hard disk for oracle linux 5.8
- How To Add a New Disk(s) to An Existing Diskgroup on RAC (Best Practices).
- Linux How to add a new disk to LVM
- Ubuntu - 硬盘分区、格式化、自动挂载配置 | Hard disk add new partition, format, auto mount in ubuntu
- Add new disk via LVM in linux
- add the disk in the linux
- No compatible targets were found. Do you wish to add new Android Virtual Device
- [Magento] How to add new fields?
- 右击 对话框资源 事件,提示cannot add new member的解决方法
- MFC— 无法添加按钮函数“cannot add new member” 和_CrtIsValidHeapPointer
- Maste Note for OCR / Vote disk Maintenance Operations (ADD/REMOVE/REPLACE/MOVE)
- oracle 日期常用函数 (ADD_MONTHS,LAST_DAY,NEXT_DAY,MONTHS_BETWEEN,NEW_TIME,ROUND,TRUNC)
- MSBuild failed after add a new configuration
- How to add a new key from kernel level to java level
- How to add a new key on android
- HP-UX ServiceGuard - Logical Volume Manager How to Add a Disk-Volume Group-Logical Volume...
- Introducing initramfs, a new model for initial RAM disks
- How to add the selinux policy access for the new created linux file node.