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?

More than 5 years have passed since last update.

Synology NAS(DSM)でマウントした暗号化フォルダを自動的にアンマウントする

Last updated at Posted at 2020-04-22

はじめに

Synology NAS(DSM)でマウントした暗号化フォルダを自動的にアンマウントする方法です。

検証環境

  • 型番:DS218j
  • DSMバージョン:DSM 6.2.1-23824 Update 6

ずばり

コントロールパネル -> タスクスケジューラー
作成 -> 予約タスク -> ユーザー指定のスクリプト
タスク設定の「ユーザー指定のスクリプト」に

synoshare --enc_unmount <共有フォルダ名>

を指定する。

アンマウントすると全共有フォルダが一旦アンマウントされるので、自分はパソコンを操作しない深夜帯の時間に実行するよう指定してます。

備考

マウントされてないフォルダに対して上記コマンドを実行しても問題ないことを確認してます。

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?