Command to check on which vg filesystem resides


 
Thread Tools Search this Thread
Operating Systems AIX Command to check on which vg filesystem resides
# 1  
Old 02-15-2014
Command to check on which vg filesystem resides

Hi,

I need to know on which volume group filesystem resides.

TIA
# 2  
Old 02-15-2014
Here are a couple of examples, aix & linux:
AIX - Disks and Filesystems
ORACLE-BASE - Linux File Systems
# 3  
Old 02-17-2014
What OS are you using? There are a few varieties of how to determine this information, so rather than try to list them all out, can you tell us which you need.


Thanks,
Robin
# 4  
Old 02-18-2014
Seems to be silly to answer, until u elaborate more !!!
# 5  
Old 02-18-2014
List all filesystems:
Code:
lsfs

The device file in the first column shows the LV name for the associated filesystem.

List the VG a specific FS resides on:
Code:
lslv <LVname>

In the first row on the second column there is the associated VG name.

It would be good if you make yourself familiar with LVM on AIX. There is plenty of documentation out there and it is easy to get the basic concepts and commands.

Show some little effort before asking here everything, thanks.
# 6  
Old 02-18-2014
On newer AIX Versions (I guess the OP ask for AIX) the command lsvgfs is realy helpful.

Example:
Code:
lsvg | xargs -t -I{} lsvgfs {}

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to execute a shell script that resides in another server?

hi, i have a shellscipt that is in another server, my question is how do i run the script from a different server. EXAMPLE: SCRIPT_NAME: sample.sh SERVER: A what i wanted to achieve is to call that script from server B. Tried using ssh ssh <username>@serverB /home/sample.sh but... (5 Replies)
Discussion started by: reignangel2003
5 Replies

2. Shell Programming and Scripting

Check if NAS filesystem is mounted

Anyone know the best way to check and see if a NAS filesystem is mounted on a linux box. I have no idea where to start :wall:. (2 Replies)
Discussion started by: d3mon_spawn
2 Replies

3. Solaris

How to check Utilization of single filesystem

Hi all I am facing high utilization of my root partition. below is the output of df -h bash-3.00# df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d10 9.9G 9.4G 406M 96% / /devices 0K 0K 0K 0% /devices ctfs ... (13 Replies)
Discussion started by: waqasahsan
13 Replies

4. AIX

How to check if a filesystem is part of a cluster

Hello, - How do I know if a filesystem is part of a cluster? - Or do I have to check if the vg related to the fs is part of a cluster instead? if so, how do I check it? - I would also need to check if there are vxfs type inside aix machines and if there are, how do I know if that type of... (2 Replies)
Discussion started by: asanchez
2 Replies

5. Shell Programming and Scripting

how to check that nfsmounted filesystem on nfsclient is accessible or not

hello, on Linux machine,how can i check with any command or any trick that nfs mounted file system is actually accessible or not w/o creating any file in nfsmounted location.mount,df -t nfs etc commands will only show mount entries but in case of small storage which is nfs mounted ,how to know... (1 Reply)
Discussion started by: pankajd
1 Replies

6. UNIX for Dummies Questions & Answers

How can I check if I have raw filesystem on unix/linux

Hello again. Please can someone tell me how can i check if my filesystem is raw on unix/linux ? Is there some file to check or something like that to be sure ? also , when i do : $ ls -l /dev/rdisk i get among other things , this also(there resides are oracle related files) : ... (2 Replies)
Discussion started by: tonijel
2 Replies

7. Solaris

Unable to check / filesystem

Hi buddies, I have T1000 and Solaris 10 installed on it. After a power failure system shut down improperly. Error Message is WARNING - Unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c0t0d0s0). Jul 18 10:16:09 svc.startd:... (6 Replies)
Discussion started by: ahsen
6 Replies

8. Shell Programming and Scripting

Urgent:FileSystem Check Script

This script monitors a FileSystem named /Monthly and send a page; works great but I need to monitor /Daily/All ....Im getting Syntax Error MSG=`df -Ik|awk '$6~/Monthly$/{gsub("%"," "); if ($5>20){print "FS:Monthly filesystem is "$5"%"}}'` if then echo $MSG | mail 2149724690@mobilecomm.net... (1 Reply)
Discussion started by: Openware
1 Replies

9. UNIX for Dummies Questions & Answers

What resides on my server(s)

I've got several AIX 5.3 LPARS that I'm administering, set up by 3rd party vendor before I got here. I've been asked by management to report on what's on each server; software, versions, patches available, etc. I know they're not identical: I've got different versions of ORACLE, APACHE, JAVA,... (0 Replies)
Discussion started by: keith.m
0 Replies

10. AIX

Creating a shell script to check filesystem space

I need to create a simple shell script to check filesystems space in a file system called "/arch_nb" then based on the percentage use either run another script or exit. I was thinking of something simple along the lines of: df -k | then some action to pipe for percentage used ...place... (10 Replies)
Discussion started by: heprox
10 Replies
Login or Register to Ask a Question