首页 > 数据库技术 > 详细

lvm 磁盘 数据库 参考答案

时间:2020-09-15 10:57:49      阅读:157      评论:0      收藏:0      [点我收藏+]

pvgreate /dev/sdb1 /dev/sdb2 /dev/sdb3
vgcreate xcloudvg /dev/vdb[1-3]
lvcreate -L +12G -n xcloudvg xcloudlv

mkfc.xfs /dev/mapper /xcloudvg-xcloudlv

mkfx.xfs /dev/mapper /xcloudvg-xcloudlv /mnt/

 

[root@localhost ~]# pvcreate /dev/vdb1 /dev/vdb2 /dev/vdb3
Physical volume "/dev/vdb1" succesfully
created
Physical volume "/dev/vdb2" successfully created
Physical volume "/dev/vdb2" successfully created
[root@localhost ~]# vgcreate xcloudvg /dev/vdb[1-3]
Volume group "xcloudvg" successfully created
[root@localhost ~]# Ivcreate -L +12G -n xcloudvg xcloudlv
Logical volume "xcloudIv" created.
[root@localhost ~]# mkfs.xfs /dev/mapper/xcloudvg xcloudIv
[root@localhost ~]# mount /dev/mapper/ xcloudvg-xcloudlv /mnt/

 

 

 

MariaDB (one) show save tus
SlveJo_ Satet Cnnecing to master
Master_ Host: mysq|1
Master_ User: user
Master. Port: 3306
Connect Retry: 60
Master. Log_ File:
Read. Master. Log. Pos:4
Relay_Log_ Fl: maiabalelabin 000.
Relay_Log. Pos:4
Relay. Master_ Log_File:
Slave_ 10. Running: yes
Slave. SQL Running: Yes .
Replicate. Do. DB:
Replicate. Ignore DB:
Replicate. Do _Table;
Replicate_ lgnore _Table:
Replicate. Wild_ Do _Table:
Replicate. Wild. Ignore. Table
Last Errmo: 0
Last_ Error:
Skip_ .Counter: 0
Exec_ Master Log. Pos: 245
Relay_Log_ Space: 245
Until Conditin: None
Until Log. File:
Until_Log_ Pos:0
Master SSI Alowved; No

lvm 磁盘 数据库 参考答案

原文:https://www.cnblogs.com/tanbo/p/13671300.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!