Arkadaşlar localde sunucu olarak centos 7 kurulumu yaptım ama kurulum esnasında otomatik harddisk bölümlemeyi seçmiştim 500 Gb disk var dı

Bunun 50 Gb lık bölümünü root dizinleri için

450 Gb lık bölümünüde Home dizini için ayırmış centos.

ben bu iki bölümü nasıl veri kaybetmeden birleştirebilirim acaba ?


vgdisplay -A Çıktısı

[root@localhost ~]# vgdisplay -A
  --- Volume group ---
  VG Name               centos
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               499.51 GiB
  PE Size               4.00 MiB
  Total PE              127874
  Alloc PE / Size       127874 / 499.51 GiB
  Free  PE / Size       0 / 0
  VG UUID               q5cddC-HMM8-00R6-OzhD-Y3Ud-w8wX-OhRmZj



fdisk -l çıktısı

[root@localhost ~]# fdisk -l



Disk /dev/sda: 536.9 GB, 536870912000 bytes, 10485

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 by

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x000a6141



   Device Boot      Start         End      Blocks

/dev/sda1   *        2048     1026047      512000

/dev/sda2         1026048  1048575999   523774976



Disk /dev/mapper/centos-swap: 2164 MB, 2164260864

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 by

I/O size (minimum/optimal): 512 bytes / 512 bytes





Disk /dev/mapper/centos-root: 53.7 GB, 53687091200

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 by

I/O size (minimum/optimal): 512 bytes / 512 bytes





Disk /dev/mapper/centos-home: 480.5 GB, 4804910776

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 by

I/O size (minimum/optimal): 512 bytes / 512 bytes