※ この募集は締め切られました。
Ubuntuの物理ディスクのマージ
【教えてもらいたいこと】
プログラミング/サーバーサイド, Linux全般/CentOS/Ubuntu/Debian
【利用目的】
技術的な質問・相談
【具体的な相談内容】
ConohaのVPSサーバーで追加SSD200GBを購入したのですが、元々割り当てられている/dev/vda1(100GB)へマージして、300GBの単一ディスクとして利用したいと考えています。
OS情報など以下にコマンド出力結果を貼り付けます。
root@133-130-98-206:~# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 393M 1.1M 392M 1% /run
/dev/vda2 99G 54G 41G 57% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 393M 4.0K 393M 1% /run/user/0
tmpfs 2.0G 0 2.0G 0% /run/qemu
root@133-130-98-206:~# fdisk -l
Disk /dev/loop1: 63.2 MiB, 66265088 bytes, 129424 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
Disk /dev/loop2: 63.45 MiB, 66531328 bytes, 129944 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
Disk /dev/loop3: 102.98 MiB, 107986944 bytes, 210912 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
Disk /dev/loop4: 111.95 MiB, 117387264 bytes, 229272 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
Disk /dev/loop6: 53.26 MiB, 55844864 bytes, 109072 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
Disk /dev/vda: 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: 64B20E78-04A0-4D37-AD8D-B205396AABE0
Device Start End Sectors Size Type
/dev/vda1 2048 4095 2048 1M BIOS boot
/dev/vda2 4096 209715166 209711071 100G Linux filesystem
Disk /dev/vdb: 200 GiB, 214748364800 bytes, 419430400 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
root@133-130-98-206:~# hostnamectl
Static hostname: 133-130-98-206
Icon name: computer-vm
Chassis: vm
Machine ID: 85d2b5f410c448b7b981ff16f3986601
Boot ID: 332ad30f5b174086856f12c8d6cc0f2b
Virtualization: kvm
Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-76-generic
Architecture: x86-64
Hardware Vendor: Fedora Project
Hardware Model: OpenStack Nova
【希望相談スタイル】
チャット, ビデオ通話
【目安予算】
5000円