Timeline for How to shrink a physical volume?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 16, 2023 at 12:28 | comment | added | telcoM | @Soruk Note that --alloc anywhere will allow placing e.g. two copies of a RAID1 stripe to the same physical volume. If that PV then fails, your supposedly-fault-tolerant logical volume now has a hole in it, as all copies of that stripe are lost.Yes, pvmove --alloc anywhere can be powerful, but it also allows doing some very stupid things that should normally be avoided. If you use it, you should definitely have a detailed understanding of what you are doing. | |
| May 16, 2023 at 12:17 | comment | added | Soruk | To add to this, if pvresize fails because of allocated extents, and free space not being contiguous (as can be seen with pvs -v --segments), try: pvmove --alloc anywhere /dev/sda1 | |
| Jun 10, 2019 at 16:58 | comment | added | mivk | I just tried to resize a PV with Gparted v. 0.33.0 on CentOS 7.6, and indeed, it worked fine. | |
| Nov 3, 2018 at 21:10 | vote | accept | Jasio | ||
| Nov 3, 2018 at 12:12 | history | answered | telcoM | CC BY-SA 4.0 |