1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

OCI (オラクルクラウド) で外付けディスクの追加 (マウント作業)

Posted at

OCI (オラクルクラウド) のインスタンスにディスクを追加する場合の手順のメモを記載。

  1. OCIでディスク追加&Linuxのパーティション/LVM拡張 を参考資料として、Webコンソールで追加されたディスクがOSに認識するまで実施する。

  2. その後以下のコマンドで認識させる。
    作業のイメージとしては

    • osでは/dev/nvme1n1が見えている
    • /var/data としてマウントする
    $ sudo lsblk
    $ sudo mkfs -t ext4 /dev/nvme1n1
    $ sudo file -s /dev/nvme1n1
    $ sudo mkdir -p /var/data
    $ sudo mount /dev/nvme1n1 /var/data
    
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?