Procedure
Currently disks cannot be directly removed from any traditional volume or aggregate, a new root volume must be created then the data can be migrated. If there are enough spare disks available to create a new root volume
- Create a new volume ("root") with 2 disks:
filer> vol create root 2 - Verify that the volume settings of vol0 and root are the same:
filer> vol status -v - Verify that NDMPD is enabled:
filer> options ndmpd.enable - Copy the contents of vol0 to root:
filer> ndmpcopy /vol/vol0/etc /vol/root/etc - Make the "root" volume the root volume with the following command:
filer> vol options root root - Verify that the used space of root is the same as vol0
filer> df
To change the C$ share to map to the new root volume:
- Determine which shares have a vol0 path:
filer> cifs shares - filer> cifs shares -delete C$
- filer> cifs shares -add C$ /vol/root
- filer> cifs access C$ BUILTIN\Administrators Full Control
- filer> cifs access -delete C$ everyone
Eventually add more groups to this share. Do the same for any other shares with the path vol0.
To reboot filer and destroy the volume, follow these steps:
- Verify that the new volume root is shared:
filer> cifs shares - Make the necessary changes in the /etc/exports file to ensure the path to the root volume eventually exported is mountable from a UNIX machine
- Reboot the filer
filer> reboot - Verify that vol0 is marked offline
filer> vol offline vol0 - Destroy the volume
filer> vol destroy vol0
No comments:
Post a Comment