LoginSignup
0
0

More than 1 year has passed since last update.

btrfsでsubvolumeを作ってみる

Posted at

やりたいこと

btrfsのsubvolumeを作って、snapshotを作ってみる

手順

1.subvolumeを作る

sudo btrfs subvolume create /data/app/main

2.subvolumeができたことを確認する

sudo btrfs subvolume list /data/app

3.snapshot用のディレクトリを作る

sudo mkdir /data/app/snapshot

4.snapshotをとる

sudo btrfs subvolume snapshot /data/app/main /data/app/snapshot/20220702

5.snapshotを消す

sudo btrfs subvolum delete /data/app/snapshot/20220702
0
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
0
0