1. sudo apt-get install smbfs
2. sudo mount -t smbfs -o iocharset=utf8,username=xxxx,password=xxxx //192.168.0.1/d$ /mnt/t-jiwan/d
删除挂载点!
umount /mnt/t-jiwan/d
说明:此方法在挂载windows分区时成功,iocharset=utf8的作用是正确显示中文
另外redhat挂载方法如下:
sudo mount -t cifs -o username=******,password=****** //10.13.19.62/c$/shared /home/hadoop/xxxx