新しい会話を開始

未解決

1 Rookie

 • 

331 メッセージ

1873

2019年9月23日 22:00

filesys destroy [and-zero]コマンドについて

お客様で、DD2200のデータ消去を検討しており、filesys destroy [and-zero]コマンドをご紹介しました。

本コマンドについて幾つか質問を頂いており、以下の点についてご教示ください。

Q1)filesys destroy and-zeroコマンドを実行した時の所要時間について

   他の記事などで、and-zero をつけた場合は、長時間(数時間)かかるような記事を拝見しましたが、

   機種:DD2500  DiskCapacity:24.5TiB の環境で、おおよその作業時間を見込んでおきたく、

   おおよその時間(例えば数時間とは、4時間以内程度)は分かりますでしょうか?

 

Q2)filesys destroy and-zeroコマンドを実行した時、プロンプトは、処理が完了するまで戻らないですか。

   それともプロンプトに戻りますか。戻る場合は、処理の進捗状況を確認する方法を教えてください。

 

何卒宜しくお願い致します。

 

Moderator

 • 

6.5K メッセージ

2019年9月24日 20:00

shin1さん

 

Q1)filesys destroy and-zeroコマンドを実行した時の所要時間について

→まず最初にコマンド発行時に以下のようなメッセージが出ますのでそれである程度予想はつくと思います。

Usage( /data以下の領域)の少ないDDではある程度メッセージ内容が変わったので容量ごとに設定された

所要時間が表示されます。

 

sysadmin@ # df

Active Tier:

Resource           Size GiB   Used GiB   Avail GiB   Use%   Cleanable GiB*

----------------   --------   --------   ---------   ----   --------------

/data: pre-comp           -   723412.0           -      -                -

/data: post-comp     6993.9      348.8      6645.1     5%              1.0

/ddvar                 49.2       17.0        29.7    36%                -

/ddvar/core            49.2        6.5        40.2    14%                -

----------------   --------   --------   ---------   ----   --------------

 

sysadmin@dd2200-M15# filesys destroy

 

The "filesys destroy" command irrevocably destroys all data in

all the MTrees, including all virtual tapes, archive units and replication contexts.

The 'filesys destroy' operation will take about 8-9 minutes.

File access is disabled during this process.

        Are you sure? (yes|no) [no]: n

Command aborted.

user aborted the command

 

sysadmin@dd2200-M15# filesys destroy and-zero

The "filesys destroy" command irrevocably destroys all data in

all the MTrees, including all virtual tapes, archive units and replication contexts.

The 'filesys destroy and_zero' operation will take about 7-9 hours.

More accurate estimate will be given when the operation starts..

File access is disabled during this process.

        Are you sure? (yes|no) [no]: n

 

 

他のDDでは。。。

===================================

sysadmin@ # df

 

Active Tier:

Resource           Size GiB   Used GiB   Avail GiB   Use%   Cleanable GiB*

----------------   --------   --------   ---------   ----   --------------

/data: pre-comp           -     1129.2           -      -                -

/data: post-comp      768.7      254.2       514.5    33%              0.0

/ddvar                 29.5       10.2        17.8    37%                -

----------------   --------   --------   ---------   ----   --------------

 

sysadmin@dd140-1# filesys destroy

The "filesys destroy" command irrevocably destroys all data in

all the MTrees, including all virtual tapes, archive units and replication contexts.

The 'filesys destroy' operation will take about 2-3 minutes.

File access is disabled during this process.

        Are you sure? (yes|no|?) [no]: n

Command aborted.

user aborted the command

 

sysadmin@ # filesys destroy and-zero

The "filesys destroy" command irrevocably destroys all data in

all the MTrees, including all virtual tapes, archive units and replication contexts.

The 'filesys destroy and_zero' operation will take about 7-9 hours.

More accurate estimate will be given when the operation starts..

File access is disabled during this process.

        Are you sure? (yes|no|?) [no]: n

Command aborted.

user aborted the command

 

Q2)filesys destroy and-zeroコマンドを実行した時、プロンプトは、処理が完了するまで戻らないですか。

→こちらのスレッドを参考にすると実行中には処理の進捗状況が表示されるとあります。またそうならない場合には後述KBにあるようにサポートでの確認が可能です。

https://www.dell.com/community/NetWorker/How-to-kill-or-stop-filesys-destroy-and-zero-on-data-domain/td-p/6921127 

Ran filesystem destroy on a data domain system DDOS 5.2 around 3 days ago, had selected and zero as an option. Its still going on.

 

520907 : Data Domain: How to make sure "filesys destroy and-zero" is progressing if CLI fails

(閲覧制限ありです)

In any case the "filesys destroy and-zero" CLI is expected to show progress when ran, but at times, it will fail to do so and customers are just informed a "filesys destroy" is in progress without any real way to know for sure if this is the case, if the process has completed, or how far along the process it is.

 

なおちょっと古いDDOS(5.4)で実験したところこんな感じでした。

(ほとんどFSとしての領域を使ってません)

