http://fibrevillage.com/storage/315-use ... ystem-size
2) Removing a Disk from a Logical Volume
https://access.redhat.com/documentation ... _remove_ex
3) LVM Resize – How to Decrease an LVM Partition
https://www.rootusers.com/lvm-resize-ho ... partition/
Use lvresize to resize both lv and filesystem size
The following command will shrink reduce by 10GB the size of both the logical volume and the filesystem:
Code: Select all
lvresize -r -L -10g /dev/mapper/vg0-lvol0
Code: Select all
pvs -o+pv_used
Code: Select all
vgreduce myvg /dev/sdb1
In modern Linux distros you can use this command to.
Code: Select all
sudo ls /sys/block/sd*/device/*
Code: Select all
/sys/block/sdj/device/scsi_device:
1:0:0:6