suse 10 sp2 文件系统管理问题求助
各位专家,请教一个问题,为什么会出现下面第4步时的错误呢,怎么解决呢?非常感谢!
操作系统:suse 10 sp2
目的:/home目录占150G,想腾出120G出来分给/opt
问题详细描述:
1、系统初始划分的空间如下:
linux-oph9:~ # df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda4 65992 1695 64298 3% /
udev 3988 1 3988 1% /dev
/dev/sda2 153602 33 153569 1% /home
/dev/sda3 61442 489 60954 1% /opt
fdisk 结果如下:
Device Boot Start End Blocks Id System
/dev/sda1 1 523 4200966 82 Linux swap / Solaris
/dev/sda2 524 20105 157292415 83 Linux
/dev/sda3 20106 27938 62918572+ 83 Linux
/dev/sda4 * 27939 36351 67577422+ 83 Linux
2、通过fdisk 重新划分后结果如下:(重启系统之后)
Device Boot Start End Blocks Id System
/dev/sda1 1 523 4200966 82 Linux swap / Solaris
/dev/sda2 524 2815 18410490 83 Linux
/dev/sda3 2816 27938 201800497+ 83 Linux
/dev/sda4 * 27939 36351 67577422+ 83 Linux
3、linux-oph9:~ # mount /home (达到了预期的结果)
linux-oph9:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 65G 1.7G 63G 3% /
/dev/sda2 23G 33M 23G 1% /home
4、linux-oph9:~ # mount /opt (mount出错)
mount: wrong fs type, bad option, bad superblock on /dev/disk/by-id/scsi-3600508e000000000e90ffef927438806-part3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
5、磁盘相关ID信息如下:
linux-oph9:/dev/disk # view by-path
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /dev/disk/by-path/
../
pci-0000:04:00.0-scsi-0:1:0:0
pci-0000:04:00.0-scsi-0:1:0:0-part1
pci-0000:04:00.0-scsi-0:1:0:0-part2
pci-0000:04:00.0-scsi-0:1:0:0-part3
pci-0000:04:00.0-scsi-0:1:0:0-part4
linux-oph9:/dev/disk # view by-id
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /dev/disk/by-id/
../
edd-int13_dev80
edd-int13_dev80-part1
edd-int13_dev80-part2
edd-int13_dev80-part3
edd-int13_dev80-part4
scsi-3600508e000000000e90ffef927438806
scsi-3600508e000000000e90ffef927438806-part1
scsi-3600508e000000000e90ffef927438806-part2
scsi-3600508e000000000e90ffef927438806-part3
scsi-3600508e000000000e90ffef927438806-part4
linux-oph9:/dev/disk # view by-uuid/
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /dev/disk/by-uuid/
../
48187595-be7a-4eb4-a6cb-6d7eb92d88b2
737c7f60-f72d-4bbb-bb6a-ceb153406ca4
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这么久了,没有高手出来指点吗?
也许太长,看起来累,那么就简单一点吧,mount 的时候为什么会出现这样的提示呢?
4、linux-oph9:~ # mount /opt (mount出错)
mount: wrong fs type, bad option, bad superblock on /dev/disk/by-id/scsi-3600508e000000000e90ffef927438806-part3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so