Hi, I'd like to post my experience trying to have a vserver with LVM +
ReiserFS (v3) + standard user quotas.
I succefully installed a 2.6.16 kernel + vserver 2.0.2-rc15 + util-vserver
0.30.210. Everything from scratch, over a new brand Sarge. The first thing I
tried was using ext2 for the filesystem pf the logical volume... Everithing
worked fine, even the repquota. Next step was to try with reiserfs...and
ooops !!! Segmentation Fault.
The first SG happened when I did a "vserver vsname stop" and not stopping
the quota before the shutdown. So I realized there was a problem with the
quota service over reiserfs...
The second SG happened doing a "repquota" inside the guest with reiserfs.
Well, I don't know if actually this had had to work, but in my case it
didn't...
After the seg fault the only way I've found to have the realserver working
again was to reboot...ouch !.
I'm going to try with XFS, JFS and ext3...
Here you have a seg fault example:
---------------------------------------------------
rs01:~# vserver vs101 stop
Stopping periodic command scheduler: cron.
Stopping HTTP server: boa.
Stopping MTA: exim4.
Stopping internet superserver: inetd.
Stopping OpenBSD Secure Shell server: sshd.
Saving the System Clock time to the Hardware Clock...
hwclock is unable to get I/O port access: the iopl(3) call failed.
Hardware Clock updated to Tue Apr 11 01:28:39 UTC 2006.
Stopping quota service: rpc.rquotad.
Turning off quotas
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: ------------[ cut here ]------------
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: kernel BUG at fs/reiserfs/journal.c:3405!
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: invalid opcode: 0000 [#1]
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: CPU: 0
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: EIP is at journal_end_sync+0x27/0x67 [reiserfs]
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: eax: d8160000 ebx: d5dde6e0 ecx: 00000000 edx:
d5dde4e0
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: esi: d32f7e98 edi: 00000008 ebp: d5dde5f0 esp:
d32f7e80
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: ds: 007b es: 007b ss: 0068
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: Process quotaoff (pid: 2751[#49152], threadinfo=d32f6000
task=d3231030)
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: Stack: <0>d5dde6e0 d32f7e98 d81abf9d d32f7e98 d5dde6e0
00000001 d5dde6e0 00000002
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: 00000001 00000037 00000623 00000000 00000000
d47423bc d47423bc d5dde614
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: 00000004 d5dde5f0 00000002 d5dde638 c0171c49
d5dde6e0 00000001 00000008
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: Call Trace:
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [pg0+401096605/1070425088] reiserfs_sync_fs+0x2c/0x46
[reiserfs]
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [vfs_quota_off+297/503] vfs_quota_off+0x129/0x1f7
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [do_quotactl+263/800] do_quotactl+0x107/0x320
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [dput+27/270] dput+0x1b/0x10e
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [mntput_no_expire+20/98] mntput_no_expire+0x14/0x62
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [lookup_bdev+109/124] lookup_bdev+0x6d/0x7c
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [capable+22/48] capable+0x16/0x30
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [generic_quotactl_valid+298/349]
generic_quotactl_valid+0x12a/0x15d
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [check_quotactl_valid+73/81]
check_quotactl_valid+0x49/0x51
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [sys_quotactl+238/262] sys_quotactl+0xee/0x106
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Message from syslogd@localhost at Mon Apr 10 22:28:39 2006 ...
localhost kernel: Code: 5f 89 c8 c3 56 53 8b 5c 24 10 8b 74 24 0c 83 7e 10
00 8b 93 e4 00 00 00 8b 42 0c 75 08 0f 0b 4a 0d 76 f1 1b d8 83 7e 04 01 7e
08 <0f> 0b 4d 0d 76 f1 1b d8 83 78 28 00 75 1f 6a 01 ff 32 53 e8 d6
/etc/rc6.d/K85quota: line 113: 2751 Segmentation fault $off $ALLFLAGS
.
Stopping deferred execution scheduler: atd.
Stopping kernel log daemon: klogd.
Stopping system log daemon: syslogd.
Sending all processes the TERM signal...done.
usr/local/sbin/vserver: line 85: 2727 Killed
"${NICE_CMD[@]}" ${USE_VNAMESPACE:+$_VNAMESPACE --enter "$S_CONTEXT" -- }
$_VCONTEXT $SILENT_OPT --migrate --chroot --xid "$S_CONTEXT" --
"${INITCMD_STOP[@]}"
A timeout occured while waiting for the vserver to finish and it will
be killed by sending a SIGKILL signal. The following process list
might be useful for finding out the reason of this behavior:
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Apr 11 02:32:11 2006