Mount Disk from USB and Network to CentOS 7

  • Mount USB

Buat folder sesuai anda misal di /home

mkdir /home/folderbaru
mount /dev/sdc* /home/folderbaru
  • Mount Network share

ikuti langkah 1/1 dibawah ini:

yum install samba-client samba-common cifs-utils

yum install samba-client samba-common  -y

mount.cifs //192.168.100.100/foldersasaran /home/folderbaru -o user=usernamepcsasaran

lalu isikan password Login PC Sasaran anda.

  • Agar bisa otomatis booting saat server restart, tambahkan script pada file fstab dibaris bawah sendiri, add teks:
//192.168.100.100/foldersasaran /home/folderbaru cifs username=usernamepcsasaran,password=passwordpcsasaran,_netdev 0  0

Penulis: Damas
Sebagai Dokumentasi

One thought on “Mount Disk from USB and Network to CentOS 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s