[Lustre-discuss] lustre and rssh
Eudes PHILIPPE
eudes at cisneo.fr
Tue Jan 4 00:56:39 PST 2011
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 user at 127.0.0.1
pwd
Remote working directory: /backup
sftp> mkdir test
sftp> ls
test
now..
mount -t lustre -o flock,auto 192.168.45.20 at tcp0:/mdsT /home
df -h
192.168.45.20 at tcp0:/mdsT 3,0G 102M 2,8G 4% /home
sftp user at 127.0.0.1
pwd
Remote working directory: /backup
sftp> ls
Couldn't get handle: Failure
sftp> mkdir test
Couldn't create directory: Failure
Exit
Retry again :
sftp user at 127.0.0.1
sftp> pwd
Remote working directory: /
sftp> ls
Couldn't get handle: Failure
sftp> cd /backup
Couldn't canonicalise: Failure
Have an idea?
De : lustre-discuss-bounces at lists.lustre.org
[mailto:lustre-discuss-bounces at lists.lustre.org] 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 user1 at 127.0.0.1
.
.
.
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow at openssh.com 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20110104/09f2f619/attachment.htm>
More information about the lustre-discuss
mailing list