I'm bit new in Linux and Please don't be too hard on me :)I'm adding new disk to LVM group and bit on confused on last stage:Disk structure:# lvs  LV   VG Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert  root cl -wi-ao----   1.70g  swap cl -wi-ao---- 308.00m# vgs  VG #PV #LV #SN Attr   VSize VFree  cl   2   2   0 wz--n- 6.99g 5.00g# pvs  PV         VG Fmt  Attr PSize PFree  /dev/sda2  cl lvm2 a--  2.00g    0  /dev/sdc1  cl lvm2 a--  5.00g 5.00gFrom lvdisplay  LV Path                /dev/cl/root  LV Name                root  VG Name                clNow this is the partition I need to extend: # fdisk -lDisk /dev/mapper/cl-root: 1820 MB, 1820327936 bytes, 3555328 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesand df output# df -HFilesystem           Size  Used Avail Use% Mounted on/dev/mapper/cl-root  1.9G  1.8G   90M  96% /devtmpfs             237M     0  237M   0% /devtmpfs                248M     0  248M   0% /dev/shmtmpfs                248M  4.8M  243M   2% /runtmpfs                248M     0  248M   0% /sys/fs/cgroup/dev/sda1            1.1G  240M  824M  23% /boottmpfs                 50M     0   50M   0% /run/user/0Now Question is, The extend command should look like this ? :lvextend -l +100%FREE /dev/mapper/cl-rootor like this ? :lvextend -l +100%FREE /dev/cl/root
proper argument to extend logical volume, /dev/mapper/vg-lv or /dev/vg/lv?
linux;partition;lvm
Both of the options you asked about are identical. Either one will work./dev/mapper/c1-root and /dev/c1/root are both symbolic links to a device mapper in /dev/, such as /dev/dm-1, for example.Do NOT run lvextend -l +100%FREE /dev/sdc. lvextend is expecting a logical volume, not a partition. Also, you shouldn't use fdisk on logical volumes. fdisk is meant for real block devices not the virtual block devices created by device mapper.