The ocs_prerun and ocs_prerun1 successfully execute.... and when I drop to the shell, I can confirm that SERVERIMG is right there in /home/partimag. And yet, the unattended install still fails with this msg:
"The directory /home/partimag/SERVERIMG for the inputed name does NOT exist!
Program terminated!!!!
"ocs-sr --batch -g auto -e1 auto -e2 -r -j2 -p reboot restoredisk SERVERIMG sda" finished with errors!"
This doesn't make any sense. Here's my nfs exports line:
When I hop onto the target system (which received a DHCP IP of 172.16.5.116), I can easily ping the NFS/PXE server (172.16.5.1), and as stated the NFS mount is present and accounted for, with the SERVERIMG image file present. Here's an excerpt of the 'mount' command:
172.16.5.1:/tftpboot/imaging/customer/images on /home/partimag type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=60,retrans=2,sec=sys,clientaddr=172.16.5.116,local_lock=none,addr=172.16.5.1)
Am I missing something obvious here? Can anyone advise as to why CZ is claiming there is no /home/partimag/SERVERIMG file, when it clearly is there?
Thanks very much,
supra92t
Last edit: supra92t 2015-12-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One other piece of info --- I dropped to shell and tried executing the command directly, even after confirming the presence of the path/file:
root@debian:/home/partimag# pwd
/home/partimag
root@debian:/home/partimag# ls
SERVERIMG
When running the command, I get the same failure, but I also notice an LVM failure, though it's unclear if this is the reason behind CZ not seeing the image file:
root@debian:/home/partimag# ocs-sr --batch -g auto -e1 auto -e2 -r -j2 -p reboot restoredisk SERVERIMG sda
Setting the term as LINUX
Starting /usr/sbin/ocs-sr at 2015-12-30 13:17:52 UTC...
****************************************
Clonezilla image dir: /home/partimag
****************************************
Failed to stop mkswapfile.service: Unit mkswapfile.service not loaded.
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
The directory /home/partimag/SERVERIMG for the inputed name does NOT exist!
Program terminated!!!!
root@debian:/home/partimag#
.
Does this hopefully shed any light on things? Really at a loss here...
Thanks,
supra92t
Last edit: supra92t 2015-12-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Running CZ Live 20151222-wily-amd64. Here's my pxelinux.cfg default entry:
APPEND initrd=clonezilla/live/initrd.img boot=live config noswap nolocales edd=on nomodeset union=overlay ocs_live_run="ocs-sr --batch -g auto -e1 auto -e2 -r -j2 -p reboot restoredisk SERVERIMG sda" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 nosplash noprompt ocs_prerun="mount -t nfs 172.16.5.1:/tftpboot/imaging/customer/images /home/partimag" ocs_prerun1="sleep 3" fetch=http://172.16.5.1:8888/clonezilla/live/filesystem.squashfs
The ocs_prerun and ocs_prerun1 successfully execute.... and when I drop to the shell, I can confirm that SERVERIMG is right there in /home/partimag. And yet, the unattended install still fails with this msg:
This doesn't make any sense. Here's my nfs exports line:
/tftpboot/imaging/customer/images/ *(rw,all_squash,async)
When I hop onto the target system (which received a DHCP IP of 172.16.5.116), I can easily ping the NFS/PXE server (172.16.5.1), and as stated the NFS mount is present and accounted for, with the SERVERIMG image file present. Here's an excerpt of the 'mount' command:
172.16.5.1:/tftpboot/imaging/customer/images on /home/partimag type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=60,retrans=2,sec=sys,clientaddr=172.16.5.116,local_lock=none,addr=172.16.5.1)
Am I missing something obvious here? Can anyone advise as to why CZ is claiming there is no /home/partimag/SERVERIMG file, when it clearly is there?
Thanks very much,
supra92t
Last edit: supra92t 2015-12-30
One other piece of info --- I dropped to shell and tried executing the command directly, even after confirming the presence of the path/file:
When running the command, I get the same failure, but I also notice an LVM failure, though it's unclear if this is the reason behind CZ not seeing the image file:
.
Does this hopefully shed any light on things? Really at a loss here...
Thanks,
supra92t
Last edit: supra92t 2015-12-30
Please run:
find /home/partimag/ -print
when you see the above error, then post the results.
Steven.