[root@localhost init.d]# lvscan
inactive ‘/dev/Oracle_vg/oracle_lv’ [14.90 GiB] inherit
ACTIVE ‘/dev/vg_lab/lv_root’ [7.54 GiB] inherit
ACTIVE ‘/dev/vg_lab/lv_swap’ [1.97 GiB] inherit
[root@localhost init.d]# lv
lvchange lvdisplay lvmchange lvmdump lvreduce lvresize
lvconvert lvextend lvmconf lvmsadc lvremove lvs
lvcreate lvm lvmdiskscan lvmsar lvrename lvscan
[root@localhost init.d]# lvchange -ay
Please give logical volume path(s)
Run `lvchange –help’ for more information.
[root@localhost init.d]# lvscan
inactive ‘/dev/oracle_vg/oracle_lv’ [14.90 GiB] inherit
ACTIVE dev/vg_lab/lv_root’ [7.54 GiB] inherit ‘/
ACTIVE ‘/dev/vg_lab/lv_swap’ [1.97 GiB] inherit
[root@localhost init.d]# vgchange -ay
1 logical volume(s) in volume group “oracle_vg” now active
2 logical volume(s) in volume group “vg_lab” now active
[root@localhost init.d]#
[root@localhost init.d]#
[root@localhost init.d]# ls -l /dev/oracle_vg/oracle_lv ^C
[root@localhost init.d]#
[root@localhost init.d]#
[root@localhost init.d]# ls -l /dev/mapper/*
crw-rw—- 1 root root 10, 58 Sep 27 09:36 /dev/mapper/control
lrwxrwxrwx 1 root root 7 Sep 27 09:48 /dev/mapper/oracle_vg-oracle_lv -> ../dm-2
lrwxrwxrwx 1 root root 7 Sep 27 09:36 /dev/mapper/vg_lab-lv_root -> ../dm-0
lrwxrwxrwx 1 root root 7 Sep 27 09:36 /dev/mapper/vg_lab-lv_swap -> ../dm-1
[root@localhost init.d]#
CentOS 6 LVM 激活
转载请注明出处:服务器评测 » CentOS 6 LVM 激活
相关推荐
- 🔴 [英国|德国|保加利亚|马里兰|美国] CINFU – 裸机专用服务器 Intel、AMD 每月 29 欧元起 🔴
- 7DC.NET – 欧盟位置 Nvme 专用服务器 10G 上行链路
- 锐速(ServerSpeeder/LotServer)配置参数简单说明,合理修改配置 提高加速效果(逗比大佬)
- Centos7使用GPT格式挂载分区,Centos7如何挂载超过2T硬盘分区的方法
- Centos7如何查看RAID,管理阵列卡。MegaCli命令使用详解
- Centos7.X 一键搭建socks5命令,一句话命令, 搭建sk5与http 代理 Centos7.0 7.6 7.8 7.9
- CentOS6 7 8 ,BBR原版/BBR魔改/BBR Plus/锐速的改善网络拥塞的一键脚本,Debain9,Debain10
- centos 7如何挂载磁盘 linux 7.6挂载磁盘实战教程CentOS 6 7 8 挂载磁盘到/www /home目录