Ill try another system very very strange using chroot system on openssh
http://www.debian-administration.org/articles/590 chown root.root /home/user mkdir /home/user/backup chown user:sftponly /home/user/backup when Ive not lustre mounted, it work fine: sftp [email protected] pwd Remote working directory: /backup sftp> mkdir test sftp> ls test now.. mount -t lustre -o flock,auto 192.168.45...@tcp0:/mdsT /home df -h 192.168.45...@tcp0:/mdsT 3,0G 102M 2,8G 4% /home sftp [email protected] pwd Remote working directory: /backup sftp> ls Couldn't get handle: Failure sftp> mkdir test Couldn't create directory: Failure Exit Retry again : sftp [email protected] sftp> pwd Remote working directory: / sftp> ls Couldn't get handle: Failure sftp> cd /backup Couldn't canonicalise: Failure Have an idea? De : [email protected] [mailto:[email protected]] De la part de Eudes PHILIPPE Envoyé : mardi 4 janvier 2011 09:16 À : 'lustre-discuss' Objet : [Lustre-discuss] lustre and rssh Hi, Ive a strange problem with rssh on my client. Its impossible to make a chroot environnement on the mounted mds. Mds is mounted on /home. If I umount /home, and make my chroot environnement, it work fine (copy librairies on /home/system, and cp Rl /home/system to /home/users/user1) When I mount /home (lustre), connection always close.. (copy librairies on /home/system, and cp Rl /home/system to /home/users/user1) sftp -v [email protected] . . . debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK Transferred: sent 1424, received 1960 bytes, in 0.1 seconds Bytes per second: sent 16860.4, received 23206.8 debug1: Exit status 1 Connection closed I see on google I must mount with option flock, but its the same problem. Someone have an idea howto chroot sftp environnement on lustre? Regards
_______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
