红联Linux门户
Linux帮助

高手进来看下

发布时间:2008-01-22 05:46:57来源:红联作者:hsyihao
[root@localhost ~]# mkfs.ext3 /dev/shm
mke2fs 1.39 (29-May-2006)
/dev/shm is not a block special device.
Proceed anyway? (y,n) y
mkfs.ext3: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

[root@localhost ~]#
这个是因为分区太大还是真的分区表错了呢?要是分区表错了那要怎么修正?
我是一个250G的串口盘想分一个区做文件共享的``先谢过了```
文章评论

共有 7 条评论

  1. hsyihao 于 2008-01-22 11:44:06发表:

    也就是说#mount -t vfat /dev/sda1 (比如目录为dd)
    #mount -t vfat /dev/sda1 /dd 对吗?谢谢

  2. relaaxx 于 2008-01-22 11:39:58发表:

    mont -t vfat /dev/hda(后接你的挂载) /media/你的挂载目录
    或者 man mount

  3. hsyihao 于 2008-01-22 11:37:48发表:

    mount: you must specify the filesystem type
    请问下这个要怎么指定类形呢?
    我是用mount 进行挂载的时候提示的```

  4. hsyihao 于 2008-01-22 10:34:32发表:

    谢谢提示
    我正在mkfs -t ext3 -c /dev/sda1
    玩了再看看会不会提示上面这个错误

  5. relaaxx 于 2008-01-22 10:12:46发表:

    fdisk -l /dev/hda

  6. hsyihao 于 2008-01-22 08:57:00发表:

    [root@localhost ~]# fdisk -l

    Disk /dev/hda: 20.4 GB, 20416757760 bytes
    255 heads, 63 sectors/track, 2482 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 83 Linux
    /dev/hda2 14 2482 19832242+ 8e Linux LVM

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 30401 244196001 83 Linux
    [root@localhost ~]# df
    文件系统 1K-块 已用 可用 已用% 挂载点
    /dev/mapper/VolGroup00-LogVol00
    17235292 3259056 13086588 20% /
    /dev/hda1 101086 22891 72976 24% /boot
    tmpfs 452060 0 452060 0% /dev/shm
    [root@localhost ~]#

    请问下我这个是挂载成功了吗?如果是那要怎么进入tmpfs 452060 0 452060 0% /dev/shm这个盘呢?

    [ 本帖最后由 hsyihao 于 2008-1-22 09:04 编辑 ]

  7. 天明 于 2008-01-22 08:03:34发表:

    还有我的是怎么回事