Network and Storage Protocols

How to move a cifs-share to a new vfiler?

sanadmin_stadtdo
3,234 Views

Hello,
we have to move a productive "CIFS"-volume (share) from controler (vfiler0) to a new, yet to be created, vfiler1 on the same controler.

In the past, we have also created vfilers, but only with inactive/new data.

Is there something special to consider (e.g. root-volume etc) ?

Thank you.

2 REPLIES 2

haenggi
3,234 Views

There is no special way to do that, but there are some points to consider

- you need to have a root volume for the vfiler and then you can create it "empty" with only the root volume

- you have to do the CIFS setup of the new vfiler

- you can only assign the volume with the data to the vfiler but not the shares, they have to be recreated on the vfiler

- if you use local users or groups, you have to perform a front end migration using a tool like secure copy, because the the vfiler has its own SID, users and groups. This means as well, you need double the space to be able to copy the date from the vfiler0 to a new empty volume that belongs to the vfiler.

Thats about it, with those steps you should be fine for your migration.

thomas_glodde
3,234 Views

as for the shares, you can copy & paste lines from the /etc/cifsconfig_shares.cfg from the vfiler0 to the new vfiler so no need to manualy recreate them.

Public