cifs(common internet file system-通用网络文件系统)

- server1端操作(客户端)

1)yum install samba-client

2)smbclient -L //ip

3)smbclient //ip/sharename

[[email protected] root]$ smbclient -L //172.25.254.2

Enter guest‘s password:

Connection to 172.25.254.2 succes

[[email protected] root]$ smbclient //ip/sharename

Enter guest‘s password:

- server2端操作(服务端)

yum install cifs-utils -y

mount //ip/sharename /mountpoint -o username=guest

vim /etc/fstab

//ip/sharename /mountpoint cifsdefaults,username=guest 0 0

mount -a

[[email protected] ~]# mkdir /mountpoint

[[email protected] ~]# mount //172.25.254.2/sharename /mountpoint -o username=guest

Password for [email protected]//172.25.254.2/sharename:  ******

Unable to find suitable address.

[[email protected] ~]# vim /etc/fstab

@//172.25.254.2/sharename /mountpoint cifs       defaults,username=guest 0 [email protected]

[[email protected] ~]# mount -a

Password for [email protected]//172.25.254.2/sharename:  ******

Unable to find suitable address.

时间: 2024-08-02 07:01:11

cifs(common internet file system-通用网络文件系统)的相关文章

Common Internet File System

CIFS (Common Internet File System) is a protocol that gained popularity around the year 2000, as vendors worked to establish an Internet Protocol-based file-sharing protocol. The Common Internet File System (CIFS) is the standard way that computer us

【整理学习HDFS】Hadoop Distributed File System 一个分布式文件系统

Hadoop分布式文件系统(HDFS)被设计成适合运行在通用硬件(commodity hardware)上的分布式文件系统.它和现有的分布式文件系统有很多共同点.但同时,它和其他的分布式文件系统的区别也是很明显的.HDFS是一个高度容错性的系统,适合部署在廉价的机器上.HDFS能提供高吞吐量的数据访问,非常适合大规模数据集上的应用.HDFS放宽了一部分POSIX约束,来实现流式读取文件系统数据的目的.HDFS在最开始是作为Apache Nutch搜索引擎项目的基础架构而开发的.HDFS是Apac

[LeetCode] Design In-Memory File System 设计内存文件系统

Design an in-memory file system to simulate the following functions: ls: Given a path in string format. If it is a file path, return a list that only contains this file's name. If it is a directory path, return the list of file and directory names in

DFS(distributed file system)

A clustered file system is a file system which is shared by being simultaneously mounted on multiple servers. There are several approaches to clustering, most of which do not employ a clustered file system (only direct attached storage for each node)

Extension of write anywhere file system layout

A file system layout apportions an underlying physical volume into one or more virtual volumes (vvols) of a storage system. The underlying physical volume is an aggregate comprising one or more groups of disks, such as RAID groups, of the storage sys

Parallel file system processing

A treewalk for splitting a file directory is disclosed for parallel execution of work items over a filesystem. The given work item is assigned to a worker. Thereafter, a request is sent to split the file directory to share a portion of the file direc

NFS网络文件系统的创建

NFS(Network File System)网络文件系统,它允许网络中的计算机之间通过TCP/IP网络共享资源.在NFS的应用中,本地NFS的客户端应用可以透明地读写位于远端NFS服务器上的文件,就像访问本地文件一样.以centOS6为例 对于服务端 首选检查对应软件有没有安装 rpm -aq nfs-utils rpcbind 没有安装的话需要安装nfs 这里用yum安装 yum groupinstall "NFS fileserver" -y 安装完毕之后首选要启动RPC服务

Web集群之NFS(网络文件系统)

1.什么是NFSNFS(Network File System)网络文件系统它的主要功能是通过网络(一般是局域网)让不同主机系统之间共享文件或目录NFS客户端(应用服务器,例如web)可以挂载(mount)的方式将NFS服务器端共享的数据目录挂载到NFS客户端本地系统中(某一个挂载点下)从客户端本地来看,NFS服务器端共享的目录就好像是客户端自己的磁盘分区或目录一样,而实际上却是远端的NFS服务器的目录 所有的Web服务器会向 NFS服务器进行数据交互 应用场景: NFS适用于中小型企业:NFS

linux初学者-CIFS网络文件系统篇

linux初学者-CIFS网络文件系统篇 CIFS是一种通用网络文件系统,主要用于网络设备之间的文件共享.CIFS可以在linux系统和windows系统之间共享文件,因此这种文件系统主要用于客户端是windows系统. 提供CIFS的服务是SAMBA,下文将介绍SAMBA服务的一些配置以及用法. 1.SAMBA的安装和配置 "yum install samba samba-common samba-client -y".安装SAMBA服务. "systemctl start