Score:0

How to edit attributes of lvdisplay (LVM)

af flag

In a lvdisplay command, there is an attribute to display the hostname of the machine we created the logical volume. I want to modify the hostname. how can I modify "LV Creation host" attribute in lvdisplay?

Thanks Luke

Score:0
sy flag
  1. backup your data
  2. edit /etc/lvm/backup/yourvgname, and identify your lv section in the logical_volumes config snippet
  3. fill in the creation_host parameter with your new string, save & quit your editor
  4. vgcfgrestore yourvgname
Luke Devon avatar
af flag
Thank you. It works.
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.