Bonjour,
J'ai upgradé mon VPS de 160Go à 320Go.
J'ai suivi cette procédure pour le repartionnement : https://docs.ovh.com/fr/vps/repartitionner-vps-suite-upgrade/
Le VPS a bien redémarré mais j'ai toujours mes 160 Go dans Plesk.
Voilà les étapes de ce que j'ai fait :
[RESCUE] root@vps-82bad44c:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.5G 0 disk
└─sda1 8:1 0 2.5G 0 part /
sdb 8:16 0 160G 0 disk
└─sdb1 8:17 0 160G 0 part
[RESCUE] root@vps-82bad44c:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.5G 0 disk
└─sda1 8:1 0 2.5G 0 part /
sdb 8:16 0 160G 0 disk
└─sdb1 8:17 0 160G 0 part
[RESCUE] root@vps-82bad44c:~ $ umount /dev/sdb1
umount: /dev/sdb1: not mounted.
[RESCUE] root@vps-82bad44c:~ $ e2fsck -yf /dev/sdb1
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 160655/10403840 files (0.6% non-contiguous), 17811370/41941628 blocks
[RESCUE] root@vps-82bad44c:~ $ fdisk -u /dev/sdb
Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sdb: 160 GiB, 171798691840 bytes, 335544320 sectors
Disk model: QEMU HARDDISK
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: dos
Disk identifier: 0xf0d5d3e4
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 335535071 335533024 160G 83 Linux
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-335544319, default 2048): 2048
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-335544319, default 335544319): 335544319
Created a new partition 1 of type 'Linux' and of size 160 GiB.
Partition #1 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o: n
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
[RESCUE] root@vps-82bad44c:~ $ resize2fs /dev/sdb1
resize2fs 1.44.5 (15-Dec-2018)
Resizing the filesystem on /dev/sdb1 to 41942784 (4k) blocks.
The filesystem on /dev/sdb1 is now 41942784 (4k) blocks long.
[RESCUE] root@vps-82bad44c:~ $ mount /dev/sdb1 /mnt
[RESCUE] root@vps-82bad44c:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 8.5M 1.6G 1% /run
/dev/sda1 2.4G 1.6G 641M 72% /
tmpfs 7.7G 0 7.7G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 0 7.7G 0% /sys/fs/cgroup
/dev/sdb1 158G 66G 86G 44% /mnt
[RESCUE] root@vps-82bad44c:~ $ exit
En vous remerciant pour votre aide,
Loïc
Je ne sais pas si le support regarde ce forum. Mais pas eu de réponse non plus à mon ticket support 1440297 ouvert il y a 5 jours.
Disk /dev/sdb: 160 GiB
Es-tu certain que l'upgrade est fait ?
Oui, c'est le premier truc que j'ai regardé, dans la manager OVH : Storage = 320 Go
Oui, c'est le premier truc que j'ai regardé, dans la manager OVH : Storage = 320 Go
As-tu rebooté au moins une fois ton VPS depuis lors ?