LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 798|回复: 3

奇怪的挂载点

[复制链接]
发表于 2004-2-1 20:35:31 | 显示全部楼层 |阅读模式
在第五章的sources目录下载完所有软件包后,重新启动,发现了很奇怪的问题。

  1. [root@localhost root]# mkreiserfs /dev/hda12
  2.                                                                                 
  3. <-------------mkreiserfs, 2003------------->
  4. reiserfsprogs 3.6.8
  5.                                                                                 
  6. mkreiserfs: Guessing about desired format..
  7. mkreiserfs: Kernel 2.4.22-1.2115.nptl is running.
  8. Format 3.6 with standard journal
  9. Count of blocks on the device: 1222940
  10. Number of blocks consumed by mkreiserfs formatting process: 8249
  11. Blocksize: 4096
  12. Hash function used to sort names: "r5"
  13. Journal Size 8193 blocks (first block 18)
  14. Journal Max transaction length 1024
  15. inode generation number: 0
  16. UUID: 327a2669-b26e-4a87-b08f-b8362f228eee
  17. ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
  18.         ALL DATA WILL BE LOST ON '/dev/hda12'!
  19. Continue (y/n):y
  20. Initializing journal - 0%....20%....40%....60%....80%....100%
  21. Syncing..ok

  22. The Defense Advanced Research Projects Agency (DARPA) is the primary sponsor of
  23. Reiser4. DARPA does not endorse this project; it merely sponsors it.

  24. Continuing core development of version 3 is mostly paid for by Hans Reiser from
  25. money made selling licenses in addition to the GPL to companies who don't want
  26. it known that they use ReiserFS as a foundation for their proprietary product.
  27. And my lawyer asked 'People pay you money for this?'.  Yup.  Hee Hee.  Life is
  28. good.  If you buy ReiserFS, you can focus on your value add rather than
  29. reinventing an entire FS.  You should buy some free software too....

  30. SuSE pays for continuing work on journaling for version 3, and paid for much of
  31. the previous version 3 work.  Reiserfs integration in their distro is
  32. consistently solid.

  33. MP3.com paid for initial journaling development.

  34. Bigstorage.com contributes to our general fund every month, and has done so for
  35. quite a long time.

  36. Thanks to all of those sponsors, including the secret ones.  Without you, Hans
  37. would still have that day job, and the merry band of hackers would be missing
  38. quite a few....

  39. Have fun.
  40. [root@localhost root]# df /dev/hda12
  41. Filesystem           1K-blocks      Used Available Use% Mounted on
  42. /dev/hda10             8064272   3998636   3655984  53% /
  43. [root@localhost root]# mount /dev/hda12 /mnt/lfs
  44. [root@localhost root]# df /dev/hda12
  45. Filesystem           1K-blocks      Used Available Use% Mounted on
  46. /dev/hda12             4891604     32840   4858764   1% /mnt/lfs
  47. [root@localhost root]# ls /mnt/lfs
  48. [root@localhost root]# umount /mnt/lfs
  49. [root@localhost root]# reiserfsck /dev/hda12

  50. <-------------reiserfsck, 2003------------->
  51. reiserfsprogs 3.6.8

  52.   *************************************************************
  53.   ** If you are using the latest reiserfsprogs and  it fails **
  54.   ** please  email bug reports to [email]reiserfs-list@namesys.com[/email], **
  55.   ** providing  as  much  information  as  possible --  your **
  56.   ** hardware,  kernel,  patches,  settings,  all reiserfsck **
  57.   ** messages  (including version),  the reiserfsck logfile, **
  58.   ** check  the  syslog file  for  any  related information. **
  59.   ** If you would like advice on using this program, support **
  60.   ** is available  for $25 at  [url]www.namesys.com/support.html.[/url] **
  61.   *************************************************************

  62. Will read-only check consistency of the filesystem on /dev/hda12
  63. Will put log info to 'stdout'

  64. Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
  65. ###########
  66. reiserfsck --check started at Sun Feb  1 20:33:20 2004
  67. ###########
  68. Replaying journal..
  69. 0 transactions replayed
  70. Checking internal tree..finished
  71. Comparing bitmaps..finished
  72. Checking Semantic tree:
  73. finished
  74. No corruptions found
  75. There are on the filesystem:
  76.         Leaves 1
  77.         Internal nodes 0
  78.         Directories 1
  79.         Other files 0
  80.         Data block pointers 0 (0 of them are zero)
  81.         Safe links 0
  82. ###########
  83. reiserfsck finished at Sun Feb  1 20:33:21 2004
  84. ###########
  85. [root@localhost root]# ls /mnt/lfs
  86. redhat  sources  tools
  87. [root@localhost root]# umount /mnt/lfs
  88. umount: /mnt/lfs: not mounted

复制代码


没有挂载上实际分区的挂载点居然会有目录结构!
请tram老大帮忙。
 楼主| 发表于 2004-2-1 21:28:42 | 显示全部楼层
在此之前,用fdisk删掉一个分区/dev/hda12,然后又创建了一个相同大小的分区/dev/hda12,保存退出。正常地,fdisk提示设备忙,建议重启以update分区表。但是我没有这样做,直接mkreiserfs这个分区,直到第五章下载完所有源码包后重启就出现了上述问题。
估计是分区表冲突造成的问题。但具体原因还请各位兄弟及tram老大解疑。
发表于 2004-2-2 03:15:34 | 显示全部楼层
如果没挂上,那目录结构就是在根分区里的啰?你是不是这种情况?
 楼主| 发表于 2004-2-2 08:34:43 | 显示全部楼层
最初由 tram 发表
如果没挂上,那目录结构就是在根分区里的啰?你是不是这种情况?


不是啊,和我的根分区无关啊。我是照提示另创建一个新分区来挂载$LFS的。
呵呵,tram老大,这么晚还未睡吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表