Quote:
Originally Posted by unSpawn
You haven't shown any errors to support the OS doesn't mount the LVMs properly on boot. So boot the machine, become root, then check 'dmesg' output and system logs for clues then try 'vgscan; vgchange -ay; dmsetup status;'?
|
I've done su, the lsblk shows the same for sdb. How do I mount sdb and check its content? Sorry, I'm new to this. Below are the outputs from several commands:
[root@nj1 CgWi]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 278.5G 0 disk
└─sdb1 8:17 0 278.5G 0 part
sda 8:0 0 278.5G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
├─sda2 8:2 0 500M 0 part /boot
└─sda3 8:3 0 277.8G 0 part
├─vg_njuhep1-lv_root (dm-0) 253:0 0 50G 0 lvm /
├─vg_njuhep1-lv_swap (dm-1) 253:1 0 3.8G 0 lvm [SWAP]
└─vg_njuhep1-lv_home (dm-2) 253:2 0 224G 0 lvm /home
sr0 11:0 1 1024M 0 rom
[root@nj1 CgWi]# dmesg | grep sdb
sd 0:2:1:0: [sdb] 583983104 512-byte logical blocks: (298 GB/278 GiB)
sd 0:2:1:0: [sdb] Write Protect is off
sd 0:2:1:0: [sdb] Mode Sense: 1f 00 10 08
sd 0:2:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdb:
sda: sdb1
sd 0:2:1:0: [sdb] Attached SCSI disk
[root@nj1 CgWi]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg_nj1" using metadata type lvm2
[root@nj1 CgWi]# vgchange -ay
3 logical volume(s) in volume group "vg_nj1" now active
[root@nj1 CgWi]# dmsetup status
vg_nj1-lv_home: 0 469655552 linear
vg_nj1-lv_swap: 0 8028160 linear
vg_nj1-lv_root: 0 104857600 linear