Hi,
1. Create a New Volume "Eg: volrootnew"
2. Turn NDPMD Online - ndmpd on
3. Use NDMPCOPY to Copy the Root Volume to the new Volume.
a. myhost>ndmpcopy /vol/vol0/source_path /vol/vol0/destination_path
4. Once its done, you have select the new Volume to be the Root Volume
I have done a demo for you, on my FAS2040 Demo Box. Have attached the File.
Please let me know if you face any issues.
GGDEMO > priv set diag
GGDEMO*> ndmpd on
GGDEMO*> ndmpcopy /vol/vol0 /vol/volrootnew
Ndmpcopy: Starting copy [ 1 ] ...
Ndmpcopy: GGDEMO: Notify: Connection established
Ndmpcopy: GGDEMO: Notify: Connection established
Ndmpcopy: GGDEMO: Connect: Authentication successful
Ndmpcopy: GGDEMO: Connect: Authentication successful
Ndmpcopy: GGDEMO: Log: DUMP: creating "/vol/vol0/../snapshot_for_backup.103" snapshot.
Ndmpcopy: GGDEMO: Log: DUMP: Using Full Volume Dump
Ndmpcopy: GGDEMO: Log: DUMP: Date of this level 0 dump: Wed Apr 20 12:10:49 2011.
Ndmpcopy: GGDEMO: Log: DUMP: Date of last level 0 dump: the epoch.
Ndmpcopy: GGDEMO: Log: DUMP: Dumping /vol/vol0 to NDMP connection
Ndmpcopy: GGDEMO: Log: DUMP: mapping (Pass I)[regular files]
Ndmpcopy: GGDEMO: Log: DUMP: mapping (Pass II)[directories]
Ndmpcopy: GGDEMO: Log: DUMP: estimated 1073209 KB.
Ndmpcopy: GGDEMO: Log: DUMP: dumping (Pass III) [directories]
Ndmpcopy: GGDEMO: Log: RESTORE: Wed Apr 20 12:11:00 2011: Begin level 0 restore
Ndmpcopy: GGDEMO: Log: RESTORE: Wed Apr 20 12:11:00 2011: Reading directories from the backup
Ndmpcopy: GGDEMO: Log: DUMP: dumping (Pass IV) [regular files]
Ndmpcopy: GGDEMO: Log: RESTORE: Wed Apr 20 12:11:03 2011: Creating files and directories.
Ndmpcopy: GGDEMO: Log: RESTORE: Wed Apr 20 12:11:09 2011: Writing data to files.
Ndmpcopy: GGDEMO: Log: DUMP: dumping (Pass V) [ACLs]
Ndmpcopy: GGDEMO: Log: DUMP: 1073704 KB
Ndmpcopy: GGDEMO: Log: RESTORE: RESTORE IS DONE
Ndmpcopy: GGDEMO: Log: RESTORE: The destination path is /vol/volrootnew/
Ndmpcopy: GGDEMO: Log: DUMP: DUMP IS DONE
Ndmpcopy: GGDEMO: Log: DUMP: Deleting "/vol/vol0/../snapshot_for_backup.103" snapshot.
Ndmpcopy: GGDEMO: Notify: restore successful
Ndmpcopy: GGDEMO: Notify: dump successful
Ndmpcopy: Transfer successful [ 1 minutes 27 seconds ]
Ndmpcopy: Done
GGDEMO*>
GGDEMO*> vol options volrootnew
nosnap=off, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off,
ignore_inconsistent=off, snapmirrored=off, create_ucode=off,
convert_ucode=off, maxdirsize=5227, schedsnapname=ordinal,
fs_size_fixed=off, compression=off, guarantee=volume, svo_enable=off,
svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off,
no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow,
read_realloc=off, snapshot_clone_dependency=off
GGDEMO*>
GGDEMO*>
GGDEMO*>
GGDEMO*>
GGDEMO*> vol options volrootnew root
Volume 'volrootnew' will become root at the next boot.
GGDEMO*>
GGDEMO*>
GGDEMO*>
GGDEMO*>reboot
After Reboot
GGDEMO> vol options vol0
nosnap=off, nosnapdir=off, minra=off, no_atime_update=off, nvfail=off,
ignore_inconsistent=off, snapmirrored=off, create_ucode=off,
convert_ucode=off, maxdirsize=5227, schedsnapname=ordinal,
fs_size_fixed=off, compression=off, guarantee=volume, svo_enable=off,
svo_checksum=off, svo_allow_rman=off, svo_reject_errors=off,
no_i2p=off, fractional_reserve=100, extent=off, try_first=volume_grow,
read_realloc=off, snapshot_clone_dependency=off
GGDEMO>
GGDEMO>
GGDEMO>
GGDEMO>
GGDEMO> vol options volrootnew
root, diskroot, nosnap=off, nosnapdir=off, minra=off,
no_atime_update=off, nvfail=off, ignore_inconsistent=off,
snapmirrored=off, create_ucode=off, convert_ucode=off, maxdirsize=5227,
schedsnapname=ordinal, fs_size_fixed=off, compression=off,
guarantee=volume, svo_enable=off, svo_checksum=off, svo_allow_rman=off,
svo_reject_errors=off, no_i2p=off, fractional_reserve=100, extent=off,
try_first=volume_grow, read_realloc=off, snapshot_clone_dependency=off,
GGDEMO>
GGDEMO>
Regards
Moez ALIBHAI