- 论坛徽章:
- 0
|
机器增加了一块新硬盘,按照常规的操作方法操作:
1、fdisk /dev/sdb
2、创建分区。创建 primary partition --> primary partition :1,需把此硬盘当做一个分区,所以First cylinder 为1 ,Last cylinder 为最大值。
3、保存。
4、mkfs -t ext3 /dev/sdb1
5、mkdir /backup
6、mount /dev/sdb1 /backup
这里就出问题了,一直报错:mount: /dev/sdb1 already mounted or /backup busy,
于是查看
[root@lichn /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 4127108 760720 3156740 20% /
/dev/sda1 124427 12083 105920 11% /boot
none 2074548 0 2074548 0% /dev/shm
/dev/sda6 4127076 971740 2945692 25% /usr
/dev/sda5 20641788 127792 19465356 1% /var
/dev/sda7 33278120 119588 31468096 1% /www
发现并没有挂载上
[root@lichn /]# mount
/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda6 on /usr type ext3 (rw)
/dev/sda5 on /var type ext3 (rw)
/dev/sda7 on /www type ext3 (rw,quota)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
这里也是,复又查看:
[root@lichn /]# fdisk -l
Disk /dev/sda: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 1060 8385930 82 Linux swap
/dev/sda3 1061 1582 4192965 83 Linux
/dev/sda4 1583 8924 58974615 5 Extended
/dev/sda5 1583 4193 20972826 83 Linux
/dev/sda6 4194 4715 4192933+ 83 Linux
/dev/sda7 4716 8924 33808761 83 Linux
Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 8924 71681998+ 83 Linux
Disk /dev/dm-0: 72.7 GB, 72746008576 bytes
255 heads, 63 sectors/track, 8844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-0p1 1 8924 71681998+ 83 Linux
本人linux菜鸟一个,不知这是什么原因导致的,求高手帮忙解释一下,先谢谢了! |
|