Cinder volume 挂载
来源:互联网 发布:手机淘宝怎么找货源 编辑:程序博客网 时间:2024/05/21 22:41
GNU/Linux
From a shell issue the lsblk
command, this will list the block devices you can use:
admin@mariadb:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTvda 253:0 0 160G 0 disk└─vda1 253:1 0 160G 0 part /vdb 253:16 0 9.8T 0 disk
The device /dev/vda
is the root disk of your system. It has one partition called /dev/vda1
filling all the space. Then you can see /dev/vdb
which is the volume you just attached.
In order to be able to use it you need to format it and mount it somewhere.
This is easily done with:
admin@mariadb:~$ sudo mkfs.ext4 /dev/vdbAllocating group tables: doneWriting inode tables: doneCreating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneadmin@mariadb:~$ sudo mkdir /storageadmin@mariadb:~$ sudo mount /dev/vdb /storageadmin@mariadb:~$ df -hFilesystem Size Used Avail Use% Mounted on/dev/vda1 158G 1.1G 150G 1% //dev/vdb 9.7T 38M 9.3T 1% /strorage
You can now store your files on the directory /storage
.
对已经使用的目录使用软链接的方式扩容:
cd /home
mv k8s /storage/
ln -s /storage/k8s /home/k8s
这样就建立了一个软连接
cd /home/k8s 实际上进入的是/storage/k8s
0 0
- Cinder volume 挂载
- openstack cinder default volume
- cinder 创建backup volume
- 从cinder 删除volume 分析cinder rpc
- 修改Cinder的Volume配额
- 从Cinder volume启动虚拟机
- service openstack-cinder-volume status
- cinder创建volume流程简介
- OpenStack源码分析之cinder-volume服务
- 【OpenStack】Cinder(G版)中的volume type
- Unable to attach cinder volume to VM
- 加快Cinder中Volume的删除速度
- OpenStack(Grizzly) cinder-volume时序图
- 单板重启后,cinder-volume服务起不来
- cinder-volume服务重启失败
- cinder创建volume的流程分析
- 手动模拟attach cinder volume的过程
- Volume group "cinder-volumes" not found\n Skipping volume group cinder-volumes
- iOS Cocoapods APP 使用教程
- CAS-ERR Cannot create a session after the response has been committed
- Java 从底层socket实现http服务器
- 程序员装逼实用宝典
- Android动态加载轮播图BannerView
- Cinder volume 挂载
- Myeclipse提示:The import javax.servlet cannot be resolved
- emacs 常用自定义快捷键设置
- Linux 命令缩写
- android HandlerThread的使用
- HTML中的meta用法
- 设计模式之组合模式
- What are root name servers?
- Android-分辨率以及dip(dp)、dpi、ppi、px、sp、pt说明