Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # How to mount remote partitions linux
- A partition form a remote linux server:
- ```
- sshfs user@server_ip:server_base_folder_path mount_path
- ```
- for example:
- ```
- sshfs user@server:/media/data /media/user/server
- ```
- If you need to mount a windows style partition, use cifs protocol:
- ```
- sudo mount -t cifs path_to_server_disk -o username=user,password=password mount_path
- ```
- for example:
- ```
- mount -t cifs //server/download -o username=user,password=myPassword /media/user/server
- ```
- Where:
- * -t smbfs : File system type to be mount (outdated, use cifs)
- * -t cifs : File system type to be mount
- * -o : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box
- * //server/download : Windows 2000/NT share name
- * /media/user/server Linux mount point (to access share after mounting)
Add Comment
Please, Sign In to add comment