adminsys:partition
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
adminsys:partition [2020/02/01 15:04] – [Création de la partition en "Physical Volumes" (PV)] tonio | adminsys:partition [2023/04/22 17:21] (Version actuelle) – [Étendre votre disque] tonio | ||
---|---|---|---|
Ligne 120: | Ligne 120: | ||
mount -a | mount -a | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Étendre votre disque | ||
+ | |||
+ | **Volumétrie initiale** | ||
+ | < | ||
+ | toot@extra: | ||
+ | Filesystem | ||
+ | / | ||
+ | |||
+ | [sam. avril 22 18:50:51] root@extra: | ||
+ | Disk /dev/xvdb: 500 GiB, 536870912000 bytes, 1048576000 sectors | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | Disklabel type: dos | ||
+ | Disk identifier: 0x047bacf3 | ||
+ | |||
+ | Device | ||
+ | / | ||
+ | |||
+ | |||
+ | Disk / | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | |||
+ | |||
+ | Disk / | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | </ | ||
+ | |||
+ | **Volumétrie changée** | ||
+ | < | ||
+ | |||
+ | [sam. avril 22 18:56:31] root@extra: | ||
+ | |||
+ | Disk /dev/xvdb: 600 GiB, 644245094400 bytes, 1258291200 sectors | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | Disklabel type: dos | ||
+ | Disk identifier: 0x047bacf3 | ||
+ | |||
+ | Device | ||
+ | / | ||
+ | |||
+ | |||
+ | Disk / | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | |||
+ | |||
+ | Disk / | ||
+ | Units: sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Extension de la partition** | ||
+ | < | ||
+ | [sam. avril 22 19:00:57] root@extra: | ||
+ | GNU Parted 3.4 | ||
+ | Using /dev/xvdb | ||
+ | Welcome to GNU Parted! Type ' | ||
+ | (parted) print | ||
+ | Model: Xen Virtual Block Device (xvd) | ||
+ | Disk /dev/xvdb: 644GB | ||
+ | Sector size (logical/ | ||
+ | Partition Table: msdos | ||
+ | Disk Flags: | ||
+ | |||
+ | Number | ||
+ | | ||
+ | |||
+ | (parted) resizepart 1 | ||
+ | End? [530GB]? 643GB | ||
+ | (parted) quit | ||
+ | Information: | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Extension du volume physique: PV " | ||
+ | < | ||
+ | [sam. avril 22 19:02:00] root@extra: | ||
+ | Physical volume "/ | ||
+ | 1 physical volume(s) resized or updated / 0 physical volume(s) not resized | ||
+ | [sam. avril 22 19:04:24] root@extra: | ||
+ | PV | ||
+ | /dev/xvda3 ubuntu-vg lvm2 a-- < | ||
+ | /dev/xvdb1 EXTRA-VG | ||
+ | |||
+ | </ | ||
+ | **Extension du volume logique: LV " | ||
+ | < | ||
+ | root@extra: | ||
+ | LV VG Attr | ||
+ | DATA EXTRA-VG | ||
+ | root@extra: | ||
+ | Size of logical volume EXTRA-VG/ | ||
+ | Logical volume EXTRA-VG/ | ||
+ | root@extra: | ||
+ | LV VG Attr | ||
+ | DATA EXTRA-VG | ||
+ | root@extra: | ||
+ | ACTIVE | ||
+ | |||
+ | </ | ||
+ | **Extension du filesystem de la partition: LV " | ||
+ | < | ||
+ | [sam. avril 22 19:10:05] root@extra: | ||
+ | resize2fs 1.46.5 (30-Dec-2021) | ||
+ | Filesystem at / | ||
+ | old_desc_blocks = 62, new_desc_blocks = 75 | ||
+ | The filesystem on / | ||
+ | toot@extra: | ||
+ | Filesystem | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | |||
+ | </ | ||
+ | http:// | ||
+ | |||
adminsys/partition.txt · Dernière modification : 2023/04/22 17:21 de tonio