Michael Kluge
2012-Jun-20 06:33 UTC
[Lustre-discuss] wrong free inode count on the client side with 1.8.7
Hi list, the number of free inodes seems to be reported wrongly on the client side. If I create files, the number of free inodes does not change. If I delete the files, the number of free inodes increases. So, from a client perspective, if I repeat to create and remove files, I can have more and more free inodes. I tried to find a bug for this in Whamcloud''s database but could not find one. ''df -i'' for the mdt on the MDS looks OK. I think behaviour is depicted here: http://lists.lustre.org/pipermail/lustre-discuss/2011-July/015789.html Right now I don''t think this is a big problem. Can this turn into a real problem? Like when the number of free inodes as seen by the client exceeds 2^64 or whatever is the limit there? Michael -- Dr.-Ing. Michael Kluge Technische Universit?t Dresden Center for Information Services and High Performance Computing (ZIH) D-01062 Dresden Germany Contact: Willersbau, Room WIL A 208 Phone: (+49) 351 463-34217 Fax: (+49) 351 463-37773 e-mail: michael.kluge at tu-dresden.de WWW: http://www.tu-dresden.de/zih -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120620/74a47f4b/attachment.html
Andreas Dilger
2012-Jun-20 14:20 UTC
[Lustre-discuss] wrong free inode count on the client side with 1.8.7
On 2012-06-20, at 12:33 AM, Michael Kluge wrote:> the number of free inodes seems to be reported wrongly on the client side. If I create files, the number of free inodes does not change. If I delete the files, the number of free inodes increases. So, from a client perspective, if I repeat to create and remove files, I can have more and more free inodes. I tried to find a bug for this in Whamcloud''s database but could not find one. ''df -i'' for the mdt on the MDS looks OK. > > I think behaviour is depicted here: > http://lists.lustre.org/pipermail/lustre-discuss/2011-July/015789.html > > Right now I don''t think this is a big problem. Can this turn into a real problem? Like when the number of free inodes as seen by the client exceeds 2^64 or whatever is the limit there?The free inode count reported for the MDT is min(inodes, blocks), so if the MDT is getting full the free inodes count will be under-represented. In the worst case an external xattr block will be needed to store the layout for each inode. If there are inodes used without allocating an xattr block (the common case) then more inodes will be reported. This is necessary for programs that (naively) check statfs() to see if there is enough space in the filesystem for some operation. It will be possible to create at least as many files as reported free inodes, assuming no other program is also creating files at the same time. Cheers, Andreas -- Andreas Dilger Whamcloud, Inc. Principal Lustre Engineer http://www.whamcloud.com/
zf5984599
2012-Jun-25 02:39 UTC
[Lustre-discuss] could one native Solaris acted as one lustre client?
Hi, dear all Cloud lustre client run on native Solaris system? if yes, how could it achieve that? Thanks in advance. B.R. Feng -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120625/725c9f02/attachment.html
Andreas Dilger
2012-Jun-25 03:20 UTC
[Lustre-discuss] could one native Solaris acted as one lustre client?
There is no native Lustre client for Solaris. The most common solution to this is to export Lustre from a Linux client via NFS and then mount it on the Solaris client. Cheers, Andreas On 2012-06-24, at 20:39, zf5984599 <zf5984599 at gmail.com> wrote:> Hi, dear all > Cloud lustre client run on native Solaris system? if yes, how could it achieve that? > Thanks in advance. > > B.R. > Feng > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120624/7da33255/attachment.html
zf5984599
2012-Jun-25 03:24 UTC
[Lustre-discuss] could one native Solaris acted as one lustre client?
thanks for your response;) B.R. Zheng Feng From: Andreas Dilger Date: 2012-06-25 11:20 To: zf5984599 CC: lustre-discuss at lists.lustre.org Subject: Re: [Lustre-discuss] could one native Solaris acted as one lustre client? There is no native Lustre client for Solaris. The most common solution to this is to export Lustre from a Linux client via NFS and then mount it on the Solaris client. Cheers, Andreas On 2012-06-24, at 20:39, zf5984599 <zf5984599 at gmail.com> wrote: Hi, dear all Cloud lustre client run on native Solaris system? if yes, how could it achieve that? Thanks in advance. B.R. Feng _______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20120625/4c232924/attachment.html