linux上挂载存储测试

在系统上挂载硬盘存储

[root@nrmstest dev]# fdisk -l

Disk /dev/sda: 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: 0x000b97fe

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 2611 20458496 8e Linux LVM

 进入mnt目录下

[root@nrmstest mnt]# mount /dev/sda1 test

[root@nrmstest boot]# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_nrmstest-lv_root 18G 5.7G 11G 35% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 485M 33M 427M 8% /boot
/dev/sda1 485M 33M 427M 8% /mnt/test

到这里可以看出来挂载成功了,已经把test挂载到sda1上了

 

posted @ 2015-08-25 16:27  Nil&Null  阅读(394)  评论(0编辑  收藏  举报