Setting up new storage node
-
@Jordonlovik said:
Do I have that correct?
Not really no. Sorry.
the
.mntcheck
files are empty. They are blank. When NFS mounting occurs on the client, it then verifies that mounting was done correctly and is working. It does this by checking for a file called.mntcheck
The clients do not look inside the file, they merely look to see if the file exists. Hence “mnt check”the
/etc/exports
file defines what directories are exported. think of this as sharing. In that file, you should have two lines that describe your existing local storage node. Just copy those lines and past them at the end of the file, and change those two pasted lines to describe the new exported directories (wherever you mounted your hdd to). You’ll need to update their IDs. You cannot have duplicate IDs in this file. Then you save your changes, and then reboot.Does this make sense?
-
@Wayne-Workman yes it does thank you. all i have to do is add two new lines with new IDs that correspond with the new node location.
-
@Jordonlovik said:
all i have to do is add two new lines with new IDs that correspond with the new node location.
Correct.
Plus the .mntcheck files and dev folder, and the matching stuff in the web interface afterwards.
-
@Wayne-Workman Is there any other way to edit the .mntcheck file? the vi editor is really giving me trouble through my remote session.
-
You don’t edit the .mntcheck file. It’s supposed to be a blank file.
You simply create it with
touch .mntcheck
and that’s it, you are done.http://www.linfo.org/touch.html
The touch Command
The touch command is the easiest way to create new, empty files. -
@Wayne-Workman Sorry im saying that wrong i am actually modifying the /etc/exports file! I don’t know how or why i was thinking .mntcheck still. It looks like i may have F’ed my server over anyways. This is my first run at Linux and its been a bumpy one. I was not able to edit the /etc/Exports file because it was owned by root. So i ran the 777 permissions command not knowing the consequences. now i am getting the Sudoers is world writable error. I wish i had realize my install partitioned so idiotic by default. i have plenty of storage space its just not in the root directory where it needs to be.
-
@Jordonlovik I apologize, I should have realized. You do need “super user” permission when editing /etc/exports.
you can either A. change to super user for the duration of your session like
sudo su
or B. execute only one command with sudo likesudo vi /etc/exports
-
@Wayne-Workman said:
And I agree with @ITSolutions , it’s probably a very bad idea to try to use NTFS. I’d recommend Ext4 as he did.
Poking my nose into this little 'ism. The NTFS formatted image drives, physical and virtual, that I’ve been using for over a year disagree.
-
Maybe I’m seeing the wrong thing.
The DefaultMember is IP address 10.1.1.201, but the new node (which I imagine is on the same server?) is set to IP 10.1.1.102
-
@Tom-Elliott said:
10.1.1.201, but the new node (which I imagine is on the same s
I noticed this myself. I changed that and am sill experiencing the same error.
-
At this point I am strongly considering a full reinstall of the server. Although it was labor intensive. I was just starting to experience the wonder of FOG imaging too. and I love it.
-
@Jordonlovik said:
At this point I am strongly considering a full reinstall of the server. Although it was labor intensive. I was just starting to experience the wonder of FOG imaging too. and I love it.
I’d recommend CentOS or Fedora. These instructions basically work for both: https://wiki.fogproject.org/wiki/index.php/Fedora_21_Server
-
@Wayne-Workman You don’t prefer Kubuntu for FOG setups?
-
@Jordonlovik I don’t prefer things that aren’t Red Hat based. I’m studying for my RHCSA and RHCE, and if an employer wanted to use Linux, they generally choose RHEL for the support that Red Hat offers.
If you’d like to create a tutorial for Kubuntu, please go ahead and post it in the tutorials area for everyone. And obviously we try our best to help people use whatever distro of Linux they want. @Tom-Elliott is really the guy who makes it work on just about everything.
-
And if you want to use the Debian family (Debian, Ubuntu, anything ending in “buntu”), then just get plain, vanilla, not messed with and works just fine Debian.
-
Thanks. I began reinstalled using Fedora 22 server 64bit. hope to have FOG back up and running soon.