In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use the exportfs command of Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use Linux's exportfs command.
Parameter-a turns on or off all directory shares. -o options,... Specify a list of sharing options, similar to those described in exports (5). The-I ignores the / etc/exports file, thus using only the default and command line specified options. -r re-share all directories. It synchronizes / var/lib/nfs/xtab and / etc/exports. It removes deleted entries in / etc/exports from / var/lib/nfs/xtab and removes any entries in the kernel shared table that are no longer valid. -u cancel the sharing of one or more directories. -f in "new" mode, refresh anything other than the kernel shared table. Any active client will get the new shared entry added by mountd in their next request. -v outputs details. Show what you are doing when sharing or unsharing. When the current list of shares is displayed, the options for sharing are also displayed. The instance outputs the NFS shared directory:
[root@linux265 ~] # exportfs-an exports the directory / usr/tmp to the django host and allows the client to send unsafe file lock requests:
[root@linux265 ~] # exportfs-o insecure_locks django:/usr/tmp uninstall to / usr/linuxprobe directory:
[root@linux265 ~] # exportfs-u / usr/linux265 uninstall all export lists:
[root@linux265 ~] # exportfs-au displays the shared directory:
[root@linux265] # exportfs-v so far, I believe you have a better understanding of "how to use the exportfs command of Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.