当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 如何用命令检测还没有进行挂载的磁盘(已解决)
帖子发表于 : 2011-01-05 15:50 

注册: 2010-02-14 15:53
帖子: 95
送出感谢: 0 次
接收感谢: 0 次
如何用命令检测还没有进行挂载的磁盘
我用df查看的都是已经挂载的分区,当我卸载掉一个后,在用df查看就少了一个,当我想在挂载我卸掉的分区时,不知道他叫什么


_________________
http://lj7755.blog.163.com


最后由 wangjianli 编辑于 2011-01-05 23:45,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 16:26 
头像

注册: 2008-03-25 15:49
帖子: 25878
地址: 谁知道?
送出感谢: 8
接收感谢: 10
dmesg 看


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 16:31 

注册: 2010-02-14 15:53
帖子: 95
送出感谢: 0 次
接收感谢: 0 次
dmesg 运行完后显示
[ 5917.530062] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5917.791935] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5918.030057] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5918.310059] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5918.610052] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5918.870068] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5919.110051] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5919.390048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5919.690044] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5919.950055] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5920.192549] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5920.470046] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5920.770060] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5921.030059] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5921.270076] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5921.550053] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5921.850062] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5922.110051] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5922.350059] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5922.630048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5922.930058] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5923.190049] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5923.430068] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5923.710070] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5924.010058] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5924.270067] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5924.510058] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5924.790073] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5925.090051] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5925.350055] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5925.590045] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5925.870060] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5926.170046] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5926.430043] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5926.670035] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5926.950047] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5927.250047] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5927.510060] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5927.750048] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5928.030054] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5928.330076] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5928.591946] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5928.830051] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5929.110050] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5929.410053] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5929.670039] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5929.912539] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5930.192014] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5930.491047] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5930.750056] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5930.990060] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5931.270063] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5931.570049] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5931.830063] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5932.070061] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5932.350048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5932.650044] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5932.912563] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5933.150032] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5933.430062] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5933.730049] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5933.990056] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5934.230865] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5934.510048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5934.810048] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5935.070061] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5935.310059] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5935.592558] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5935.892550] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5936.150048] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5936.390050] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5936.670044] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5936.970136] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5937.230059] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5937.470042] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5937.750050] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5938.050056] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5938.310062] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5938.550039] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5938.830039] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5939.130053] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5939.390052] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5939.630051] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5939.910042] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5940.210069] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5940.470051] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5940.710039] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5940.990061] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5941.290073] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5941.550041] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5941.792435] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5942.072046] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5942.370059] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5942.630050] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5942.870039] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5943.150055] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5943.450091] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5943.710049] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5943.950065] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5944.230056] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5944.530049] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5944.790059] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5945.030045] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5945.310060] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5945.610046] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5945.870051] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5946.110052] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5946.390058] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5946.690053] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5946.950048] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5947.191939] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5947.470073] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5947.770047] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5948.030045] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5948.270051] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5948.550047] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5948.850052] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5949.110055] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5949.350065] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5949.630057] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5949.930064] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5950.192548] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5950.430887] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5950.710051] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5951.010051] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5951.270047] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5951.510057] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5951.790069] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5952.090071] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5952.350060] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5952.590042] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5952.870044] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5953.170055] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5953.430054] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5953.670043] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5953.950048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5954.250056] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5954.510074] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5954.750049] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5955.030048] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5955.330063] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5955.590042] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5955.830046] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5956.110046] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5956.410049] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5956.670043] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5956.910043] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5957.190045] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5957.490061] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5957.750039] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5957.990044] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5958.270045] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5958.570043] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5958.830052] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5959.070059] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5959.350100] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5959.650047] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5959.912550] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5960.152538] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5960.432546] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5960.730056] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5960.991519] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5961.230051] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5961.510053] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5961.810055] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5962.070040] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5962.310053] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5962.590058] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5962.890063] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5963.150049] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5963.390097] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5963.670043] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5963.972545] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5964.230060] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5964.470044] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5964.750050] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5965.050062] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5965.310053] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5965.552548] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5965.830052] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5966.130056] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5966.390076] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5966.630052] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5966.910051] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5967.211947] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5967.470042] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5967.710050] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5967.990071] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5968.291944] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5968.551092] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5968.790907] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5969.070053] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5969.370059] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5969.630050] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5969.870052] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5970.150054] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5970.450059] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5970.710053] hub 2-0:1.0: unable to enumerate USB device on port 9
[ 5970.950049] hub 2-0:1.0: unable to enumerate USB device on port 10
[ 5971.230083] hub 1-0:1.0: unable to enumerate USB device on port 9
[ 5971.530060] hub 1-0:1.0: unable to enumerate USB device on port 10
[ 5971.790054] hub 2-0:1.0: unable to enumerate USB device on port 9
而且,我用ctrl+alt+f1-f6都会显示以上东西,这是为什么啊


