![]() ![]() When I do the mount BEFORE the fog command, when the fog command tries to mount, I suppose it errors out, but is still somehow able to succeed? Maybe because I made failing impossible? I HAVE NO IDEA I don’t know what it is… I removed all the failure code and replaced it with the success code for EVERY section! So… Conclusion… something is going wrong with mounting using the fog.checkin script. Mounting passed and imaging finished without incident. ![]() Mount -t cifs -o username=root,password=PASSWORDHERE //10.0.0.3/images /images Mounted to the remote images directory via CLI (ensured NFS was NOT running first): Restored my images from backup… was a process…Ĭreated the /images directory manually at CLI (echo "$pass" echo "$pass") | smbpasswd -s -a $userĮcho "You might want to note the below info."Įcho "If you want to make custom changes to shares,"Įcho "The config file is /etc/samba/smb.conf"ĭid a debug download, was fiddling around with mounthing…Īnd all of my images and data … GONE!!! MOTHER news: # Set the samba user with the credentials. Pass="$(grep 'storageftppass=' /opt/fog/.fogsettings | cut -d \' -f2 )" f 1-1 is one, -f 1-2 is two, -f 1-3 is three # the last part determines the number of octects set for "hosts allow". # This is for extra security, prevents an IP not from your network getting in, even if they know the username / password. # The bleow bit extracts the out-facing IP. #below lines append to the end of /etc/samba/smb.confĮcho '#This file was generated by an automated installation script' > /etc/samba/smb.confĮcho '#for FOG 1.3.0 and higher to share the default /images directory.' > /etc/samba/smb.confĮcho 'path = /images' > /etc/samba/smb.confĮcho 'read only = no' > /etc/samba/smb.confĮcho 'unix charset = utf-8' > /etc/samba/smb.confĮcho 'dos charset = cp932' > /etc/samba/smb.conf #beware, below line overwrites anything in /etc/samba/smb.conf # Make a new config file, then fill it with settings. This is what I’ve been tinkering with tonight… had to upload an ISO for testing, needed to do it in style. You may check-out and install like so: svn checkout svn://.net/p/samba-for-fog/svn/ samba-for-fog-svn This script has been converted into a sourceforge project.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |