Re: [Clonezilla-live] sshfs failing in recent builds
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Steven S. <st...@nc...> - 2011-04-04 04:02:16
|
Hi Bill, On 04/01/2011 07:56 PM, Bill Gurley wrote: > I was having the same behavior this very week! But I was using version > 1.2.6-59. > > Like you, this is something that I do all the time, and I was quite > puzzled. In my situation, I was wanting to perform a restore, > overwriting the existing NTFS partition. I tried this repeatedly, > always resulting in the same failure that you described. I even put a > different NIC in the machine, and that didn't matter. > > I began to think that the error itself might be masking a completely > different problem that the onscreen clonezilla errors did not mention. > > I booted the machine to a mini-XP CD and ran 'chkdsk c: /f' on the > target partition. After that, I was able to restore my image. I don't > know if this was actually the issue, or if I just got lucky. This is weird... sshfs should not have something to do with local file system... Could you please boot Clonezilla live 1.2.6-59 or 1.2.8-23, then: 1. sudo -i 2. prep-ocsroot to mount your sshfs server. See if you can reproduce the problem. Thanks. Steven. > > > > On 03/31/2011 09:22 PM, Greg Trounson wrote: >> Dear list, >> >> We typically use Clonezilla via sshfs to a central disk-image server. >> This has worked well until recently, when we upgraded the server from >> Debian Lenny (5.0) to Debian Squeeze (6.0). Upon further testing, >> recent builds of Clonezilla were found to successfully connect to all >> Lenny and Fedora boxes but no Squeeze boxes. >> >> When it fails, the error is always the same. When booting up a live CD >> I navigate the menus thusly: English Language -> Don't touch keymap -> >> Start Clonezilla -> device-image -> ssh_server -> dhcp -> (server details) >> >> After that I get the following: >> >> Mounting sshfs by: >> sshfs -o nonempty -p 22 root@myserver:"/lab" /home/partimag >> The authenticity of host 'myserver (x.x.x.x)' can't be established. >> RSA key fingerprint is x:x:x:x:x:x:x:x:x... >> Are you sure you want to continue connecting (yes/no)? yes >> root@myserver's password: >> remote host has disconnected >> Clonezilla image home directory /home/partimag is not a mounting point! >> Failed to mount other device as /home/partimag! >> >> The server gives the following errors: >> /var/log/auth.log >> Mar 30 15:47:51 myserver sshd[11424]: Accepted password for root from >> <IPADDR> port 39518 ssh2 >> Mar 30 15:47:51 myserver sshd[11424]: pam_unix(sshd:session): session >> opened for user root by (uid=0) >> Mar 30 15:47:51 myserver sshd[11424]: subsystem request for sftp >> Mar 30 15:47:51 myserver sshd[11424]: Received disconnect from<IPADDR>: >> 11: disconnected by user >> Mar 30 15:47:51 myserver sshd[11424]: pam_unix(sshd:session): session >> closed for user root >> >> Strangely if I enter the sshfs command exactly as shown above at a >> Clonezilla root (sudo -s) prompt then it works and I can run Clonezilla >> successfully. >> >> I have tested this with several different versions of Clonezilla and >> found the following results when trying to use sshfs to a server running >> Debian Squeeze: >> >> CZ Version Status >> 1.2.4-28-686 OK >> 1.2.5-35-i686 OK >> 1.2.6-24-i486 OK >> 1.2.6-24-i686 OK >> 1.2.6-24-amd64 OK >> 1.2.6-40-i686 FAIL >> 1.2.6-40-amd64 FAIL >> 1.2.8-23-i686 FAIL >> >> This suggests that something significant changed in 1.2.6-40. The >> problem is not limited to one particular server, since I get consistent >> results when trying to connect to other Debian Squeeze boxes. >> >> Can anyone shed light on what the problem might be? >> >> thanks, >> Greg >> >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> Clonezilla-live mailing list >> Clo...@li... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |