[Lustre-discuss] lustre and rssh

Eudes PHILIPPE eudes at cisneo.fr
Tue Jan 11 07:55:17 PST 2011


What is the better way, to "copy" this database, if :
- I use ssh connection, so users system /etc/passwd (simple copy / add user after each creation on client?)
- I use ftp, with database, and uid / gid are virtual (no reference on /Etc/passwd and /etc/group)

how are you doing?

regards


-----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 11 janvier 2011 16:17
À : lustre-discuss at lists.lustre.org
Objet : Re: [Lustre-discuss] lustre and rssh

Oh! Ok... i'm going to search howto.... thanks a lot

-----Message d'origine-----
De : Dennis Nelson [mailto:dnelson at sgi.com] Envoyé : mardi 11 janvier 2011 15:46 À : Eudes PHILIPPE; lustre-discuss at lists.lustre.org Objet : Re: [Lustre-discuss] lustre and rssh

The MDS needs the user database.  Without that, you get that error.



On 1/11/11 8:43 AM, "Eudes PHILIPPE" <eudes at cisneo.fr> wrote:

> 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...)

The Lustre MDS needs the user and database (/etc/password or whatever you are using).  Without that, you get that error.

> 
> 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
> 
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss


_______________________________________________
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