I have a Ubuntu 19.10 installation that was upgraded from 19.04, which was installed to a PCI 3.0 NVMe SSD. The system was recently upgraded to a PCI 4.0 motherboard, so I would like to also upgrade to a PCI 4.0 NVMe SSD as well. I was wondering if anyone knew of a way to do this that wouldn't involve doing a complete re-install.
This SettingUpLVM-WithoutACleanInstall wiki page refers to Ubuntu 7.04, 8.04 (my first Ubuntu experience!!!), and 9.04. I can't tell if it's been updated in the past decade. I highly doubt it's still the same process today, but I suppose what I'm trying to do could be adapted to the "A new blank hard drive you've added to your system" use-case/requirement. It's just that I'm actually already on LVM, but the new drive doesn't care about that (does it?).
Here's my lvdisplay and pvdisplay output:
This SettingUpLVM-WithoutACleanInstall wiki page refers to Ubuntu 7.04, 8.04 (my first Ubuntu experience!!!), and 9.04. I can't tell if it's been updated in the past decade. I highly doubt it's still the same process today, but I suppose what I'm trying to do could be adapted to the "A new blank hard drive you've added to your system" use-case/requirement. It's just that I'm actually already on LVM, but the new drive doesn't care about that (does it?).
Here's my lvdisplay and pvdisplay output:
Code:
me@b450:~$ sudo lvdisplay
/dev/sda: open failed: No medium found
--- Logical volume ---
LV Path /dev/ubuntu-vg/root
LV Name root
VG Name ubuntu-vg
LV UUID uhW5C1-QFwM-m60n-Y08h-PUm3-Xg3o-LYQ8d2
LV Write Access read/write
LV Creation host, time ubuntu, 2019-07-24 07:59:47 -0400
LV Status available
# open 1
LV Size 150.00 GiB
Current LE 38400
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/ubuntu-vg/swap_1
LV Name swap_1
VG Name ubuntu-vg
LV UUID ExN1Lm-tZxw-wMSb-eHce-QVbJ-QJyu-dfUGMP
LV Write Access read/write
LV Creation host, time ubuntu, 2019-07-24 07:59:47 -0400
LV Status available
# open 2
LV Size 10.00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
me@b450:~$ sudo pvdisplay
/dev/sda: open failed: No medium found
--- Physical volume ---
PV Name /dev/nvme0n1p2
VG Name ubuntu-vg
PV Size <953.37 GiB / not usable 0
Allocatable yes
PE Size 4.00 MiB
Total PE 244062
Free PE 203102
Allocated PE 40960
PV UUID e2nA27-ofN3-BvTP-GvrL-nQfa-2j3W-n0CWta