sudo mount -t cifs -o username=AS,password=***,vers=3.0,dir_mode=0777,file_mode=0777,gid=1000,uid=1000 //192.168.1.133/tpf /opt/tpf sudo mount -t cifs -o username=AS,password=***,vers=3.0,dir_mode=0777,file_mode=0777,gid=1000,uid=1000 //192.168.1.133/soft /opt/soft
mount: /home/xt/share/source: cannot mount //192.168.0.199/source read-only. dmesg(1) may have more information after failed mount system call. 解决办法: sudo apt install cifs-utils yum install cifs-utils
fdisk -l fdisk /dev/sdc fdisk -l mkfs.ext4 /dev/sdc1 root@ai:~# blkid /dev/sdc1 /dev/sdc1: UUID="2aa3e6a1-2f0d-4070-a95b-79218eb2ba39" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8ab3866c-01" mkdir /wks # vim /etc/fstab UUID=2aa3e6a1-2f0d-4070-a95b-79218eb2ba39 /wks ext4 defaults 0 2 reboot