每次操作系统启动后,LVM 卷组毫无理由地处于非活动状态。手动激活效果很好。几个月没有碰任何配置。
我不使用 RAID,操作系统从常用分区启动。
我唯一经常做的事情是:
apt-get update && apt-get upgrade.
我怎样才能强制它像一天前一样激活?
我的系统详细信息:
Linux 服务器 4.4.0-36-generic #55-Ubuntu SMP 8 月 11 日星期四 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@server:~# pvdisplay
--- Physical volume ---
PV Name /dev/sdb
VG Name data
PV Size 2.73 TiB / not usable 3.46 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 715396
Free PE 0
Allocated PE 715396
PV UUID Lcd805-EmRG-mk6o-eXgV-psP9-V6rp-7fGfde
root@server:~# vgdisplay
--- Volume group ---
VG Name data
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 2.73 TiB
PE Size 4.00 MiB
Total PE 715396
Alloc PE / Size 715396 / 2.73 TiB
Free PE / Size 0 / 0
VG UUID GlZi9o-8zQ2-Jnao-twAh-XjEE-mAEN-5EMOIf
root@server:~# lvdisplay
--- Logical volume ---
LV Path /dev/data/web
LV Name web
VG Name data
LV UUID afnB4a-SCrl-XHDt-R1mb-flSc-Rto5-1CdaOJ
LV Write Access read/write
LV Creation host, time server, 2014-12-26 23:56:51 +0300
LV Status available
# open 1
LV Size 2.00 TiB
Current LE 524288
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Path /dev/data/data
LV Name data
VG Name data
LV UUID KKo37f-qg2a-VBUt-3Qch-ULhC-YccS-Iaxwxz
LV Write Access read/write
LV Creation host, time server, 2014-12-27 00:02:59 +0300
LV Status available
# open 1
LV Size 746.52 GiB
Current LE 191108
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1