Start a Conversation

Unsolved

This post is more than 5 years old

2841

January 13th, 2014 14:00

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

4 Operator

 • 

8.6K Posts

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.

1 Rookie

 • 

82 Posts

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




9 Legend

 • 

20.4K Posts

January 15th, 2014 19:00

did you specify protocol ?

-P nfs

674 Posts

January 15th, 2014 23:00

Sounds like, you did not follow Rainers advice:

  • -          "(Unless you have already done so) attach an interface to the VDM and check its config"


The command for this is:

nas_server  -vdm -attach


4 Operator

 • 

8.6K Posts

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

1 Rookie

 • 

82 Posts

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.

9 Legend

 • 

20.4K Posts

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 ?

1 Rookie

 • 

82 Posts

January 16th, 2014 14:00

[nasadmin@CHE-INF-FILE01-CS0 ~]$ server_df test-vdm1

test-vdm1 :

Filesystem kbytes used avail capacity Mounted on
testdin 20651504 2776 20648728 0% /testdin
testdin12 10325744 2760 10322984 0% /testdin12

I haven't attached an interface, i will create a new virtual interface and attache it to the vdm.

April 29th, 2016 14:00

Did this work. You need to specify root-vdm path to mount

No Events found!

Top