执行命令:
mount -a
命令行界面出现如下提示:
mount: special device dev/xvdb1 does not exist
操作说明:
在充值系统盘之前该数据盘是分区并挂载过的,待我重新重置系统盘后直接格式化该数据盘然后进行挂载,一直提示该信息。
请假大虾,这个问题到底出在什么地方?
非常感谢给予帮助的几位版主,有你们的热心肠,相信是阿里云最大的幸运!
问题的原因在于太过粗心大意,default 后要有 s 。。
-------------------------
[root@AY1307101800087****** etc]# fdisk -l
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 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: 0x00073f45
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 2611 20970496 83 Linux
Disk /dev/xvdb: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 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: 0x00000000
-------------------------
[root@AY130710180008762***** ~]# fdisk -l
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 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: 0x00073f45
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 2611 20970496 83 Linux
Disk /dev/xvdb: 42.9 GB, 42949672960 bytes
255 heads, 56 sectors/track, 5874 cylinders
Units = cylinders of 14280 * 512 = 7311360 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x44b4afa7
Device Boot Start End Blocks Id System
/dev/xvdb1 1 5874 41940332 83 Linux
[root@AY130710180008762***** ~]#
然后也添加了分区信息到 fstab 执行 cat 命令结果如下:
[root@AY1307101800087****** ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Dec 17 09:06:53 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=887b0b9e-449b-414e-a11d-cd94093e3fe1 / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
xenfs /proc/xen xenfs defaults 0 0
dev/xvdb1 /www ext3 default 0 0
[root@AY130710180008762***** ~]#
然后执行挂载命令信息如下:
[root@AY130710180008762047Z ~]# mount -a
mount: special device dev/xvdb1 does not exist
[root@AY130710180008762***** ~]#
-------------------------
[root@AY130710180008762***** ~]# fdisk -l
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 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: 0x00073f45
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 2611 20970496 83 Linux
Disk /dev/xvdb: 42.9 GB, 42949672960 bytes
255 heads, 56 sectors/track, 5874 cylinders
Units = cylinders of 14280 * 512 = 7311360 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x44b4afa7
Device Boot Start End Blocks Id System
/dev/xvdb1 1 5874 41940332 83 Linux
[root@AY130710180008762***** ~]#
然后也添加了分区信息到 fstab 执行 cat 命令结果如下:
[root@AY1307101800087****** ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Dec 17 09:06:53 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=887b0b9e-449b-414e-a11d-cd94093e3fe1 / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
xenfs /proc/xen xenfs defaults 0 0
dev/xvdb1 /www ext3 default 0 0
[root@AY130710180008762***** ~]#
然后执行挂载命令信息如下:
[root@AY130710180008762047Z ~]# mount -a
mount: special device dev/xvdb1 does not exist
[root@AY130710180008762***** ~]#
-------------------------
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。