sysadmin@dd610# df

Active Tier:

Resource           Size GiB   Used GiB   Avail GiB   Use%   Cleanable GiB*

----------------   --------   --------   ---------   ----   --------------

/data: pre-comp           -        0.0           -      -                -

/data: post-comp     3704.2        0.1      3704.1     0%              0.0

/ddvar                 78.7        4.7        70.0     6%                -

----------------   --------   --------   ---------   ----   --------------

* Estimated based on last cleaning of 2019/09/24 06:00:45.

 

sysadmin@dd610# filesys destroy and-zero

The 'filesys destroy' command irrevocably destroys all data in

all the MTrees, including all virtual tapes ,archive units and replication contexts.

The 'filesys destroy and_zero' operation will take about 7-9 hours.

More accurate estimate will be given when the operation starts..

File access is disabled during this process.

        Are you sure? (yes|no|?) [no]: y

 

ok, proceeding.

 

Please enter sysadmin password to confirm 'filesys destroy':

....

The filesystem is now disabled.

 

終了後の出力

sysadmin@dd610# df

Filesystem doesn't exist.

Filesystem of size 3.71 TiB can be created. 

 

実際にはコマンド発行から3時間くらいで終了しました。

1 Rookie

 • 

331 メッセージ

2019年9月27日 01:00

ayasさん

 

ご回答ありがとうございます。

またわざわざ実機でもお試し頂いた情報ありがとうございました!

 

お試し頂いた時ですが、コマンド実行後は、完了するまでコマンドプロンプトは返って来ないでしょうか?

その点だけ追加でお聞きしたく。。

 

何卒、宜しくお願い致します。

 

 

Moderator

 • 

6.5K メッセージ

2019年9月29日 18:00

shin1さん

返事が遅れてすいません。コマンドを発行した後プロンプトがかえって来ます。他のコマンドも発行可能です。

( filesys destroy はDDOS部分には影響しないオペレーションなので)

しかし私が実際に確認した際は古いDDOS(5.4)だったせいか、そのあとでGUI確認、コマンドアクセスも

出来なくなってしまいました・・・

 

1 Rookie

 • 

331 メッセージ

2019年9月29日 20:00

ayasさん

 

ご返信ありがとうございます。

お客様のDDOSバージョンをお聞きしていなかったのですが、もしDDOS 5.4の場合は処理が完了するまでは、コマンドプロンプトが帰らず、完了するまで次のCLI/GUI操作ができなくなる旨お伝えしておこうと思います。

 

何卒宜しくお願い致します。

 

1 Rookie

 • 

331 メッセージ

2019年10月10日 19:00

ayasさん

先日はご回答ありがとうございました。
先日教えて頂いたコマンド実行後に表示される目安時間を見て頂くようご案内していたのですが、
お客様より、コマンドの仕様が変わっていたりして、勝手にデータ消去されてしまうことは絶対にないのか聞かれています。
こちらでもDDOS 5.5の環境があったので、実際に試してみたのですが、下記のように「yes」と入れて、更にそのあと、
sysadminのパスワードも求めらえるため、勝手に進んでしまうことはあり得ないように見えます。

また、DDOS 5.5では、実行後コマンドプロンプトには戻らず、「Progress:3% Remaining Time:2:19:45」のように
進行状況を %で表示していました。

<DDOS 5.5での実行結果>

sysadmin@dd# system show version
Data Domain OS 5.5.5.0-549921

sysadmin@dd# filesys destroy and-zero

The 'filesys destroy' command irrevocably destroys all data in
all the MTrees, including all virtual tapes ,archive units and replication contexts.
The 'filesys destroy and_zero' operation will take about 7-9 hours.
More accurate estimate will be given when the operation starts..
File access is disabled during this process.
Are you sure? (yes|no|?) [no]: yes <---★ここでyes と入れる

ok, proceeding.

Please enter sysadmin password to confirm 'filesys destroy': <--★ここでsysadminのパスワードを入れる。
...
The filesystem is now disabled.
Destroying the filesystem.
Progress:3% Remaining Time:2:19:45

 

しかしながら、お客様のDDOSは5.6.1.0-513706 で、弊社ラボとは異なり、またDDOS 5.6のコマンドリファレンスなどにも
========
Are you sure? (yes|no|?) [no]: yes
Please enter sysadmin password to confirm 'filesys destroy': xxxxxxx
========
のように聞いてくるような記載がないため、絶対大丈夫かと聞かれるとお答えしづらい状況です。

ご相談なのですが、御社で DDOS 5.6.1.0-513706の環境で、コマンドを試された時のログや、ご経験から
DDOS 5.6.1.0 でも同様に実行前に、 yes/no やsysadmin を聞かれるとご確約出来るような情報はありますか?

また、DDOS 5.6.1.0 でコマンド実行後のプロンプトへの戻り方・進捗状況の確認する方も、聞かれており
先日、バージョンによってコマンドプロンプトに戻ってくるバージョンもあるとのお話でしたので、DDOS 5.6で
どうなのか自信をもってお答えできない状況です。


