How Do I Mount a Drive in Linux Terminal?
Contents How Do I Mount a Network Drive in Linux Terminal? Map a Network Drive on Linux Open a Terminal and Type: Sudo Apt-Get Install Smbfs. Open a Terminal...
Contents
How do I mount a network drive in Linux terminal?
Map a Network Drive on Linux
- Open a terminal and type: sudo apt-get install smbfs.
- Open a terminal and type: sudo yum install cifs-utils.
- Issue the command sudo chmod u+s /sbin/mount.cifs /sbin/umount.cifs.
- You can map a network drive to Storage01 using the mount.cifs utility. …
- When you run this command, you should see a prompt similar to:
31 янв. 2014 г.
Must Read
Where should I mount my hard drive in Linux?
How to format and mount a disk permanently using its’s UUID.
- Find the disk name. sudo lsblk.
- Format the new disk. sudo mkfs.ext4 /dev/vdX.
- Mount the disk. sudo mkdir /archive sudo mount /dev/vdX /archive.
- Add mount to fstab. Add to /etc/fstab : UUID=XXXX-XXXX-XXXX-XXXX-XXXX /archive ext4 errors=remount-ro 0 1.