Hi,
I'm interested in setting up a volume that a NFS client can write files to via an NFS mount point and our TSM backup server can backup via a SAN connection. Can I setup a volume that can be accessed by both a NFS client and a SAN client? Netapp tech support says no but when reading the documentation it sounds like I can do it. Has anyone done this?
Thanks for any input,
Kerry Herschel
================================================================ Margaret.K.Herschel@jpl.nasa.gov ICIS Jet Propulsion Laboratory Phone 818.354.1111
DISCLAIMER: The personal and professional opinions presented herein are my own and do not, in any way, represent the opinion or policy of JPL.
you can't have simultanous SAN and NAS-write access to a LUN. You can have SAN + Readonly access to the files. Or you can have NAS write access if SAN access is temporarily disabled.
you can do a san backup while the NFS clients are in a read-only state.
how many files are you talking about? how big are the files? do you want to set this up new, or do you have existing files?
what you could do is this:
create LUNs for each file you intend to use this way (lun create). map them to your backup server (lun map). offline the luns (lun offline). make the luns read/writeable from NFS (lun share <lunpath> all)
now do your usual NFS applications, but you have some restrictions. 1) can't delete the file 2) can't resize the file (there might be more, but those are the big ones)
now when you want to do a backup...
put your NFS applications into a read-only state, or shut them down.
turn off NFS access. (lun share <lun> none) online the luns (lun online)
now do your san backup, when you're done, offline the luns, and turn sharing on.
Another way that would eliminate the file access restricitons would be to only create the luns when you needed to do the backups. This could cause the files to be resized (the files have to align to SCSI disk geometries etc) but you'd have less restrictions. You'd stop the NFS app from writing, create the lun, map the lun, backup the lun, destroy the lun, and restart the NFS app.
Britt
On Tue, 8 Jul 2003, Kerry Herschel wrote:
Hi,
I'm interested in setting up a volume that a NFS client can write files to via an NFS mount point and our TSM backup server can backup via a SAN connection. Can I setup a volume that can be accessed by both a NFS client and a SAN client? Netapp tech support says no but when reading the documentation it sounds like I can do it. Has anyone done this?
Thanks for any input,
Kerry Herschel
================================================================ Margaret.K.Herschel@jpl.nasa.gov ICIS Jet Propulsion Laboratory Phone 818.354.1111
DISCLAIMER: The personal and professional opinions presented herein are my own and do not, in any way, represent the opinion or policy of JPL.
i can't share my luns with nfs , am i the one ? here is the way i do my things : << nac5> lun show /vol/vol0/lun2 39.2m (41126400) (r/w, online, mapped) /vol/vol0/tango 20m (20971520) (r/w, online, mapped, shared) nac5> lun share /vol/vol0/lun2 read nac5> exportfs -i -o ro=genghis /vol/vol0/lun2 nac5> exportfs /vol/vol0/tango -root=genghis /vol/vol0/lun2 -ro /vol/vol0 -access=dauphin:genghis,root=dauphin:genghis /vol/vol0/home -root=dauphin:genghis
then on linux : << genghis:/opt/iSCSI/Linux# mount nac5:/vol/vol0/lun2 montagnfs/ mount: N'est pas un repertoire (= Is not a directory)
even if i put the lun offline
any idea ?
Britt Bolen wrote:
you can't have simultanous SAN and NAS-write access to a LUN. You can have SAN + Readonly access to the files. Or you can have NAS write access if SAN access is temporarily disabled.
you can do a san backup while the NFS clients are in a read-only state.
how many files are you talking about? how big are the files? do you want to set this up new, or do you have existing files?
what you could do is this:
create LUNs for each file you intend to use this way (lun create). map them to your backup server (lun map). offline the luns (lun offline). make the luns read/writeable from NFS (lun share <lunpath> all)
now do your usual NFS applications, but you have some restrictions.
- can't delete the file
- can't resize the file
(there might be more, but those are the big ones)
now when you want to do a backup...
put your NFS applications into a read-only state, or shut them down.
turn off NFS access. (lun share <lun> none) online the luns (lun online)
now do your san backup, when you're done, offline the luns, and turn sharing on.
Another way that would eliminate the file access restricitons would be to only create the luns when you needed to do the backups. This could cause the files to be resized (the files have to align to SCSI disk geometries etc) but you'd have less restrictions. You'd stop the NFS app from writing, create the lun, map the lun, backup the lun, destroy the lun, and restart the NFS app.
Britt
On Tue, 8 Jul 2003, Kerry Herschel wrote:
Hi,
I'm interested in setting up a volume that a NFS client can write files to via an NFS mount point and our TSM backup server can backup via a SAN connection. Can I setup a volume that can be accessed by both a NFS client and a SAN client? Netapp tech support says no but when reading the documentation it sounds like I can do it. Has anyone done this?
Thanks for any input,
Kerry Herschel
================================================================ Margaret.K.Herschel@jpl.nasa.gov ICIS Jet Propulsion Laboratory Phone 818.354.1111
DISCLAIMER: The personal and professional opinions presented herein are my own and do not, in any way, represent the opinion or policy of JPL.
You can't NFS mount a lun. You can NFS mount the volume (or dir, or qtree) that contains the lun.
From NAS a filer LUN just looks like a file.
Britt
On Thu, 10 Jul 2003, Stephane Bentebba wrote:
i can't share my luns with nfs , am i the one ? here is the way i do my things : << nac5> lun show /vol/vol0/lun2 39.2m (41126400) (r/w, online, mapped) /vol/vol0/tango 20m (20971520) (r/w, online, mapped, shared) nac5> lun share /vol/vol0/lun2 read nac5> exportfs -i -o ro=genghis /vol/vol0/lun2 nac5> exportfs /vol/vol0/tango -root=genghis /vol/vol0/lun2 -ro /vol/vol0 -access=dauphin:genghis,root=dauphin:genghis /vol/vol0/home -root=dauphin:genghis
then on linux : << genghis:/opt/iSCSI/Linux# mount nac5:/vol/vol0/lun2 montagnfs/ mount: N'est pas un repertoire (= Is not a directory)
even if i put the lun offline
any idea ?
Britt Bolen wrote:
you can't have simultanous SAN and NAS-write access to a LUN. You can have SAN + Readonly access to the files. Or you can have NAS write access if SAN access is temporarily disabled.
you can do a san backup while the NFS clients are in a read-only state.
how many files are you talking about? how big are the files? do you want to set this up new, or do you have existing files?
what you could do is this:
create LUNs for each file you intend to use this way (lun create). map them to your backup server (lun map). offline the luns (lun offline). make the luns read/writeable from NFS (lun share <lunpath> all)
now do your usual NFS applications, but you have some restrictions.
- can't delete the file
- can't resize the file
(there might be more, but those are the big ones)
now when you want to do a backup...
put your NFS applications into a read-only state, or shut them down.
turn off NFS access. (lun share <lun> none) online the luns (lun online)
now do your san backup, when you're done, offline the luns, and turn sharing on.
Another way that would eliminate the file access restricitons would be to only create the luns when you needed to do the backups. This could cause the files to be resized (the files have to align to SCSI disk geometries etc) but you'd have less restrictions. You'd stop the NFS app from writing, create the lun, map the lun, backup the lun, destroy the lun, and restart the NFS app.
Britt
On Tue, 8 Jul 2003, Kerry Herschel wrote:
Hi,
I'm interested in setting up a volume that a NFS client can write files to via an NFS mount point and our TSM backup server can backup via a SAN connection. Can I setup a volume that can be accessed by both a NFS client and a SAN client? Netapp tech support says no but when reading the documentation it sounds like I can do it. Has anyone done this?
Thanks for any input,
Kerry Herschel
================================================================ Margaret.K.Herschel@jpl.nasa.gov ICIS Jet Propulsion Laboratory Phone 818.354.1111
DISCLAIMER: The personal and professional opinions presented herein are my own and do not, in any way, represent the opinion or policy of JPL.