华为云存储实验

桶的应用

sfs实验

bash 复制代码
[root@ecs-linux ~]# rpm -qa | grep nfs
libnfsidmap-0.25-19.el7.x86_64
nfs-utils-1.3.0-0.68.el7.2.x86_64
[root@ecs-linux ~]# mkdir /mnt/sfs_turbo
[root@ecs-linux ~]# mount -t nfs -o vers=3,timeo=600,noresvport,nolock,tcp 192.168.0.2:/ /mnt/sfs_turbo
[root@ecs-linux ~]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  909M     0  909M   0% /dev
tmpfs          tmpfs     919M     0  919M   0% /dev/shm
tmpfs          tmpfs     919M  8.6M  911M   1% /run
tmpfs          tmpfs     919M     0  919M   0% /sys/fs/cgroup
/dev/vda1      ext4       40G  2.9G   35G   8% /
tmpfs          tmpfs     184M     0  184M   0% /run/user/0
192.168.0.2:/  nfs       500G     0  500G   0% /mnt/sfs_turbo
[root@ecs-linux ~]# cd /mnt/sfs_turbo/
[root@ecs-linux sfs_turbo]# ls
[root@ecs-linux sfs_turbo]# touch huawei_cloud
[root@ecs-linux sfs_turbo]# ls
huawei_cloud
[root@ecs-linux sfs_turbo]# vi /etc/fstab
[root@ecs-linux sfs_turbo]# cd
[root@ecs-linux ~]# umount /mnt/sfs_turbo
[root@ecs-linux ~]# mount -a
mount.nfs: Failed to resolve server 0ca03d42-38ac-4df2-86c3-48b900df47d6.sfsturbo.internal: Name or service not known
mount.nfs: Operation already in progress
[root@ecs-linux ~]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  909M     0  909M   0% /dev
tmpfs          tmpfs     919M     0  919M   0% /dev/shm
tmpfs          tmpfs     919M  8.6M  911M   1% /run
tmpfs          tmpfs     919M     0  919M   0% /sys/fs/cgroup
/dev/vda1      ext4       40G  2.9G   35G   8% /
tmpfs          tmpfs     184M     0  184M   0% /run/user/0
[root@ecs-linux ~]# vi /etc/fstab
[root@ecs-linux ~]# vi /etc/fstab
[root@ecs-linux ~]# umount /mnt/sfs_turbo
umount: /mnt/sfs_turbo: not mounted
[root@ecs-linux ~]# mount -a
[root@ecs-linux ~]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  909M     0  909M   0% /dev
tmpfs          tmpfs     919M     0  919M   0% /dev/shm
tmpfs          tmpfs     919M  8.6M  911M   1% /run
tmpfs          tmpfs     919M     0  919M   0% /sys/fs/cgroup
/dev/vda1      ext4       40G  2.9G   35G   8% /
tmpfs          tmpfs     184M     0  184M   0% /run/user/0
192.168.0.2:/  nfs       500G     0  500G   0% /mnt/sfs_turbo
[root@ecs-linux ~]# cd /mnt/sfs_turbo/
[root@ecs-linux sfs_turbo]# ls
huawei_cloud
[root@ecs-linux sfs_turbo]# vi huawei_cloud
[root@ecs-linux sfs_turbo]# cat huawei_cloud
"海上生明月"

d

root@ecs-linux sfs_turbo# cat huawei_cloud

"海上生明月"

复制代码
相关推荐
QH1392923188031 分钟前
Keysight N9917B N9918B手持式综合微波分析仪
网络·科技·嵌入式硬件·集成测试·信息与通信
Drgfd31 分钟前
半导体国产替代进入“深水区”:决战设备、材料、IP三大高地
网络·fpga开发
我星期八休息1 小时前
扩展— TCP 全连接队列与 tcpdump 抓包
linux·服务器·开发语言·前端·网络·tcp/ip·tcpdump
byte_conn1 小时前
高压级联储能通信架构:CAN隔离与光纤中继的选型实战
网络·架构·制造·信息与通信
【心态好不摆烂】2 小时前
MySQL——复合查询
数据库·mysql
看昭奚恤哭2 小时前
LWIP TCP滑动窗口为TCP ZeroWindow的解决方法
网络·tcp/ip·php
rcms152702692182 小时前
OWER-ONE SPF4G4D1P6V6 直流电源模块
网络
笨鸟先飞,勤能补拙2 小时前
下一个十年:网络安全正在被重写
网络·人工智能·安全·web安全·网络安全·github
M158227690552 小时前
工业跨网段通信零改造方案!SG-NAT-210/410 NAT 网关全功能解析,不改 PLC IP 实现多协议互通
网络·网络协议·tcp/ip
瞬间&永恒~2 小时前
【MySQL】 InnoDB 锁等待排查与并发压测实验
运维·数据库·mysql