Metadata Utilities: nsck and sync
Migrating Metadata to a New Back-End Share
5-44
CLI Maintenance Guide
The CLI prompts for confirmation before it starts the migration; enter
yes
to proceed.
The nsck utility copies all of the metadata to the target share, verifies its integrity at
the target share, then switches the managed volume over to the new metadata share. If
the migration fails in any way before the last step, the volume comes back online with
its metadata still on the original share. You must manually restart the migration after a
cancellation or unexpected failure.
As with all nsck jobs, this operation produces a report to show its progress. The CLI
shows the report name after you invoke the command. Use
show reports
for a full list
of nsck reports, and use
show
,
tail
, or
grep
to view one report. The report shows the
source and target shares, the size of the metadata, and the time required to migrate it.
For example, this command sequence migrates metadata for the wwmed~/acct
volume and then shows the report:
bstnA6k(gbl)#
end
bstnA6k#
nsck wwmed migrate-metadata volume /acct target nas3 nfs3 /vol/vol2/meta7
Volume /acct is in use by NFS global service 'www.wwmed.com'.
Volume /acct in namespace wwmed is in use or being browsed by global services.
Migrating metadata for this volume will disrupt clients using these services.
No other volume will be affected by this procedure.
Proceed with metadata migration? [yes/no]
yes
Starting metadata migration for wwmed:/acct. 1835008 bytes to be transferred.
Detailed status contained in report: migrate_metadata.31.rpt on switch bstnA6k
bstnA6k#
show reports migrate_metadata.31.rpt
**** Metadata Migration Report: Started at Thu Feb 1 13:11:41 2007 ****
**** Software Version: 2.05.000.09932 (Jan 31 2007 17:39:54) [nbuilds]
**** Hardware Platform: ARX-6000
Namespace: wwmed
Volume: /acct
Original Location: nas1(192.168.25.21): /vol/vol1/meta1 (nfs3)
Target Location: nas3(192.168.25.47): /vol/vol2/meta7 (nfs3)
Metadata Size: 1,794,048 (1.7M)
**** Total processed: 0
**** Elapsed time: 00:00:05
**** Metadata Migration Report: DONE at Thu Feb 1 13:11:46 2007 ****
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...