免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3730 | 回复: 10
打印 上一主题 下一主题

我编译内核后装载磁盘配额出现问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-28 16:39 |只看该作者 |倒序浏览
我编译过内核后quotaon -vug /home
显示
quotaon: using /home/quota.group on /dev/hda5: Invalid argument
quotaon: using /home/quota.user on /dev/hda5: Invalid argument
我的文件是新格式的啊.应该是/home/aquota.group和/home/aquota.user才对啊?怎么他去找旧格式文件后就提示无效的参数?原来系统自带的内核是可以使用的。编译内核时我在filesystem里打开了quota文件系统的配额支持的.
quota support 这个是编译到内核的。
vfs vo quota format也是编译到内核的
我没有选old quota format support这个
内核配置除了filesystem外还有哪里是关于quota的?应该没有了吧?
我重新quotacheck -acug /home生成后还是一样。我刚又编译过一次内核选old quota format support这个编译成模块这个也是这个样子.OLD这个是支持旧格式的,就是quota.user这个格式也就是版本1
7。3用的都是version 2的了啊,没有理由支持旧的格式。我现在不明白系统怎么去找旧格式的文件?(这台机装的是RH7.3 内核版本是kernel-2.4.20-19.7
晕!我另一台机升级后没有这个问题
这台机装的是RH9内核版本是kernel-2.4.20-18.9

论坛徽章:
0
2 [报告]
发表于 2003-07-28 17:30 |只看该作者

我编译内核后装载磁盘配额出现问题?

论坛徽章:
0
3 [报告]
发表于 2003-07-28 17:36 |只看该作者

我编译内核后装载磁盘配额出现问题?

touch /home/aquota.user
touch /home/aquota.group
mount -o remount /home
quotacheck -augmf
quotaon /home

论坛徽章:
0
4 [报告]
发表于 2003-07-28 17:50 |只看该作者

我编译内核后装载磁盘配额出现问题?

quotacheck -augmf提示:
quotacheck: WARNING - Quotafile /home/aquota.user was probably truncated. Can't save quota settings.....
quotacheck: WARNING - Quotafile /home/aquota.group was probably truncated. Can't save quota settings.....
然后打开quotaon /home 还是提示和原来一样?
quotaon: using /home/quota.group on /dev/hda5: Invalid argument
quotaon: using /home/quota.user on /dev/hda5: Invalid argument

论坛徽章:
0
5 [报告]
发表于 2003-07-29 18:09 |只看该作者

我编译内核后装载磁盘配额出现问题?

有谁在RH 7.3上使用2.4.20-18.7和2.4.20-19.7的内核,试下你们的配额是否可以使用好吗?

论坛徽章:
0
6 [报告]
发表于 2003-07-30 08:40 |只看该作者

我编译内核后装载磁盘配额出现问题?

在RHN通告Security Advisory - RHSA-2003:187-25中...你可以找到答案
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90939
或者直接下载
quota-3.06-9.7.i386.rpm可以解决问题

论坛徽章:
0
7 [报告]
发表于 2003-07-30 17:36 |只看该作者

我编译内核后装载磁盘配额出现问题?

怎么RH的升级补丁里没有quota这个升级呢?另问下grub怎么不支持没有显卡的机子启动而lilo就可以?

论坛徽章:
0
8 [报告]
发表于 2003-07-30 18:00 |只看该作者

我编译内核后装载磁盘配额出现问题?

https://rhn.redhat.com/errata/rh73-errata-bugfixes.html

论坛徽章:
0
9 [报告]
发表于 2003-07-30 18:10 |只看该作者

我编译内核后装载磁盘配额出现问题?

升级后也解决了这个问题.请问rh怎么不提供下载呢?怪了.另我编译内核后不装显卡时grub不能引导机器而lilo可以.知道是什么问题吗?还有我编译过内核没有装显卡!系统syslogd就会报错在messages!如下:
[root@home root]# tail -40 /var/log/messages
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[747]: /dev/tty6: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[749]: /dev/tty6: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[751]: /dev/tty6: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[753]: /dev/tty6: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[755]: /dev/tty6: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home init: Id "6" respawning too fast: disabled for 5 minutes
Jul 29 13:55:18 home /sbin/mingetty[739]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[757]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[759]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[761]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[763]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home modprobe: modprobe: Can't locate module char-major-4
Jul 29 13:55:18 home /sbin/mingetty[765]: /dev/tty5: cannot open tty: No such device
Jul 29 13:55:18 home init: Id "5" respawning too fast: disabled for 5 minutes
Jul 29 13:55:18 home init: no more processes left in this runlevel
我编译过了内核.在没有显卡的机子上就会出现这个错误.如果我把显卡插上就没有这个错误了.是怎么回事?如果用REDHAT自带的内核没有显卡也不会提示这个错误!
'

论坛徽章:
0
10 [报告]
发表于 2003-07-30 21:47 |只看该作者

我编译内核后装载磁盘配额出现问题?

# Character devices
#
CONFIG_VT=y
CONFIG_ECC=m
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
# CONFIG_SERIAL_CONSOLE is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=2048

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_MOUSE is not set

#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_INPUT_NS558 is not set
# CONFIG_INPUT_LIGHTNING is not set
# CONFIG_INPUT_PCIGAME is not set
# CONFIG_INPUT_CS461X is not set
# CONFIG_INPUT_EMU10K1 is not set
# CONFIG_INPUT_SERIO is not set
# CONFIG_INPUT_SERPORT is not set
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_RNG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_AMD_PM768 is not set
CONFIG_NVRAM=m
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_BATTERY_GERICOM is not set
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP