从14.04升级到16.06后,我的系统出现故障。
我已经在新驱动器上进行了全新安装,但是那也失败了...
我已经完成了另一次安装,但是现在尝试将所有文件挂载到原始驱动器时,我收到以下消息:
pst007x@Home-Server:~$ sudo mount /dev/sdb5 /media/newhd
[sudo] password for pst007x:
mount: unknown filesystem type 'LVM2_member'
pst007x@Home-Server:~$
我已经从存储库中安装了“ lvm2”,并且gparted可以看到驱动器,但是Nautilus看不到驱动器,因此没有安装。
有什么建议吗?
编辑:
I tried this:
pst007x@Home-Server:~$ sudo apt-get install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.02.133-1ubuntu10).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
pst007x@Home-Server:~$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
ubuntu-vg 1 2 0 wz--n- 465.28g 0
ubuntu-vg 1 2 0 wz--n- 465.52g 52.00m
pst007x@Home-Server:~$ sudo vgscan
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
Found volume group "ubuntu-vg" using metadata type lvm2
pst007x@Home-Server:~$ sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root ubuntu-vg -wi-ao---- 461.28g
root ubuntu-vg -wi------- 461.47g
swap_1 ubuntu-vg -wi------- 4.00g
swap_1 ubuntu-vg -wi-ao---- 4.00g
pst007x@Home-Server:~$ sudo modprobe dm-mod
pst007x@Home-Server:~$ sudo vgscan
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
Found volume group "ubuntu-vg" using metadata type lvm2
pst007x@Home-Server:~$ sudo vgchange -ay ubuntu-vg
device-mapper: create ioctl on ubuntu--vg-rootLVM-xhGIrhlZUAJeJA3fWJOOSvuTUO3vZOH9tqZgBj8dGOLHoYzCStcE02NcX8UGpglD failed: Device or resource busy
1 logical volume(s) in volume group "ubuntu-vg" now active
pst007x@Home-Server:~$ ls /mnt/
fcroot
pst007x@Home-Server:~$ ls /dev/mapper
control ubuntu--vg-root ubuntu--vg-swap_1
pst007x@Home-Server:~$ sudo vgscan
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
Found volume group "ubuntu-vg" using metadata type lvm2
pst007x@Home-Server:~$ sudo lvscan
ACTIVE '/dev/ubuntu-vg/root' [461.28 GiB] inherit
inactive '/dev/ubuntu-vg/swap_1' [4.00 GiB] inherit
inactive '/dev/ubuntu-vg/root' [461.47 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [4.00 GiB] inherit
pst007x@Home-Server:~$