Unsolved
This post is more than 5 years old
82 Posts
1
2696
NFS - move FS from physical DM to VDM
Hi,
Currently i have an environment with NFS Exports on Physical Data Mover mounted FS and i need to move all the File Systems to a VDM.
Current File Software Version : 7.1.65-8
1. Can it be done via GUI?
2. If it has to be done only thru CLI, what is the command ?
3. I read some document and understood the NFS export path need to be modified? can you also explain how the path need to be modified thru CLI?
Thanks
Dino
Rainer_EMC
8.6K Posts
2
January 13th, 2014 14:00
There is no builtin move for this.
You just need to
- (Unless you have already done so) attach an interface to the VDM and check its config
- Unmount the fs from the DM – don’t forget the perm flag
- Mount fs on the VDM
- Create the NFS exports based on the VDM
- Remove the DM based export
See the NFS and VDM manuals for more details
The mount/umount’s you can do via the GUI – the VDM NFS export and config is CLI only
If you are doing this while in production test with a test file system first so that you have the order and config correct - otherwise you risk running into stale NFS file handles.
IF you have applications running from these NFS export you need to work out a procedure to keep the interface down while the NFS file handles aren’t valid.
12122
82 Posts
0
January 15th, 2014 16:00
Thanks Rainer_EMC
This is what i tried on a test FS name : testdin12
1) Unexported the NFS export of a FS mounted on physical datamover "server_2"
server_export server_2 -unexport perm pathname /testdin12
2) Unmounted FS on server_2
server_umount server_2 -perm /testdin12
3) Deleted the pathname
server_mountpoint server_2 -delete /testdin12
After that i created a vdm and named "test-vdm1" and i mounted the File System on that vdm and path name /testdin12
and now NFS export of the file system was created using the below command
server_export test-vdm1 -o root=10.X.X.X,access=10.X.X.X,rw=10.X..X.X /testdin12
Issue : Not able to mount the FS on the server with path name /testdin12 , which is the mount point.
Need your guidance.
Thanks
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
January 15th, 2014 19:00
did you specify protocol ?
-P nfs
Peter_EMC
674 Posts
0
January 15th, 2014 23:00
Sounds like, you did not follow Rainers advice:
The command for this is:
nas_server -vdm -attach
Rainer_EMC
8.6K Posts
0
January 16th, 2014 04:00
I think step 1 should have been
- Read the relevant sections of the VDM manual and the NFS manual to understand the feature
12122
82 Posts
0
January 16th, 2014 10:00
Dynamox,
yes i added the protocol,
server_export test-vdm1 -Protocol nfs -o root=10.X.X.X,access=10.X.X.X,rw=10.X..X.X /testdin12
sorry i missed it while typing.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
January 16th, 2014 10:00
can you post output from "server_df test-vdm1" ..did you also try to attach the interface as recommended above ?
12122
82 Posts
0
January 16th, 2014 14:00
[nasadmin@CHE-INF-FILE01-CS0 ~]$ server_df test-vdm1
test-vdm1 :
I haven't attached an interface, i will create a new virtual interface and attache it to the vdm.
nasiamohamedull
64 Posts
0
April 29th, 2016 14:00
Did this work. You need to specify root-vdm path to mount