Metadata Utilities: nsck and sync
Rebuilding a Namespace
CLI Maintenance Guide
5-35
bstnA6k# ...
Rebuilding a Volume
You can narrow the focus of an
nsck rebuild
to a single volume:
nsck
namespace
rebuild volume
volname
where:
name
(1-30 characters) is the name of the namespace to rebuild. Use the
show namespace
command to see a list of configured namespaces.
volume
volname
(optional, 1-256 characters) limits the rebuild to the chosen
volume (for example, ‘/home’).
The CLI prompts for confirmation before re-importing the volume’s shares: enter
yes
to continue. Enter
no
to cancel the rebuild.
For example, the following command sequence exits to priv-exec mode and rebuilds
the ‘/etc’ volume in the ‘archives’ namespace:
bstnA6k(gbl)#
end
bstnA6k#
nsck archives rebuild volume /etc
Reimport all shares from volume /etc in namespace archives? [yes/no]
yes
bstnA6k#
show nsck
Op Id Op Type Namespace:Path Status
------ ------------ ---------------------------------------- ------------------
...
37 report archives:/etc Rebuild in progress
bstnA6k# ...
As mentioned above, this stops all managed-volume modifications (client writes and file
renames on import) after the rebuild. Essentially, the nsck utility issues a
no modify
for
the volume.
To guarantee that modifications are enabled after the rebuild, run the
modify
command
and raise the
reimport-modify
flag before you rebuild the volume. The reimport-modify
flag stops the nsck utility from running
no modify
on the volume.
If do not do this but the rebuild/import succeeds without any collisions, you can use the
modify
command after the rebuild.
Содержание 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...