Serveurs Privés Virtuels (VPS) - Extention de partition principale avec disque additionel
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Extention de partition principale avec disque additionel

Von
Paul-antoineV
Erstellungsdatum 2020-02-12 14:39:20 (edited on 2024-09-04 13:10:02) in Serveurs Privés Virtuels (VPS)

Bonjour.

Je dispose d'un VPS dont le disque est un peu étroit (déjà saturé à 95%) pour le serveur akénéo et les datas qu'il héberge.

C'est pourquoi j'ai pris un disque additionnel a 50G

Mon problème est le suivant : le serveur tourne sur un Ubuntu18.04LTS,
J'aimerai étendre la partition principale de mon install ubuntu grace au disque additionel. Ceci sans perdre les données qui s'y trouvent. Je sais et lis ça et la que c'st possible, mais je me demande comment faire.

Il ne s'agit pas de monter le disque add et sa partition, mais bien d'étendre la partition principale du premier disque à l'aide de mon disque addiotionel.

Voici ce que donnent
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 100G 0 disk
├─sda1 8:1 0 99.9G 0 part /
├─sda14 8:14 0 4M 0 part
└─sda15 8:15 0 106M 0 part /boot/efi
sdb 8:16 0 50G 0 disk

et un
fdisk -l

Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7F3093F1-9648-4115-8866-7D9CA1F5F44B

Device Start End Sectors Size Type
/dev/sda1 227328 209715166 209487839 99.9G Linux filesystem
/dev/sda14 2048 10239 8192 4M BIOS boot
/dev/sda15 10240 227327 217088 106M EFI System

Partition table entries are not in disk order.


Disk /dev/sdb: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes