Re: [linux-lvm] Swapping LLVM drive

2023-08-28 Thread Stuart D Gathman
On Sun, 27 Aug 2023, Roska Postit wrote: What is the most proper way to swap my 500GB SSD drive to the bigger 2TB SSD drive in the following LLVM configuration ? nvme0n1            259:0    0 465,8G  0 disk   ├─nvme0n1p1        259:1    0   512M  0 part  /boot/efi ├─nvme0n1p2        259:2    0

Re: [linux-lvm] indistinguishable column names ( BA Start Start Start Start )

2023-08-28 Thread matthew patton
use json output and familiarize yourself with JQ.On Wednesday, August 23, 2023 at 02:53:23 AM EDT, Roland wrote: Hi, > Hi Roland, is `lvs --reportformat json` or `lvs --nameprefixes` good enough? good when using scripting / automated processing - but not good, when we need it

[linux-lvm] Swapping LLVM drive

2023-08-28 Thread Roska Postit
What is the most proper way to swap my 500GB SSD drive to the bigger 2TB SSD drive in the following LLVM configuration ? nvme0n1259:00 465,8G 0 disk ├─nvme0n1p1259:10 512M 0 part /boot/efi ├─nvme0n1p2259:20 488M 0 part /boot └─nvme0n1p3

Re: [linux-lvm] Swapping LLVM drive

2023-08-28 Thread Phillip Susi
Stuart D Gathman writes: > Use dd to copy the partition table (this also often contains boot code) > to the new disk on USB. > Then use dd to copy the smaller partitions (efi,boot). Now use cfdisk > to delete the 3rd partition. Expand the boot partition to 1G (you'll > thank me later). >

[linux-lvm] vgchange acquire an exclusive VG lock for refresh

2023-08-28 Thread wangzhiqiang (Q)
I've got an issue while execute vgchange --refresh concurrently, process vgchange and systemd-udevd enters the D state. root2933 0.0 1.0 54216 31344 pts/1D] dm_wait_for_bios_completion+0x298/0x340 [dm_mod] [<0>] dm_wait_for_completion+0xfe/0x110 [dm_mod] [<0>]