ご無理なご相談なことは承知していますが、下記2点追加でご確認頂けないでしょうか?
※DD510しか試せる機器が無く、DDOS 5.6に上げられず、困っている状況です。

1) DDOS 5.6.1.0 で # filesys destroy and-zero を実行した時のログなどから
  実行前に、 yes/no やsysadmin を聞かれるかどうか?

2) DDOS 5.6.1.0 で実行後、コマンドプロンプトに戻らず、「Progress:3% Remaining Time:2:19:45」    のように進行状況を % で表示してくるか?


何卒宜しくお願い致します。

65 メッセージ

2019年10月17日 22:00

shin1さん

 

こんにちは。

DDOS 5.6で試しました。

「filesys destroy and-zero」コマンドだけですぐにdestroyが開始されることはありません。

 

# uname
Data Domain OS 5.6.2.0-543944
# filesys destroy and-zero

The 'filesys destroy' command irrevocably destroys all data in
all the MTrees, including all virtual tapes ,archive units and replication contexts.
The 'filesys destroy and_zero' operation will take about 7-9 hours.
More accurate estimate will be given when the operation starts..
File access is disabled during this process.
Are you sure? (yes|no|?) [no]: yes

ok, proceeding.

Please enter sysadmin password to confirm 'filesys destroy':
........
The filesystem is now disabled.
Destroying the filesystem.
Progress:1% Remaining Time:3:29:28

 

また、sysadminユーザパスワードを入力後は進捗がでます。

ファイルシステム以外について何かコマンド操作が必要な場合は、別ウインドウを開いていただくことができます。

↓別ウインドウでfilesys statusを打ってみました

# filesys status
*** 'filesys destroy and-zero' currently running on the system.
A 'filesys destroy' is still running.

 

1) DDOS 5.6.1.0 で # filesys destroy and-zero を実行した時のログなどから
  実行前に、 yes/no やsysadmin を聞かれるかどうか?

⇒ filesys destroy and-zeroを実行後、yes/no やsysadminパスワードを聞かれます。

 

2) DDOS 5.6.1.0 で実行後、コマンドプロンプトに戻らず、「Progress:3% Remaining Time:2:19:45」    のように進行状況を % で表示してくるか?

⇒ コマンドプロンプトに戻らず、進行状況を表示します。

 

※今回の検証機が5.6.2.0ですが、マイナーリリースの違いによるコマンドの仕様の差異は5.6においてはありません。

1 Rookie

 • 

331 メッセージ

2019年10月28日 22:00

ご回答ありがとうございました。

DDOS 5.6であればコマンドが変わることは無いとのことですので、お客様のDDOS 5.6.1.0-513706でも

「Are you sure?」は必ず聞いてくるとご説明致します。

 

なお、1点追加でご質問ですが、コマンド実行が完了するまでは、コマンドプロンプトに戻ってこないとのことですが、ということは、処理中はターミナルセッション(sshなど)を閉じることができないということでしょうか。

それとも、閉じても処理は継続されますか。

その場合は、一旦ターミナルセッション閉じた後に再度進捗状況を確認する方法を教えてください。

 

何卒宜しくお願い致します。

 

26 メッセージ

2019年11月17日 17:00

申し訳ありません。

下記の追加質問の件、如何でしょうか?

=====

1点追加でご質問ですが、コマンド実行が完了するまでは、コマンドプロンプトに戻ってこないとのことですが、ということは、処理中はターミナルセッション(sshなど)を閉じることができないということでしょうか。

それとも、閉じても処理は継続されますか。

その場合は、一旦ターミナルセッション閉じた後に再度進捗状況を確認する方法を教えてください。

======

お手数をお掛けしますが、何卒宜しくお願い致します。

26 メッセージ

2019年11月29日 02:00

何度も催促で申し訳ありません。

先日お伺いした、追加ご質問のほう如何でしょうか?

弊社にもDDOS 5.6の環境が無いため、別なバージョンで試したのですが、コマンドを投入したコンソールを閉じても、あたらにSSHでTeratermのコンソールを開いて、filesys statusをたたくと、下記のメッセージが帰ってきましたので、実行したコンソールを閉じてもコマンドは進行しているように見えます。

# filesys status
*** 'filesys destroy and-zero' currently running on the system.
A 'filesys destroy' is still running.

おそらく完全にdestroyが終わると、filesys statusコマンドで、filesysが無いというようなメッセージが返されるのだと思いますが、途中どのくらい(何%くらい)進んでいるかは見れないのではないかと思われます。

その認識で間違いないでしょうか?

何卒宜しくお願い致します。

 

 

Moderator

 • 

6.5K メッセージ

2019年12月2日 01:00

shinya1さん

今実機での確認ができないので多少うろ覚えなのですが前回テストしたとき、コネクションが切れてアクセスしたときに進行状況を確認しようとしても%は出なかったです。なのでShinya1さんの認識は正しいと思います。

イベントは見つかりませんでした!

Top