Subject: resize_lfs: resizing: Operation not supported
To: None <tech-userlevel@netbsd.org, tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 08/27/2007 14:55:39
I have a system with an LFS root filesystem, where I need some more space
for kernel dumps. The filesystem's 1.8G but has only 300MB in use and is
fairly new. When I run resize_lfs, I can see it fire up the cleaner and
move some data, then, quickly, I get:
resize_lfs: resizing: Operation not supported
A ktrace shows fcntl repeatedly fail, like this:
28476 1 resize_lfs CALL fcntl(4,0x9004cc07,0xbfbfeb64)
28476 1 resize_lfs RET fcntl -1 errno 45 Operation not supported
28476 1 resize_lfs CALL
__sigaction_sigtramp(SIGINT,0xbfbfc0a8,0xbfbfc090
,0xbbb3f3c0,2)
28476 1 resize_lfs RET __sigaction_sigtramp 0
28476 1 resize_lfs CALL
__sigaction_sigtramp(SIGQUIT,0xbfbfc0a8,0xbfbfc0c
0,0xbbb3f3c0,2)
28476 1 resize_lfs RET __sigaction_sigtramp 0
28476 1 resize_lfs CALL __sigprocmask14(1,0xbfbfc0f8,0xbfbfc0e8)
28476 1 resize_lfs RET __sigprocmask14 0
28476 1 resize_lfs CALL __vfork14
28476 1 resize_lfs RET __vfork14 7788/0x1e6c
28476 1 resize_lfs CALL wait4(0x1e6c,0xbfbfc108,0,0)
28476 1 resize_lfs RET wait4 7788/0x1e6c
28476 1 resize_lfs CALL
__sigaction_sigtramp(SIGINT,0xbfbfc090,0,0xbbb3f3
c0,2)
28476 1 resize_lfs RET __sigaction_sigtramp 0
28476 1 resize_lfs CALL
__sigaction_sigtramp(SIGQUIT,0xbfbfc0c0,0,0xbbb3f
3c0,2)
28476 1 resize_lfs RET __sigaction_sigtramp 0
28476 1 resize_lfs CALL __sigprocmask14(3,0xbfbfc0e8,0)
28476 1 resize_lfs RET __sigprocmask14 0
28476 1 resize_lfs CALL fcntl(4,0x9004cc07,0xbfbfeb64)
28476 1 resize_lfs RET fcntl -1 errno 45 Operation not supported
[...]
28476 1 resize_lfs CALL fcntl(4,0x9004cc07,0xbfbfeb64)
28476 1 resize_lfs RET fcntl -1 errno 45 Operation not supported
[...]
28476 1 resize_lfs CALL fcntl(4,0x9004cc07,0xbfbfeb64)
28476 1 resize_lfs RET fcntl -1 errno 45 Operation not supported
On the fourth iteration it emits the error message and exits. Does anyone
else have an immediate idea what's going on, before I dig into this more?
--
Thor Lancelot Simon tls@rek.tjls.com
"The inconsistency is startling, though admittedly, if consistency is to
be abandoned or transcended, there is no problem." - Noam Chomsky