我已经设法在我的 Xenserver 上创建了一个 NFS 服务器并将其安装在我的 Cloudstack 4.4 上!但是,当我为 Xenserver VM(本地存储)分配 250gb 时,我意识到我的主存储和辅助存储的大小只有 4gb
我可以知道为什么以及如何增加空间吗?
图片链接
http://115.66.5.90/manage/shares/Torrents/why%204gb%20size.png?__c=2533372089363723488
2014 年 6 月 8 日编辑-------------
您好 Miguel,我已经按照您的步骤完成了您的步骤,但仍然卡住了。(Xen 获得 100GB)
pvs
PV VG mt Attr PSize PFree
/dev/sda3 VG_XenStorage- lvm2 a- 91.99G 91.98G
然后我 gdisk /dev/sda3 因为这 91GB 是我在 VM 上安装 Xen 后拥有的免费存储空间。
我遵循了你在下面写的所有步骤。
当我再次 PVS 时得到这个结果
[root@xenserver-bpqbdmrk ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 lvm2 a- 4.00G 4.00G
但是,当我运行 vgdisplay -c
[root@xenserver-bpqbdmrk ~]# vgdisplay -c
No volume groups found
fdisk -l
Disk /dev/sda: 107.3 GB, 107374182400 bytes
256 heads, 63 sectors/track, 13003 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13004 104857599+ ee EFI GPT
[root@xenserver-bpqbdmrk ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.0G 1.9G 2.0G 49% /
none 381M 16K 381M 1% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
52M 52M 0 100% /var/xen/xc-install
172.16.109.11:/export/primary/97cffd9a-acfe-0c71-91d5-b93e58f27462
4.0G 1.9G 2.0G 49% /var/run/sr-mount/97cffd9a-acfe-0c71-91d5-b93e58f27462
我可以知道为什么我没有卷组,即使我的 NFS 上有一个 4GB 的存储库。为什么我的 /dev/sda2 也只有 4Gb
有关我的测试云的更多信息。我正在运行一个 100GB 的虚拟机。
想要一个 91Gb 的主存储和辅助存储组合。
Command (? for help): p
Disk /dev/sda: 209715200 sectors, 100.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 7AE0B6EE-99F4-44F4-A9F0-5140B14DCC32
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 209715166
Partitions will be aligned on 2048-sector boundaries
Total free space is 6042 sectors (3.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 8388641 4.0 GiB 0700
2 8390656 16777249 4.0 GiB 0700
3 16779264 209715166 92.0 GiB 8E00
Command (? for help):