changed
This commit is contained in:
parent
d6c3f05016
commit
f73a35130e
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ if [ -b "${CFG_ROOTFS_DISK}" ]; then
|
||||||
# partprobe "${CFG_ROOTFS_DISK}"
|
# partprobe "${CFG_ROOTFS_DISK}"
|
||||||
# expand the partition
|
# expand the partition
|
||||||
log "Expanding rootfs partition"
|
log "Expanding rootfs partition"
|
||||||
growpart "${CFG_ROOTFS_DISK}" "${CFG_ROOTFS_PARTITION}"
|
#growpart "${CFG_ROOTFS_DISK}""${CFG_ROOTFS_PARTITION}"
|
||||||
pvresize "${CFG_ROOTFS_DISK}""${CFG_ROOTFS_PARTITION}"
|
pvresize "${CFG_ROOTFS_DISK}""${CFG_ROOTFS_PARTITION}"
|
||||||
lvextend -l+100%FREE /dev/mapper/centos-root
|
lvextend -l+100%FREE /dev/mapper/centos-root
|
||||||
# # reload partition table
|
# # reload partition table
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue