0
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?

zfs で作ったけど名前変更したい時の手順

Posted at
1 / 5

そこらに転がっちょる man の抜粋
所謂、忘備録じゃな
例:
pool 名 → zroot
src_14.2 を作成し、src_13.5 へマウントポイントと共に変更するのが目的


zroot に /usr/src_14.2 を作ってみる

mountpoint も指定して作成
zfs create -omountpoint=/usr/src_14.2 zroot/usr/src_14.2

ファイルシステム名を変更

zroot/usr/src_14.2 → zroot/usr/src_13.5
zfs rename zroot/usr/src_14.2 zroot/usr/src_13.5

マウントポイントの変更

/usr/src_13.5 → /usr/src_13.5
zfs set mountpoint=/usr/src_13.5 zroot/usr/src_13.5

zfs のお勉強と、チョイチョイ間違ってしまうので、書き留めておくw

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?