Linux挂载NAS共享文件夹
[root@ftp:/mnt] > mount -o username=user01,password=1234567890 //192.168.31.20/share /mnt/nas [root@ftp:/mnt] > df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/centos_miwifi--r3l--srv-root xfs 47G 4.1G 43G 9% / devtmpfs devtmpfs 226M 0 226M 0% /dev tmpfs tmpfs 237M 16K 237M 1% /dev/shm tmpfs tmpfs 237M 13M 224M 6% /run tmpfs tmpfs 237M 0 237M 0% /sys/fs/cgroup /dev/sda1 xfs 1014M 143M 872M 15% /boot tmpfs tmpfs 48M 0 48M 0% /run/user/0 //192.168.31.20/share cifs 7.1T 3.4T 3.8T 48% /mnt/nas [root@ftp:/mnt]
[root@ftp:/mnt] > umount /mnt/nas/ [root@ftp:/mnt]