I would like add a new hdd ...
-
@afaure yes that linked document contains the bits of what you need. The only thing you are doing different is creating second data store where that one assumes you will just have one.
If you combine what you just outlined and the info in that link you have everything you need.
When you get done reboot the fog server then post the results of these commands and I will confirm.
lsblk
(shows the physical block devices)df -h
(shows the mounted block devices)showmount -e 127.0.0.1
(show the shared volumes)
-
-
@george1421 i’m back.
I’ve trying to capture the image file but the files saved in /images
I have create a new storage group and storage node:
I have create a new image file and deleted the old image file and file *.img on the folder /images :
The results of the commands lsblk / df -h and showmount:
For the structure of /images2, i copied the folder dev and .Trash-1000 in /images to /images2
Thanks
-
@afaure Is storage2 node the only node in storage2 group?
If so, it has to be set as master node for it to capture images. Only do this if it is indeed the only need in the group.
-
@Quazz said in I would like a add a new hdd ...:
it has to be set as master node for it to capture images
Exactly, I was thinking about this as I commuted into the office this AM. Only the master node(s) can receive images. But that still doesn’t explain why its picking a master node in a different storage group.
-
Cross linking threads since the experience appears to be similar: https://forums.fogproject.org/topic/10442/location-plugin-not-working-after-update-to-1-4-4
-
“STOCK 2” is not a master node, so capture of images would go to the “master” node of the group it’s in.
-
@Tom-Elliott Great eye. I was focusing too much on the paths and devices to see that silly checkbox. That master node needs to be checked.
But I find it strange why it used storage1?? Wouldn’t / shouldn’t it say, “Hey, MR IT guy there are not active master nodes in my storage group. I have no place to capture this image” ??
-
@Tom-Elliott @george1421 @Quazz thanks for reply.
I would like capture images with the default node and the new node storage2.
Storage2 is alone one the group storage.Default = 1hdd
Storage2 = 1 hddI need to check the box “master node” to use the two datastores ?
-
@afaure You have 2 storage groups. Each storage group needs a master node, since only master nodes can receive captured images. If you want to capture images and save them to each datastore then you do need to check the master node, as long as they are in their own storage group.
-
@george1421 said in I would like a add a new hdd ...:
You have 2 storage groups. Each storage group needs a master node, since only master nodes can receive captured images. If you want to capture images and save them to each datastore then you do need to check the master node, as long as they are in their own storage group
Ok, i going check this box and try a new capture.
I will be back !Thanks everywhone !
-
I’m sorry.
It doesn’t work…I have check the box and the result is equal.
The node 1 (Default) is used to the captureDo you have an idea ??
In the image configuration the node group is default.
I can’t change this settings…Thanks.
-
@afaure Hi. On that page, on the left hand side there is Image Menu. The second option is Storage Group. Click on that. You can now choose a storage group.
-
@Quazz it doesn’t work…
-
@afaure What do you mean? What goes wrong?
-
@Quazz said in I would like a add a new hdd ...:
What do you mean? What goes wrong?
I can’t change this settings …
I trying to change this settings to storage2 but it doesn’t work. -
@afaure said in I would like a add a new hdd ...:
@Quazz said in I would like a add a new hdd ...:
What do you mean? What goes wrong?
I can’t change this settings …
I trying to change this settings to storage2 but it doesn’t work.Two screenshots to explain my situation:
So, i check the box for storage2 and click on “Add Image…” or “Update primary group” but the node default are keep
-
Hmm, it’s working on my end.
Is there anything in the apache error logs? (FOG Configuration -> Log viewer -> Drop down apache error log)
-
@Quazz no log available.
The message printing is “unable to open a file”
In the configuration of a new node.
The “password management” is the same of fog user ? -
@afaure Yes, but to be precise, it is the FOG linux account. Not the Web login.
If you don’t know/remember this, the password should be in /opt/fog/.fogsettings