LINUX下访问移动硬盘问题

todaylxp 2009-03-17 02:11:26

RedHat5.5

即使fdisk后重新mount,还是挂载不成功

fdisk:

[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 38913 312464250 8e Linux LVM
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 9729 78043770 8e Linux LVM


mount:

[root@localhost ~]# mount -t ext2 /dev/sdb /mnt/usb
mount: /dev/sdb already mounted or /mnt/usb busy
...全文
829 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
ren03 2009-04-18
  • 打赏
  • 举报
回复
楼主应该挂载分区而不是硬盘
/dev/sdb代表硬盘,从你的fdisk -l来看你已经将你的硬盘分了两个区(/dev/sdb1,/dev/sdb2),
你要是想查看硬盘的内容,应该把分区挂载而不是挂载硬盘.
coding码场 2009-04-18
  • 打赏
  • 举报
回复
移动硬盘有分区的话,挂载主节点一般是挂不上去的,应该挂载它的分区设备号,也就是子设备号。在mount的时候最好先指定文件系统的类型,比如mount -t vfat /dev/sda1 /mnt/usb1。或者你参考一下我写在博客里的关于移动硬盘自动挂载的文章。
linlin2178 2009-04-17
  • 打赏
  • 举报
回复
先umount /mnt/usb
再mount /dev/sdb /mnt/usb
最后进入cd /mnt/usb,看一下是不是U盘的内容
once_and_again 2009-04-14
  • 打赏
  • 举报
回复
不明白.
geopower 2009-04-13
  • 打赏
  • 举报
回复
Linux LVM 格式,你需要LVM程序的支持才行

vgscan 找到VolGroup00
vgchange -a y VolGroup00 激活
mount /dev/VolGroup00/LogVol01 /root/xxxx/ 通常LogVol00是swap
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 morris88 的回复:]
mount /dev/sdb1 /mnt/usb

mount /dev/sdb2 /mnt/usb
[/Quote]这不行么?
nxcom 2009-04-08
  • 打赏
  • 举报
回复
移动硬盘是什么文件系统,应该是NTFS把

mount -t ntfs /dev/sdb1 /mnt/1
mount -t ntfs /dev/sdb2 /mnt/2
morris88 2009-04-07
  • 打赏
  • 举报
回复
mount /dev/sdb1 /mnt/usb

mount /dev/sdb2 /mnt/usb

hummy 2009-04-07
  • 打赏
  • 举报
回复
之前没注意到
你这个磁盘的分区是用来做逻辑卷用的,应该要加到卷组里才能用吧
alexhilton 2009-03-26
  • 打赏
  • 举报
回复
先要mount
todaylxp 2009-03-26
  • 打赏
  • 举报
回复
这两种办法都试过了,不行
第一种,根本无法挂载
[root@localhost ~]# umount -a
umount: /var/lib/nfs/rpc_pipefs: device is busy
umount: /: device is busy
第二种,
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
hummy 2009-03-24
  • 打赏
  • 举报
回复
好像应该是sdb1 试试看
[root@localhost ~]# mkdir /mnt/usb1
[root@localhost ~]# mkdir /mnt/usb2
[root@localhost ~]# mount -t ext2 /dev/sdb1 /mnt/usb1
[root@localhost ~]# mount -t ext2 /dev/sdb2 /mnt/usb2
cceczjxy 2009-03-21
  • 打赏
  • 举报
回复
df 看一下
独孤过儿 2009-03-21
  • 打赏
  • 举报
回复
這樣試試看:

[root][~]# umount -a
[root][~]# mount /dev/sdb2 /mnt/usb

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