Nas node storage : permission denied
-
At the fos linux command prompt you will need to key in:
mkdir /images mount 192.168.1.1:/images/dev /images
Replace 192.168.1.1 with the actual IP address of your nas box.
-
@george1421 Thanks ! That was it ! The image is being created, I will see if it works.
I had set NFS for the fog server instead of “hostname or IP = *”.
I will do a post with my solution, thanks.
But to priory the image is downloading well in the NAS.
It was 2 days that I block.
I come back to you if I have another problem.
(sorry for my english, i’m french )
-
Solution
You have to have exactly this configuration for tftpboot, images and snapins.
you have to put IP = * and not IP = X.X.X.X, it’s my error
-
So I’m coming to the end “image captured, successfully”.
But immediately after I have this message:
Do you want me to create a new thread for this problem?
-
@lucas942 We have just recently seen this invalid storage group error message. The last time the OP of that thread just rebuild the FOG server to fix and never worked to find the solution. I personally think the update database is a bit more telling and actually both error are incorrectly reporting the real issue.
I want you to look on your nas box. In the equivalent to /images/dev on the fog server. Check to see if a directory is there with the mac address of the target computer as the directory name. If it is, this is the point in the upload process where the fog client connects back to the storage device via FTP and renames the /images/dev/<mac_address> directory to /images/<image_name>. I think this is where its currently falling down.
-
@george1421
On my fog server in /images/dev i have that :![alt text]( image url)
(I need to go, i come back later sorry and thanks a lot for your help !!!)
-
@lucas942 Sorry I need to see what is on your nas since you are uploading to your nas right?
cheers until next week.
-
@lucas942 When you see the “Error returned: Invalid Storage Group”, can you please connect to the database on your FOG server and run the following query:
shell> mysql -u root -p Password: ... mysql> use fog; ... mysql> SELECT taskID,taskName,taskCreateTime,taskHostID,taskNFSGroupID FROM tasks ORDER BY taskID DESC LIMIT 5; ...
Take a picture or copy&paste the whole output here.
-
This post is deleted! -
@lucas942 @Sebastian-Roth @george1421
I just got to find a directory in / images on the NAS 14gb its name is: e86a64cbxxxx and this corresponds to the MAC address of my PC.
So I rename this folder “Standard”?
Because the name of my image is “Standard”I
I renamed the file, but
when capturing the image, a new folder with the MAC address of the PC is created.
Also, the storage location is set to / images / dev but the image is created in / images.I get a new error after this change and my “Standard” folder has been removed, but it remains the folder with the e86xxxxxxxx mac address:
-
Thanks for your answer !
-
@lucas942 said in Nas node storage : permission denied:
I just got to find a directory in / images on the NAS 14gb its name is: e86a64cbxxxx and this corresponds to the MAC address of my PC.
So I rename this folder “Standard”?
Because the name of my image is “Standard”You have a few things that are wrong.
- The image file should be first captured into the /images/dev/<mac_address> folder.
- After the image is fully uploaded to the /images/dev/<mac_address> folder the target computer logs into the FOG server (nas in your case) via FTP and issues a move command to move all of the files in /images/dev/<mac_address> to /images/<image_name>.
The screen shot of the error you see about ftp_put tells me that in the storage node configuration there is 2 fields
Management Username
andManagement Password
. The values in those fields must match the user you created on the NAS device.