Hi,
I have searched the forum and don't see this problem mentioned. I'm not sure if you're aware if this but, if it is mentioned somewhere, please forgive my ignorance and disregard.
I am able to use ssh to save and restore images up to version 1.2.11-23-i686-pae
Works great with no problems at home and other places.
There is a problem using ssh with the latest versions
1.2.12-10-i686-pae
1.2.12-37-i686-pae
When I get to the point were it asks for a password, I get this error message:
Clonezilla image home directory /home/partimag is not a mounting point!
Failed to mount other devices as /home/partimag!
When I run ls -al, it puts out garbage…
d????????? ?? ? ? partimage
When I run ls -al on version 1.2.11-23-i686-pae it puts out normally…
drwxr-xr-x 2 root root 40 Mar28 18:25 partimag
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you please take a photo about the screen "Clonezilla image home directory /home/partimag is not a mounting point! Failed to mount other devices as /home/partimag!"?
If so, please post it.
It would be easier for us to understand.
Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't have a camera but, I used script to capture the output. Here is the tail results of the typescript file.
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPOFFER from 10.0.1.125
DHCPACK from 10.0.1.125
bound to 10.0.4.7 - renewal in 71665 seconds.
OK. Now writing the setting to network config file… Done!
Preparing the mount point /home/partimag…
Mounting remote directory on ssh server as /home/partimag…
Mounting sshfs by:
sshfs -o nonempty,noatime -p 22 "root"@10.0.1.253:"/home/partimag" /home/partimag
The authenticity of host '10.0.1.253 (10.0.1.253)' can't be established.
RSA key fingerprint is a9:39:a9:8e:36:78:3f:18:75:8d:e1:b2:e3:ce:de:4c.
Are you sure you want to continue connecting (yes/no)? yes
root@10.0.1.253's password:
[1;31mClonezilla image home directory /home/partimag is not a mounting point! Failed to mount other device as /home/partimag!
[0;39mAre you sure you want to continue? ?
n
Program terminated!!
[1;33mUnable to mount resource as /home/partimag.
Are you sure you want to continue?
[0;39m n
Program terminated!
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 5 08:15 .
drwxr-xr-x 29 root root 240 Apr 5 08:14 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 160 Apr 5 08:15 user
root@debian:~# exit
Script done on Thu 05 Apr 2012 08:16:33 AM UTC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not sure if this is permission issue.
Are you are you are able to access "root"@10.0.1.253:"/home/partimag"?
The path /home/partimag/ does exist on the machine 10.0.1.253?
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the reply.
This wouldn't seem to be an issue with the servers ( two of them at different locations ) as they both work nicely with version 1.2.11-23
The process does work when I start it from the command prompt without trying the GUI first.
Here is a snip of that…
user@debian:~$ sudo su -
root@debian:~# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:0f:fe:48:b6:09
Sending on LPF/eth0/00:0f:fe:48:b6:09
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.0.1
DHCPACK from 192.168.0.1
bound to 192.168.0.13 - renewal in 33948 seconds.
root@debian:~# sshfs root@192.168.0.15:/mnt/win /home/partimag/
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
root@debian:~# ls -al /home/
total 4
drwxr-xr-x 4 root root 80 Apr 11 18:08 .
drwxr-xr-x 28 root root 220 Apr 11 18:08 ..
drwxrwxrwx 1 root root 4096 Sep 5 2010 partimag
drwxr-xr-x 3 user user 180 Apr 11 18:08 user
root@debian:~# logout
user@debian:~$ xit
and here is a snip of the same machine failing when using the GUI ….
root@debian:~# ocs-live
ocsroot device is ssh_server
Network is already configured! Available IP address on this machine: 192.168.0.13
Preparing the mount point /home/partimag…
Mounting remote directory on ssh server as /home/partimag…
SSH server is: 192.168.0.15
SSH port on server is: 22
SSH account in 192.168.0.15 is: root
sshfs dir in /home/partimag is: /home/partimag
Mounting sshfs by:
sshfs -o nonempty,noatime -p 22 "root"@192.168.0.15:"/home/partimag" /home/partimag
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
Clonezilla image home directory /home/partimag is not a mounting point! Failed to mount other device as /home/partimag!
Are you sure you want to continue? ?
n
Program terminated!!
Unable to mount resource as /home/partimag.
Are you sure you want to continue?
n
Program terminated!
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 11 18:01 .
drwxr-xr-x 28 root root 220 Apr 11 18:01 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 160 Apr 11 18:01 user
root@debian:~# sshfs root@192.168.0.15:/mnt/win /home/partimag
fuse: bad mount point `/home/partimag': Input/output error
root@debian:~# xit
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Scratch that part about it working from the command prompt.
I just realized that I had a typo there and didn't try to mount /home/partimag.
Here's the output from the command prompt…
user@debian:~$ sudo su -
root@debian:~# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:0f:fe:48:b6:09
Sending on LPF/eth0/00:0f:fe:48:b6:09
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.0.1
DHCPACK from 192.168.0.1
bound to 192.168.0.13 - renewal in 39352 seconds.
root@debian:~# sshfs root@192.168.0.15:/home/partimag /home/partimag
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 11 19:41 .
drwxr-xr-x 28 root root 220 Apr 11 19:41 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 180 Apr 11 19:42 user
root@debian:~# cd /home/partimag
-su: cd: /home/partimag: Input/output error
root@debian:~# logout
user@debian:~$ xit
On the servers, I have linked /home/partimag to /mnt/win/partimag
It looks like this:
# ls -al /home/
total 12
drwxr-xr-x. 3 root root 4096 Jun 18 2011 .
dr-xr-xr-x. 23 root root 4096 Apr 11 19:46 ..
lrwxrwxrwx. 1 root root 17 Jun 18 2011 partimag -> /mnt/win/partimag
I don't see anything unusual there and as I said, it works on older versions of your livecd.
I even tried re-downloading and re-burning to cd.
Also, I have tried it on three more linux servers with the same failure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Even though the linked folder used to work, I am more interested in having it work without having other users worry about changing the default /home/partimag when using the livecd.
So, I made a couple of changes on the server which does work.
First, I made sure to unlink the existing:
unlink /home/partimag
Then, I made a folder:
mkdir /home/partimag
Then, I added a line to /etc/fstab below the existing line to mount /home/partimag:
UUID=a4f77a07-6c22-4013-9301-2cd0ec06f4fc /mnt/win ext3 defaults 0 0
/mnt/win/partimag /home/partimag auto bind 0 0
It works and that's ok with me!
Thank you for the wonderful work Steven and pleas keep it up! :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have searched the forum and don't see this problem mentioned. I'm not sure if you're aware if this but, if it is mentioned somewhere, please forgive my ignorance and disregard.
I am able to use ssh to save and restore images up to version 1.2.11-23-i686-pae
Works great with no problems at home and other places.
There is a problem using ssh with the latest versions
1.2.12-10-i686-pae
1.2.12-37-i686-pae
When I get to the point were it asks for a password, I get this error message:
Clonezilla image home directory /home/partimag is not a mounting point!
Failed to mount other devices as /home/partimag!
When I run ls -al, it puts out garbage…
d????????? ?? ? ? partimage
When I run ls -al on version 1.2.11-23-i686-pae it puts out normally…
drwxr-xr-x 2 root root 40 Mar28 18:25 partimag
Could you please take a photo about the screen "Clonezilla image home directory /home/partimag is not a mounting point! Failed to mount other devices as /home/partimag!"?
If so, please post it.
It would be easier for us to understand.
Thanks.
Steven.
I don't have a camera but, I used script to capture the output. Here is the tail results of the typescript file.
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPOFFER from 10.0.1.125
DHCPACK from 10.0.1.125
bound to 10.0.4.7 - renewal in 71665 seconds.
OK. Now writing the setting to network config file… Done!
Preparing the mount point /home/partimag…
Mounting remote directory on ssh server as /home/partimag…
Mounting sshfs by:
sshfs -o nonempty,noatime -p 22 "root"@10.0.1.253:"/home/partimag" /home/partimag
The authenticity of host '10.0.1.253 (10.0.1.253)' can't be established.
RSA key fingerprint is a9:39:a9:8e:36:78:3f:18:75:8d:e1:b2:e3:ce:de:4c.
Are you sure you want to continue connecting (yes/no)? yes
root@10.0.1.253's password:
[1;31mClonezilla image home directory /home/partimag is not a mounting point! Failed to mount other device as /home/partimag!
[0;39mAre you sure you want to continue? ?
n
Program terminated!!
[1;33mUnable to mount resource as /home/partimag.
Are you sure you want to continue?
[0;39m n
Program terminated!
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 5 08:15 .
drwxr-xr-x 29 root root 240 Apr 5 08:14 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 160 Apr 5 08:15 user
root@debian:~# exit
Script done on Thu 05 Apr 2012 08:16:33 AM UTC
I am not sure if this is permission issue.
Are you are you are able to access "root"@10.0.1.253:"/home/partimag"?
The path /home/partimag/ does exist on the machine 10.0.1.253?
Steven.
Thanks for the reply.
This wouldn't seem to be an issue with the servers ( two of them at different locations ) as they both work nicely with version 1.2.11-23
The process does work when I start it from the command prompt without trying the GUI first.
Here is a snip of that…
user@debian:~$ sudo su -
root@debian:~# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:0f:fe:48:b6:09
Sending on LPF/eth0/00:0f:fe:48:b6:09
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.0.1
DHCPACK from 192.168.0.1
bound to 192.168.0.13 - renewal in 33948 seconds.
root@debian:~# sshfs root@192.168.0.15:/mnt/win /home/partimag/
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
root@debian:~# ls -al /home/
total 4
drwxr-xr-x 4 root root 80 Apr 11 18:08 .
drwxr-xr-x 28 root root 220 Apr 11 18:08 ..
drwxrwxrwx 1 root root 4096 Sep 5 2010 partimag
drwxr-xr-x 3 user user 180 Apr 11 18:08 user
root@debian:~# logout
user@debian:~$ xit
and here is a snip of the same machine failing when using the GUI ….
root@debian:~# ocs-live
ocsroot device is ssh_server
Network is already configured! Available IP address on this machine: 192.168.0.13
Preparing the mount point /home/partimag…
Mounting remote directory on ssh server as /home/partimag…
SSH server is: 192.168.0.15
SSH port on server is: 22
SSH account in 192.168.0.15 is: root
sshfs dir in /home/partimag is: /home/partimag
Mounting sshfs by:
sshfs -o nonempty,noatime -p 22 "root"@192.168.0.15:"/home/partimag" /home/partimag
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
Clonezilla image home directory /home/partimag is not a mounting point! Failed to mount other device as /home/partimag!
Are you sure you want to continue? ?
n
Program terminated!!
Unable to mount resource as /home/partimag.
Are you sure you want to continue?
n
Program terminated!
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 11 18:01 .
drwxr-xr-x 28 root root 220 Apr 11 18:01 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 160 Apr 11 18:01 user
root@debian:~# sshfs root@192.168.0.15:/mnt/win /home/partimag
fuse: bad mount point `/home/partimag': Input/output error
root@debian:~# xit
Scratch that part about it working from the command prompt.
I just realized that I had a typo there and didn't try to mount /home/partimag.
Here's the output from the command prompt…
user@debian:~$ sudo su -
root@debian:~# dhclient -v eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:0f:fe:48:b6:09
Sending on LPF/eth0/00:0f:fe:48:b6:09
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.0.1
DHCPACK from 192.168.0.1
bound to 192.168.0.13 - renewal in 39352 seconds.
root@debian:~# sshfs root@192.168.0.15:/home/partimag /home/partimag
The authenticity of host '192.168.0.15 (192.168.0.15)' can't be established.
RSA key fingerprint is 40:bc:2b:96:da:52:d9:59:1f:00:74:f1:05:f4:f5:f1.
Are you sure you want to continue connecting (yes/no)? yes
root@192.168.0.15's password:
root@debian:~# ls -al /home/
ls: cannot access /home/partimag: Input/output error
total 0
drwxr-xr-x 4 root root 80 Apr 11 19:41 .
drwxr-xr-x 28 root root 220 Apr 11 19:41 ..
d????????? ? ? ? ? ? partimag
drwxr-xr-x 3 user user 180 Apr 11 19:42 user
root@debian:~# cd /home/partimag
-su: cd: /home/partimag: Input/output error
root@debian:~# logout
user@debian:~$ xit
On the servers, I have linked /home/partimag to /mnt/win/partimag
It looks like this:
# ls -al /home/
total 12
drwxr-xr-x. 3 root root 4096 Jun 18 2011 .
dr-xr-xr-x. 23 root root 4096 Apr 11 19:46 ..
lrwxrwxrwx. 1 root root 17 Jun 18 2011 partimag -> /mnt/win/partimag
I don't see anything unusual there and as I said, it works on older versions of your livecd.
I even tried re-downloading and re-burning to cd.
Also, I have tried it on three more linux servers with the same failure.
Do not enter /home/partimag/, it's a link and sshfs won't work.
Please use /mnt/win/partimag/.
Steven.
Thanks for your reply
I know it's a link, always has been and always worked on previous versions.
Even though the linked folder used to work, I am more interested in having it work without having other users worry about changing the default /home/partimag when using the livecd.
So, I made a couple of changes on the server which does work.
First, I made sure to unlink the existing:
unlink /home/partimag
Then, I made a folder:
mkdir /home/partimag
Then, I added a line to /etc/fstab below the existing line to mount /home/partimag:
UUID=a4f77a07-6c22-4013-9301-2cd0ec06f4fc /mnt/win ext3 defaults 0 0
/mnt/win/partimag /home/partimag auto bind 0 0
It works and that's ok with me!
Thank you for the wonderful work Steven and pleas keep it up! :)
Yes, definitely it's a good solution.
Thanks for sharing that.
Steven.