[Lustre-discuss] lustre and rssh

Eudes PHILIPPE eudes at cisneo.fr
Tue Jan 11 06:43:32 PST 2011


Strange again..... i'll try with ftp...
When I want to upload a file, I've:

553 Can't open that file: Identifier removed (and again, if /home is not a
lustre partition, it's good...)

I prefer ssh than ftp (here ftp with tls), but I've the same problem :(


-----Message d'origine-----
De : Eudes PHILIPPE [mailto:eudes at cisneo.fr] 
Envoyé : mercredi 5 janvier 2011 16:28
À : 'Eudes PHILIPPE'
Objet : RE: [Lustre-discuss] lustre and rssh

.... i don't know what is the mistake, but... finaly it's the same problem
in 32 bits, impossible to chroot correctly on client, except if /home is not
lustre partition...
Very very strange

I can connect, but.. ls:
Couldn't get handle: Failure

nobody has any idea? I'm completely stuck on the project I have to realize

-----Message d'origine-----
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 17:37 À :
lustre-discuss at lists.lustre.org Objet : Re: [Lustre-discuss] lustre and rssh

Ouah !

I compil new kernel and lustre for client, in 32 bits
 And sftp chroot works
fine


Have an idea why it’s a problem in 64 bits? I think it would be better to
have the client in 64-bit?


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:57 À : 'lustre-discuss'
Objet : Re: [Lustre-discuss] lustre and rssh

I’ll 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 I’ve 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,

I’ve a strange problem with rssh on my client. It’s 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 it’s the same problem.

Someone have an idea howto chroot sftp environnement on lustre?

Regards

_______________________________________________
Lustre-discuss mailing list
Lustre-discuss at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss





More information about the lustre-discuss mailing list