mount NAS on ubuntu
memo.
# create mount point
$ sudo mkdir /mnt/mylandisk
$ ls -la /mnt/
合計 12
drwxr-xr-x 3 root root 4096 4月 7 21:35 .
drwxr-xr-x 20 root root 4096 3月 28 01:27 ..
drwxr-xr-x 2 root root 4096 4月 7 21:35 mylandisk
# mount
$ sudo mount -t cifs //192.168.128.129/myDir /mnt/mylandisk/ -o user=myname
Password for myname@//192.168.128.129/myDir:
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 378M 3.3M 375M 1% /run
/dev/sda2 457G 44G 391G 10% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/sda1 511M 6.1M 505M 2% /boot/efi
tmpfs 378M 2.4M 376M 1% /run/user/1000
//192.168.128.129/myDir 1.9T 402G 1.5T 22% /mnt/mylandisk
Comments
Post a Comment