This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:cmd:lvm [2021/08/24 11:33] – js | linux:cmd:lvm [2022/12/21 09:21] (current) – js | ||
---|---|---|---|
Line 26: | Line 26: | ||
=== resize physical volume === | === resize physical volume === | ||
+ | You can use gparted live ios - do the partition magic .... and after that, resize the logical volume and extent the filesystem. | ||
+ | |||
Rescan Host: | Rescan Host: | ||
<code bash> | <code bash> | ||
Line 42: | Line 44: | ||
/ | / | ||
/ | / | ||
+ | |||
+ | or user cfdisk / parted: | ||
+ | <code bash> | ||
+ | |||
+ | Get MB of free space: | ||
+ | <code bash> | ||
+ | < | ||
+ | < | ||
+ | Get the size of the disk in MB | ||
+ | <code bash> | ||
+ | Enter size in MB - e.g. 24242MB | ||
resize | resize | ||
Line 54: | Line 67: | ||
=== resize logical volume === | === resize logical volume === | ||
- | resize logical volume< | + | resize logical volume< |
- | < | + | |
+ | File descriptor 7 (pipe: | ||
Size of logical volume fsilun/ | Size of logical volume fsilun/ | ||
Logical volume lvfsilun successfully resized</ | Logical volume lvfsilun successfully resized</ | ||
- | and than resize filesystem< | + | |
- | <code bash>resize2fs 1.41.12 (17-May-2010) | + | and than resize filesystem< |
+ | |||
+ | resize2fs 1.41.12 (17-May-2010) | ||
Filesystem at / | Filesystem at / | ||
old desc_blocks = 16, new_desc_blocks = 63 | old desc_blocks = 16, new_desc_blocks = 63 |