Commit Graph

66 Commits

Author SHA1 Message Date
Ilia Ross f1841228ea Fix LVM resizing for expanded partition-backed disks
ⓘ Grow eligible PV partitions into adjacent free space before retrying `pvresize`, and treat unchanged "use all free VG space" LV targets as no-ops.
2026-07-17 20:34:36 +02:00
Jamie Cameron 8f84f1ebd4 Better handle out of order lines https://forum.virtualmin.com/t/perl-execution-error-when-trying-to-edit-an-lvm-through-webmin/116129 2022-07-22 12:06:34 -07:00
Jamie Cameron f3be18aa28 Show real PVs for raid LVs 2022-07-05 13:38:37 -07:00
Jamie Cameron 29c036da6e Show number of mirrors 2022-07-05 13:25:37 -07:00
Jamie Cameron 79ea36b1fc Type needs to be striped for raid0 2022-07-05 12:28:16 -07:00
Jamie Cameron 974c705b33 Start of work on RAID LV creation 2022-05-30 17:14:25 -07:00
Jamie Cameron 68e1627eb7 Function to create a raid LV 2022-05-19 20:54:13 -07:00
Jamie Cameron 85990489cb Skip warnings when creating an LV https://www.virtualmin.com/node/71145 2021-06-27 12:40:55 -07:00
Jamie Cameron a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Jamie Cameron e166f3f95f Size can have a < before it https://www.virtualmin.com/node/57479 2018-06-18 21:25:47 -07:00
Jamie Cameron c002353b58 Delete /dev/mapper files when removing an LV 2017-07-06 21:42:35 -07:00
Jamie Cameron 586af08e08 Get and show thin pool usage percentage 2017-05-14 10:49:04 -07:00
Jamie Cameron 33f6a5d1a2 Link to source of LV snapshots 2017-03-26 14:03:28 -07:00
Jamie Cameron 979aac7178 Snapshots in thin pools don't need a size specified 2017-03-26 13:50:38 -07:00
Jamie Cameron 8bfed13f60 Use formal params 2017-03-26 13:39:47 -07:00
Jamie Cameron ae2e6d4df2 thin pool creation now working 2017-03-26 10:26:11 -07:00
Jamie Cameron 74db8b7542 More work on supporting thin pools in the UI 2017-03-24 17:51:22 -07:00
Jamie Cameron dad7e2f052 Function to create a thin pool 2017-03-24 17:32:04 -07:00
Jamie Cameron 60800e3b6b Allow LV creation based on original LV size 2016-07-06 07:58:03 -07:00
Jamie Cameron f6b834e4b3 Fix LVM snapshot resizing, thanks to Caspar Smit 2013-11-12 13:31:46 -08:00
Jamie Cameron e6414b1809 Check for safe kernel version before allowing rollbacks 2013-10-19 12:14:37 -07:00
Jamie Cameron d3628932df Add snapshot rollback button 2013-10-18 15:29:22 -07:00
Jamie Cameron fe482f3e5f Allow resize of root 2013-10-10 11:49:06 -07:00
Jamie Cameron d346fa08d2 Improvements to LVM resize fix 2013-08-13 10:59:58 -07:00
Jamie Cameron 60d213d418 LV resize option to use all free space 2013-08-12 13:52:26 -07:00
Jamie Cameron 2edd736fbf Record snapshot size 2013-05-01 22:55:40 -07:00
Jamie Cameron 4ca207c829 Track if snapshot is active 2013-04-29 21:06:38 -07:00
Jamie Cameron ae2e0d33d7 Fix double escaping 2013-03-11 21:28:04 -07:00
Jamie Cameron 0522b67321 Added button to move LV off a PV 2013-03-11 21:25:59 -07:00
Jamie Cameron ac8b54e4e2 Auto option doesn't work on some LVM versions 2012-10-06 11:06:34 -07:00
Jamie Cameron 550be4d247 Report on devices in use by iscsi, and re-factor device_status function 2012-09-08 11:38:51 -07:00
Jamie Cameron 279a71de5a Handle new LVM output format https://www.virtualmin.com/node/21501 2012-03-10 11:26:41 -08:00
Jamie Cameron 60c5ca9124 Handle auto read-ahead mode 2012-01-24 11:01:06 -08:00
Jamie Cameron 4be573ef68 Skip PVs shown as 'unknown device' 2012-01-16 18:03:48 -08:00
Jamie Cameron 5e50c43011 Only use readahead flag if passed in 2011-08-12 11:53:13 -07:00
Jamie Cameron 6fd6dd0cb4 Fix typo 2011-08-09 09:36:53 -07:00
Jamie Cameron 7d1ca7c3d1 Support for changing LV readahead policy, thanks to Caspar Smit 2011-08-08 23:57:55 -07:00
Jamie Cameron 08cdd79fe9 Supress stderr output from LVM commands 2011-07-28 12:24:05 -07:00
Jamie Cameron 25ec90e98c Shown Cloudmin LVs 2011-06-13 15:58:47 -07:00
Jamie Cameron 47489efa2a Completed parted and GPT support 2011-05-27 19:44:13 -07:00
Jamie Cameron af473182b7 Show stripes and stripe size for existing LVs, fix display of LV <-> PV mappings 2011-02-10 15:59:56 -08:00
Jamie Cameron 8b029141ae Allow selection of strip size 2011-02-09 14:50:48 -08:00
Jamie Cameron c931350930 Include snapshot source in LV hash 2010-11-16 21:53:25 -08:00
Jamie Cameron 5f810d53bd Button to resize physical volume 2010-06-29 13:51:36 -07:00
Jamie Cameron 35fbb74d11 Handle LV sizes like GiB 2010-05-03 10:45:26 -07:00
Jamie Cameron abf32a9bf7 ext2 cannot be live resized 2010-03-30 09:30:12 -07:00
Jamie Cameron b86d5abe5c Allow jfs and reiserfs online resizes 2010-03-22 11:26:07 -07:00
Jamie Cameron ba31ab56c5 Fix typo 2010-03-18 10:24:04 -07:00
Jamie Cameron 587fc247d5 Fix un-necessary mount on XFS 2010-03-18 09:56:37 -07:00
Jamie Cameron 982b8864be Allow XFS resizing 2010-03-17 10:44:34 -07:00