Use NAS as NFS share
-
HI
I’m curently testing some things on our test FOG. Today i wanted to use our NAS as Storage for the images. But i’m not a linux genius so the problems already came up after 5 minutes.
So i mounted the share on our NAS with NFS, this worked. But my question now is, how do i set FOG to export the NFS from the NAS instead of the FOG Server?
-
Hi,
To add a NAS as storage node :
1/ Create a share on your NAS with NFS and FTP access (FTP is used to moved images from dev/ to images/ )
2/ Create a user fog in your NAS with the same credentials in fog settings (FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD)
3/ Add it in the FOG Web UI as a storage node
- IP Address : IP of your NAS
- Image path : full NFS path of your NAS
4/ Ensure you have the good rights on your NAS share (777)
With that method you can only upload/deploy via unicast, no multicast.
To have multicast, you have to attach your NAS on your FOG server via iSCSI.
There are some topics on the forum to do that.
Regards,
Ch3i. -
Well Multicast is important, so this isn’t a solution. Thanks for the help.
-
@Polii123 said:
Well Multicast is important, so this isn’t a solution. Thanks for the help.
Try with iSCSI. Your FOG server is physical or virtual ?
-
Hi
ISCSI wouldn make any diffrence. Our FOG is virtual, and the virtual Disk is connected per ISCSI on the same NAS anyway.
-
@Polii123 said:
Today i wanted to use our NAS as Storage for the images…
If you use your NAS in your FOG via iSCSI, I don’t understand what you want to do
-
The “Problem” now is, that the Traffic flow. From Switch to Hyper-V Server then back to the switch and then to the NAS. What i wanted: Traffic flows directly from Switch to the NAS.
The Problem is that we don’t have a “SAN” Switch yet.
-
@Polii123 said:
The “Problem” now is, that the Traffic flow. From Switch to Hyper-V Server then back to the switch and then to the NAS. What i wanted: Traffic flows directly from Switch to the NAS.
The Problem is that we don’t have a “SAN” Switch yet.
Ok, I don’t see any solution…
But in multicast on xx computers, you have the same consumption of bandwidth as a single computer in unicast. -
I think making your NAS into a storage node as ch3i said is the only solution for what you want to accomplish. I have zero experience with storage nodes as of yet, but I will soon. I can’t confirm or deny that multicast works with a NAS storage node… and if it doesn’t, I surely don’t understand why not.
-
@Wayne-Workman It’s only working if the NAS isn’t the Master Node, I think…