Score:0

lvreduce does not accept lv path argument

kr flag

I am running Ubuntu 22.04.1 LTS. After unmounting logical volume and successfully running e2fsck, lvreduce fails with error

$ sudo lvdisplay /dev/ubuntu-vg/lv-0
  --- Logical volume ---
  LV Path                /dev/ubuntu-vg/lv-0
  LV Name                lv-0
  VG Name                ubuntu-vg
  LV UUID                9rMOP1-SuC6-geGc-k1fR-rTn9-PE2O-Q58g0n
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2022-11-27 14:36:00 -0500
  LV Status              available
  # open                 0
  LV Size                <828.46 GiB
  Current LE             212085
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
$ sudo umount /dev/ubuntu-vg/lv-0
$ sudo e2fsck -f /dev/ubuntu-vg/lv-0
$ sudo lvreduce -r -L 512 GB /dev/ubuntu-vg//lv-0 
Command does not accept argument: /dev/ubuntu-vg//lv-0.
Score:0
kr flag

No longer get this error after removing the space in '512 GB'

$ sudo lvreduce -r -L 512GB /dev/ubuntu-vg/lv-0
I sit in a Tesla and translated this thread with Ai:

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.