华为云存储实验

桶的应用

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

"海上生明月"

复制代码
相关推荐
云技纵横1 天前
唯一索引 INSERT 死锁实战:5 秒复现交叉插入的 S 锁循环等待
sql·mysql
沉默王二1 天前
面试官:RAG 不用向量数据库,用 MySQL 硬扛?我:100 万向量不是很轻松?
mysql·面试·ai编程
小猿姐2 天前
MySQL Top 10 热点问题 AI 运维实战:从内核诊断到云原生运维
mysql·云原生·aiops
云技纵横2 天前
Gap Lock 死锁实战:5 秒在本地复现 MySQL 间隙锁死锁
后端·mysql
无响应de神2 天前
三、用户与权限管理
数据库·mysql
摇滚侠3 天前
Linux CentOS7 rpm 安装 MySQL 5.7
linux·运维·mysql
网络研究院3 天前
2026年网络安全
网络·安全·法律·法规·趋势·发展
酣大智3 天前
ARP代理--工作原理
运维·网络·arp·arp代理
treesforest3 天前
AI安全系统如何识别异常访问?IP风险识别正在成为关键能力
网络·人工智能·tcp/ip·安全·web安全