i have a netapp on premises.
it has a couple vfilers. i wanted to create an additional vfiler. sadly, i couldn't. hate. i hate.
i created a volume and i needed to make it have special non-nfsv4 settings cause that's just how the world goes.
but! for whatever reason the netapp won't let me edit /etc/exports via a mount on a management host. it just won't.
so, here's what you do, and you'll see what this is a pain.
ssh root@freakonetapp
rdfile /etc/exports
(and out spits a lot of stuff)
/vol/crap -sec=sys,rw,root=10.6.6.66,nosuid
/vol/crap2 -sec=sys,rw,root=10.6.6.66,nosuid
i need to change /vol/crap2 and add yet another management host.
so, copy all the lines that spit out on the screen. make your spiffy changes on an editor somewhere and issue:
wrfile /etc/export
(copy your spiffy changes you had in an editor elsewhere)
/vol/crap -sec=sys,rw,root=10.6.6.66,nosuid
#/vol/crap2 -sec=sys,rw,root=10.6.6.66,nosuid
/unix-crap -actual=/vol/crap2,sec=sys,rw,root=10.6.6.66:10.6.66.6,nosuid
Ctrl-C
And reexport nfs:
exportfs -a
Friday, December 5, 2014
netapp exports and hate
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment