List of nfs mounted filesystems in AIXWhy is file ownership inconsistent between two systems mounting the same NFS share?NFS mount to a subdirectory of already mounted directoryNFS partition mounted as read onlyNFS mounting wrong File SystemIs it possible to create a NFS Share from a CIFS mounted directory?Can't export NFS already-mounted folderCheck from Client if NFS is running on ServerAIX nfs mount-point disappears (not seen even from parent dir) until umount/mountMounting nested ZFS filesystems exported via NFSAllow www-data to read files from NFS share
In Bayesian inference, why are some terms dropped from the posterior predictive?
Are British MPs missing the point, with these 'Indicative Votes'?
Could neural networks be considered metaheuristics?
Why do I get negative height?
What's the meaning of "Sollensaussagen"?
What is the most common color to indicate the input-field is disabled?
Should I tell management that I intend to leave due to bad software development practices?
Why were 5.25" floppy drives cheaper than 8"?
Sums of two squares in arithmetic progressions
How seriously should I take size and weight limits of hand luggage?
How to install cross-compiler on Ubuntu 18.04?
In the UK, is it possible to get a referendum by a court decision?
How could sorcerers who are able to produce/manipulate almost all forms of energy communicate over large distances?
What is an equivalently powerful replacement spell for Yuan-Ti's Suggestion spell?
Implication of namely
How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?
Finitely generated matrix groups whose eigenvalues are all algebraic
How to coordinate airplane tickets?
Notepad++ delete until colon for every line with replace all
Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?
Why didn't Boeing produce its own regional jet?
Blending or harmonizing
Pact of Blade Warlock with Dancing Blade
Am I breaking OOP practice with this architecture?
List of nfs mounted filesystems in AIX
Why is file ownership inconsistent between two systems mounting the same NFS share?NFS mount to a subdirectory of already mounted directoryNFS partition mounted as read onlyNFS mounting wrong File SystemIs it possible to create a NFS Share from a CIFS mounted directory?Can't export NFS already-mounted folderCheck from Client if NFS is running on ServerAIX nfs mount-point disappears (not seen even from parent dir) until umount/mountMounting nested ZFS filesystems exported via NFSAllow www-data to read files from NFS share
I wanted to get the list of nfs mounted filesystems from some file present in the AIX machine. Is it present in some file? Currently, the only way that I know, is using mount system call and then parsing the output accordingly.
nfs aix
add a comment |
I wanted to get the list of nfs mounted filesystems from some file present in the AIX machine. Is it present in some file? Currently, the only way that I know, is using mount system call and then parsing the output accordingly.
nfs aix
add a comment |
I wanted to get the list of nfs mounted filesystems from some file present in the AIX machine. Is it present in some file? Currently, the only way that I know, is using mount system call and then parsing the output accordingly.
nfs aix
I wanted to get the list of nfs mounted filesystems from some file present in the AIX machine. Is it present in some file? Currently, the only way that I know, is using mount system call and then parsing the output accordingly.
nfs aix
nfs aix
asked Mar 28 at 9:31
Ankit ShubhamAnkit Shubham
1162
1162
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
In AIX to get the NFS mounted filesystems you can use command like:
df -T remote
or command mount
mount|grep -i nfs
add a comment |
As an alternative to -T remote, as Romeo mentioned, you can tell df to look for certain filesystem types (vfstype):
df -T nfs; df -T nfs3; df -T nfs4;
... where I picked out the unique, supported NFS types from /etc/vfs with something like awk '$1 ~ /nfs/' /etc/vfs. Note that nfs3 is the same vfs_number as nfsv3, so pick one or the other.
add a comment |
df -Th | grep nfs should do the job (-T to show the type / -h human readable).
Also under any Unix, there's a /etc/mtab which contains the currently mounted FS.
It's the pending of /etc/fstab with the difference that's dynamic so include also the manually mounted FS.
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -This an error on AIX: "df: not a filterable VFS type"; also note that grepping fornfscould result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.
– Jeff Schaller♦
Mar 28 at 15:08
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509168%2flist-of-nfs-mounted-filesystems-in-aix%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
In AIX to get the NFS mounted filesystems you can use command like:
df -T remote
or command mount
mount|grep -i nfs
add a comment |
In AIX to get the NFS mounted filesystems you can use command like:
df -T remote
or command mount
mount|grep -i nfs
add a comment |
In AIX to get the NFS mounted filesystems you can use command like:
df -T remote
or command mount
mount|grep -i nfs
In AIX to get the NFS mounted filesystems you can use command like:
df -T remote
or command mount
mount|grep -i nfs
answered Mar 28 at 10:10
Romeo NinovRomeo Ninov
6,93432129
6,93432129
add a comment |
add a comment |
As an alternative to -T remote, as Romeo mentioned, you can tell df to look for certain filesystem types (vfstype):
df -T nfs; df -T nfs3; df -T nfs4;
... where I picked out the unique, supported NFS types from /etc/vfs with something like awk '$1 ~ /nfs/' /etc/vfs. Note that nfs3 is the same vfs_number as nfsv3, so pick one or the other.
add a comment |
As an alternative to -T remote, as Romeo mentioned, you can tell df to look for certain filesystem types (vfstype):
df -T nfs; df -T nfs3; df -T nfs4;
... where I picked out the unique, supported NFS types from /etc/vfs with something like awk '$1 ~ /nfs/' /etc/vfs. Note that nfs3 is the same vfs_number as nfsv3, so pick one or the other.
add a comment |
As an alternative to -T remote, as Romeo mentioned, you can tell df to look for certain filesystem types (vfstype):
df -T nfs; df -T nfs3; df -T nfs4;
... where I picked out the unique, supported NFS types from /etc/vfs with something like awk '$1 ~ /nfs/' /etc/vfs. Note that nfs3 is the same vfs_number as nfsv3, so pick one or the other.
As an alternative to -T remote, as Romeo mentioned, you can tell df to look for certain filesystem types (vfstype):
df -T nfs; df -T nfs3; df -T nfs4;
... where I picked out the unique, supported NFS types from /etc/vfs with something like awk '$1 ~ /nfs/' /etc/vfs. Note that nfs3 is the same vfs_number as nfsv3, so pick one or the other.
answered Mar 28 at 13:48
Jeff Schaller♦Jeff Schaller
44.5k1162143
44.5k1162143
add a comment |
add a comment |
df -Th | grep nfs should do the job (-T to show the type / -h human readable).
Also under any Unix, there's a /etc/mtab which contains the currently mounted FS.
It's the pending of /etc/fstab with the difference that's dynamic so include also the manually mounted FS.
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -This an error on AIX: "df: not a filterable VFS type"; also note that grepping fornfscould result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.
– Jeff Schaller♦
Mar 28 at 15:08
add a comment |
df -Th | grep nfs should do the job (-T to show the type / -h human readable).
Also under any Unix, there's a /etc/mtab which contains the currently mounted FS.
It's the pending of /etc/fstab with the difference that's dynamic so include also the manually mounted FS.
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -This an error on AIX: "df: not a filterable VFS type"; also note that grepping fornfscould result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.
– Jeff Schaller♦
Mar 28 at 15:08
add a comment |
df -Th | grep nfs should do the job (-T to show the type / -h human readable).
Also under any Unix, there's a /etc/mtab which contains the currently mounted FS.
It's the pending of /etc/fstab with the difference that's dynamic so include also the manually mounted FS.
df -Th | grep nfs should do the job (-T to show the type / -h human readable).
Also under any Unix, there's a /etc/mtab which contains the currently mounted FS.
It's the pending of /etc/fstab with the difference that's dynamic so include also the manually mounted FS.
edited Mar 28 at 10:26
Kusalananda♦
139k17259430
139k17259430
answered Mar 28 at 9:39
admstgadmstg
755
755
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -This an error on AIX: "df: not a filterable VFS type"; also note that grepping fornfscould result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.
– Jeff Schaller♦
Mar 28 at 15:08
add a comment |
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -This an error on AIX: "df: not a filterable VFS type"; also note that grepping fornfscould result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.
– Jeff Schaller♦
Mar 28 at 15:08
1
1
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
There is no /etc/mtab or /etc/fstab file
– Ankit Shubham
Mar 28 at 9:57
df -Th is an error on AIX: "df: not a filterable VFS type"; also note that grepping for nfs could result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.– Jeff Schaller♦
Mar 28 at 15:08
df -Th is an error on AIX: "df: not a filterable VFS type"; also note that grepping for nfs could result in a false-positive on filesystems that happened to have "nfs" in their name somewhere.– Jeff Schaller♦
Mar 28 at 15:08
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509168%2flist-of-nfs-mounted-filesystems-in-aix%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown