1、检查挂载情况
df
2、查看磁盘信息
fdisk -l
3、挂载
mount /dev/sdb1 /www
4、取消挂载
umount /dev/sdb1
umount /www
5、开机挂载
sudo vi /etc/fstab
参考链接: http://blog.chinaunix.net/uid-25829053-id-3067619.html
1、检查挂载情况
df
2、查看磁盘信息
fdisk -l
3、挂载
mount /dev/sdb1 /www
4、取消挂载
umount /dev/sdb1
umount /www
5、开机挂载
sudo vi /etc/fstab
参考链接: http://blog.chinaunix.net/uid-25829053-id-3067619.html
转载于:https://my.oschina.net/dingdayu/blog/799030