Partition vergrößern - SATA



d3p

Member
Hallo,

ich würde gerne /dev/mapper/pve-lvm1 vergrößern.
Hab dazu den Server schon in den Rescue Mode versetzt.

fdisk -l

Code:
root@rescue:~# fdisk -l

Disk /dev/sda: 3000.0 GB, 3000034656256 bytes
255 heads, 63 sectors/track, 364733 cylinders, total 5859442688 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00046850

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        4096    40962047    20478976   83  Linux
/dev/sda2        40962048    45154303     2096128   82  Linux swap / Solaris
/dev/sda3        45154304    45150207  2147481600    f  W95 Ext'd (LBA)
/dev/sda5        45156352    45150207  2147480576   8e  Linux LVM

[B]Disk /dev/mapper/pve-lvm1: 291.4 GB, 291449602048 bytes[/B]
255 heads, 63 sectors/track, 35433 cylinders, total 569237504 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/pve-lvm1 doesn't contain a valid partition table


vgdisplay:
Code:
root@rescue:~# vgdisplay
  --- Volume group ---
  VG Name               pve
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.00 TiB
  PE Size               4.00 MiB
  Total PE              524287
 [B] Alloc PE / Size       69487 / 271.43 GiB
  Free  PE / Size       454800 / 1.73 TiB[/B]
  VG UUID               B1dl14-8dZj-qPAy-QWTK-exDk-OLW9-5yB9Jj


Code:
root@rescue:~# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda5
  VG Name               pve
  PV Size               2.00 TiB / not usable 0
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              524287
  Free PE               454800
  Allocated PE          69487
  PV UUID               M0f1dT-3dYU-Uf9U-p6Ht-0Q1s-Qlmv-p2wcUu

So.
Nun möchte ich den restlichen Speicher auf ebenfalls /dev/mapper/pve-lvm1 zuweisen.

Wie mache ich das am sinnvollsten? :)
 
Last edited by a moderator:
Back
Top