Monday, February 02, 2026

Re: Debbuging a hung filesystem

On Mon Feb 2, 2026 at 6:34 PM UTC, Claudio Jeker wrote:
> Use ps alx to get the wait channel things are waiting on.
> This may help to understand where it hangs.

Hi Claudio,

Thank you!

They are all waiting on inode:

0 19077 1047 19 10 0 5664 9908 inode D ?? 0:00.82 /usr/bin/perl -T /usr/libexec/security
32767 60002 13403 19 10 5 1252 1972 inode DNp ?? 0:07.48 find / ! ( -fstype ffs -or -fstype ufs -or -fstype ext2fs ) -prune -or -path /tmp -prune -or -path /var/tmp -prune -or -print
0 7452 9129 27 10 0 5656 9916 inode D ?? 0:00.66 /usr/bin/perl -T /usr/libexec/security
0 98725 48389 27 10 0 5732 9960 inode D ?? 0:00.63 /usr/bin/perl -T /usr/libexec/security
0 25124 1 0 10 0 1688 1088 inode Dp p0 0:00.30 -ksh (ksh)
0 30971 74631 0 10 0 1212 572 inode D+ p1 0:00.01 dump -a -0 /
0 55327 1 0 10 0 1432 1064 inode Dp p2 0:00.04 -ksh (ksh)
0 17039 64069 0 10 0 224 148 inode D+ p2 0:00.00 umount -f /files/more
0 61851 1 0 10 0 884 424 inode Dp p3- 0:00.00 ls /files/more/
0 89656 60493 0 10 0 264 1164 inode D+ p3 0:00.01 quotaoff /files/more
0 70837 1 0 10 0 884 428 inode Dp p4- 0:00.00 ls /files/more/parsnip
0 42219 35595 0 10 0 156 184 inode D+p p5 0:00.00 cat /files/more/foo
0 2293 1 0 10 0 516 1108 inode D p7- 0:00.01 fstat /files/more

-Henrich

No comments:

Post a Comment