Re: [lustre-discuss] ls command blocked in some dir

2020-09-23 Thread 肖正刚
Hi,
I disabled auto_scrub on all OSS use "lctl set_param
osd-ldiskfs.*.auto_scrub=0"; then trace file command on client , nothing
new returned and  oss&mds&client can not see any messages newer.

Franke, Knut  于2020年9月23日周三 下午11:59写道:

> Hi,
>
> we've had a similar issue, though in our case there were "FID-in-LMA
> [...] does not match the object self-fid" errors in the OSS logs. See
> LU-13392 for details.
>
> You could try disabling auto_scrub (lctl set_param
> osd_ldiskfs.*.auto_scrub=0) and check whether this causes lstat() to
> return something.
>
> Regards,
> Knut
>
> Am Mittwoch, den 23.09.2020, 22:56 +0800 schrieb 肖正刚:
> > Caution! External email. Do not open attachments or click links, unless
> this email comes from a known sender and you know the content is safe.
> > Hi, all
> > In one of our lustre filesystems,we found that
> > 1) ls command blocked in some dir but ls --color=never  worked.
> > 2) some files can not be accessed, like cat/head/vim/file(i use
> strace to trace command "strace file .xxx" ,  stucked in lstat).
> > "
> > fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) =
> 0
> > mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b02fbb27000
> > mmap(NULL, 266240, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b02fbb28000
> > lstat("animation-2_0043.hsf",
> > "
> > 3) at the same time,no message found on client/mds/oss
> >
> > Are these files corrupted? How to repair?
> > PS: We have used lfsck,not worked and we cannot bring down the
> filesystem to run e2fsck at present.
> >
> > ___
> > lustre-discuss mailing list
> > lustre-discuss@lists.lustre.org
> > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Re: [lustre-discuss] ls command blocked in some dir

2020-09-23 Thread Franke, Knut
Hi,

we've had a similar issue, though in our case there were "FID-in-LMA
[...] does not match the object self-fid" errors in the OSS logs. See
LU-13392 for details.

You could try disabling auto_scrub (lctl set_param
osd_ldiskfs.*.auto_scrub=0) and check whether this causes lstat() to
return something.

Regards,
Knut

Am Mittwoch, den 23.09.2020, 22:56 +0800 schrieb 肖正刚:
> Caution! External email. Do not open attachments or click links, unless this 
> email comes from a known sender and you know the content is safe.
> Hi, all
> In one of our lustre filesystems,we found that
> 1) ls command blocked in some dir but ls --color=never  worked.
> 2) some files can not be accessed, like cat/head/vim/file(i use strace to 
> trace command "strace file .xxx" ,  stucked in lstat). 
> "
> fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0x2b02fbb27000
> mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x2b02fbb28000
> lstat("animation-2_0043.hsf", 
> "
> 3) at the same time,no message found on client/mds/oss
> 
> Are these files corrupted? How to repair?
> PS: We have used lfsck,not worked and we cannot bring down the filesystem to 
> run e2fsck at present.
> 
> ___
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] ls command blocked in some dir

2020-09-23 Thread 肖正刚
Hi, all
In one of our lustre filesystems,we found that
1) ls command blocked in some dir but ls --color=never  worked.
2) some files can not be accessed, like cat/head/vim/file(i use strace
to trace command "strace file .xxx" ,  stucked in lstat).
"
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2b02fbb27000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2b02fbb28000
lstat("animation-2_0043.hsf",
"
3) at the same time,no message found on client/mds/oss

Are these files corrupted? How to repair?
PS: We have used lfsck,not worked and we cannot bring down the filesystem
to run e2fsck at present.
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org