_________________
http://lj7755.blog.163.com


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 17:12 
头像

注册: 2008-09-18 13:11
帖子: 2909
送出感谢: 1
接收感谢: 482
2楼又在胡说八道误人子弟了

现有的磁盘设备会放在/dev下,以sdNM的形式列出,N是个字母,M是数字,老一些的内核也可能用hdNM的形式
总之,
代码:
ls /dev/[sh]d[a-z]*
就全部列出来了

至于三楼的消息,是某个usb设备运行不正常


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 17:15 
头像

注册: 2008-11-21 20:26
帖子: 36913
送出感谢: 1
接收感谢: 36
代码:
sudo fdisk -l

不行么?


_________________
讨厌我的人可以试着点一下
浏览全部ubuntu技巧


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 20:22 
头像

注册: 2010-05-24 13:02
帖子: 2339
地址: 星城长沙
送出感谢: 0 次
接收感谢: 4
astolia 写道:
现有的磁盘设备会放在/dev下,以sdNM的形式列出,N是个字母,M是数字,老一些的内核也可能用hdNM的形式
总之,
代码:
ls /dev/[sh]d[a-z]*
就全部列出来了

至于三楼的消息,是某个usb设备运行不正常


哈哈,又有收获了 :em11


_________________
安装了不吃亏^_^
Ailurus小熊猫
IcePlayer音乐播放器
奉献给IcePlayer用户
GtkHash哈希计算器


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 21:39 

注册: 2010-02-14 15:53
帖子: 95
送出感谢: 0 次
接收感谢: 0 次
wangjianli@wangjianli:~$ sudo fdisk -l

Disk /dev/sda: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x624aa2e0

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3841 30852801 c W95 FAT32 (LBA)
/dev/sda2 3842 36481 262180769+ f W95 Ext'd (LBA)
/dev/sda5 3842 15839 96373903+ b W95 FAT32
/dev/sda6 15840 21678 46893747+ b W95 FAT32
/dev/sda7 27838 36481 69432898+ b W95 FAT32
/dev/sda8 21678 26364 37644531+ 83 Linux
/dev/sda9 27580 27837 2069504 82 Linux swap / Solaris
/dev/sda10 26364 27579 9761792 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6ea8a4a3

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 36155 290415006 7 HPFS/NTFS



wangjianli@wangjianli:~$ sudo mount /dev/sda5
mount: 无法在 /etc/fstab 或 /etc/mtab 中找到 /dev/sda5



我运行完成后显示这个?


_________________
http://lj7755.blog.163.com


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-05 21:41 
头像

注册: 2008-02-17 23:47
帖子: 22120
地址: 美丽富饶的那啥星球
送出感谢: 11
接收感谢: 84
代码:
df


_________________
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 如何用命令检测还没有进行挂载的磁盘
帖子发表于 : 2011-01-06 13:05 
头像

注册: 2009-08-01 17:14
帖子: 579
送出感谢: 2
接收感谢: 0 次
astolia 写道:
2楼又在胡说八道误人子弟了

现有的磁盘设备会放在/dev下,以sdNM的形式列出,N是个字母,M是数字,老一些的内核也可能用hdNM的形式
总之,
代码:
ls /dev/[sh]d[a-z]*
就全部列出来了

至于三楼的消息,是某个usb设备运行不正常

这就是Linux的魅力啊 :em11 :em11
cli,无限可能


_________________
偶立志要当技术型混混!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译