Score:0

Linux LVM - and re-arranging disks?

eg flag

The root filesystem is in a VolGroup that consists of /dev/sda5 and /dev/sdd1.

So in between those 2 drives there is sdb and sdc, and i would like to remove those. I am guessing that sdd will be renamed to sdb at next reboot. So question: will this break the root VG?

I can see with vgdisplay that the UUIDs of the partitions are noted in the VG, so i am hoping this could be done (?).

Also, this is a Virtual Machine running inside ESXi, if that matters.

OS: Ubuntu 16.04 (yes yes, soon to be upgraded, i promise)
Kernel: 4.4.0
ESXi: 7.0.1
  --- Volume group ---
  VG Name               vm-template8-vg
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  5
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               41,52 GiB
  PE Size               4,00 MiB
  Total PE              10628
  Alloc PE / Size       10616 / 41,47 GiB
  Free  PE / Size       12 / 48,00 MiB
  VG UUID               QzrdZ7-ML9x-YfJD-RcHA-HaJ1-ZOwW-blha4Z

  --- Physical volumes ---
  PV Name               /dev/sda5
  PV UUID               vLKxJr-fjJA-4Nek-8VvQ-9QK4-tZCN-RDAdRS
  PV Status             allocatable
  Total PE / Free PE    8069 / 12

  PV Name               /dev/sdd1
  PV UUID               TscHFr-0lAt-iCbr-uBac-Cbuz-a33j-culJex
  PV Status             allocatable
  Total PE / Free PE    2559 / 0
Alexander Kolodziej avatar
eg flag
In conclusion, i tried it and it did not break the LVM VG:)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.