managing the swap space size on fedora

mike nobody at nospam.hostisimo.com
Thu Jun 25 13:24:42 UTC 2015


On 06/25/2015 04:36 AM, Angelo Moreschini wrote:
> in order to grow the size of the swap partition, I already resized
> the file system of partition where is LVM...
>
> (resize2fs -p /dev/mapper/fedora_localhost-home)
>
> but now I have problems to reduce the volume of the volume group.
> With the command:
> lvm lvrdeuce -L 650G  /dev/fedora_locahost
> ==============
> I get the message "path required for Logical Volume "/fedora_localhost"
> Please provide a volume group name.
> ============
>
> also he path  :
> dev/mapper/fedora_localhost
> result to be not correct
> ----------------
> with the command :
> ls -l /dev/fedora_localhost
> give me this output:
> lrrwx...... root root 7 jun ... home  ->   ../dm-1
> lrrwx...... root root 7 jun ... root    ->     ../dm-2
> lrrwx...... root root 7 jun ... swap   ->    ../dm-0
>
> I would like know what is the name of the "volume group" and what is his
> path (on my computer) please.

Salve Angelo,

The command is not lvm lvreduce, but lvreduce.

The full paths to your LVs are

/dev/fedora_localhost/home
/dev/fedora_localhost/root
/dev/fedora_localhost/swap

hth,
Mike Wright


More information about the users mailing list