Showing posts with label lvm. Show all posts
Showing posts with label lvm. Show all posts

Friday, May 12, 2023

Ubuntu : Extending LVM Volume

1. Check for free space by running. #cfdisksee if there is free space listed, can proceed to step 2if don’t see free space listed, initiate a rescan of /dev/sda#echo 1>/sys/class/block/sda/device/rescanonce done, re-run #cfdisk  2. Select which partition to extending. Example - /dev/sda3 partition from the list and then select “Resize”3. ENTER and it will prompt to confirm the new size. Now...

Thursday, October 15, 2020

Ubuntu : Increase partition

 The step:1. Mount the live iso GParted partition editor.2. Boot the server and access the GParted.3. GParted display the drive status and information.4. Delete current linux-swap partition.5. Delete extended. 6. The unpartition drive should unallocated status.7. Recreate linux-swap partition....

Thursday, April 16, 2020

Centos 7 : Extending LVM Volume

1. Check the un-partition disk under Disk GUI on Centos 7 GUI 2. Create and format disk #fdisk -l #fdisk -l /dev/sda3 - to format the partition : - n = create new partition - p = creates primary partition - 1 = makes partition the first on the disk - to prepare the partition to be used by LVM...

Wednesday, March 11, 2020

Centos 7 : Guide to increace /dev/mapper/root on Centos 7

Guide to increace /dev/mapper/root on Centos 7 1. backup all data in /home - #tar -czvf /root/home.tgz -C /home . - test backup : #tar -tvf /root/home.tgz 2. unmount home - #df-h - #umount /dev/mapper/centos-home 3. remove the home logical volume - #lvremove /dev/mapper/centos-home 4.recreate a new (400GB) logical volume for /home, format and mount it - #lvcreate -L 400GB -n home centos - #mkfs.xfs...

Thursday, July 6, 2017

Centos : Manage LVMs With a GUI

1. Install LVM Gui #yum install system-config-lvm  2. Lunch LVM Gui #system-config-lvm 3. Go to Disk Utility Add new partition    - Create and Mount new partition - After that un-mount back the new partition 4. Go to LVM Gui back - "initialize entity" the...