How to check if a filesystem is part of a cluster


 
Thread Tools Search this Thread
Operating Systems AIX How to check if a filesystem is part of a cluster
# 1  
Old 02-24-2011
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 filesystems are resizable online, and how?

Thank you in advance.
# 2  
Old 02-24-2011
Hi

first find out in which VG your filesystem resides, than if you do lspv and see besides the VG name something like concurrent, than your VG is more than likely part of a (hacmp- or application) cluster. You could as well compare the PVIDs on both nodes to check if the same disk is visible on both nodes - this is what I would do for VCS clusters on AIX - or you can have a look into /etc/VRTSvcs/conf/config/main.cf - there the clusterfilesystems are defined. On hacmp you could as well simply check your resourcegroup definitions.

df -g will show you if you have vxfs filesystems (usually happens only if you have older SFRAC clusters - nobody else would be stupid enough to use VXfs on AIX) - these can be resized online as well if you have enough space in the diskgroup - vxassist -g diskgroup help space can tell you if you do, vxresize -g diskgroup volumename +10G would add for example 10 gig to the filesystem.

If you have asm clusters (which naturally have no filesystems or volumegroups) the only way to find out which disks are used for it is checking / comparing the devices in /dev - usually asm devices start with asm_ or have *voting* or *ocr* in their names.

Hope this helps somehow
kind regards
zxmaus

Last edited by zxmaus; 02-25-2011 at 01:30 AM.. Reason: corrected typo
This User Gave Thanks to zxmaus For This Post:
# 3  
Old 03-01-2011
I think that you are talking about aix LVM and HACMP

Filesystem on AIX 's LVM can always be extended online.
If you are using Aix's LVM fstype will be jfs or jfs2 and you can check it with the "lsfs " command

Finally to check if it is a cluster fs , you may use smit hacmp >>> C-SPOC


Regards
This User Gave Thanks to federico1636 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Command to check on which vg filesystem resides

Hi, I need to know on which volume group filesystem resides. TIA (5 Replies)
Discussion started by: sumanthupar
5 Replies

2. High Performance Computing

How to check performance of your HPC cluster?

Hello Everybody, I have few queries : Do you have any idea how to check the performance of HPC cluster having mpich on top of centos 6.2? Are there any standard programs (like FFT, graphics rendering etc) to check the performance of mpi cluster with single node and multiple nodes? Can we... (4 Replies)
Discussion started by: albertspade
4 Replies

3. 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

4. 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

5. Linux

Cluster check

I am working on a Linux server and want to check the cluster status. I dont know how many server is in cluster and what is the command to check. could you please help me to get the cluster status? (4 Replies)
Discussion started by: anshu ranjan
4 Replies

6. UNIX for Dummies Questions & Answers

How to check if the server is on a Cluster

Hi im connecting to a datacenter remotely. is there a command to know if the server is on a cluster? i want to know the command to use in these OS(hp-ux,solaris,linux) Thanks (6 Replies)
Discussion started by: jinslick25
6 Replies

7. Shell Programming and Scripting

Monitoring script to check if cm cluster is up or not.

hi guys have this little problem, need some help from script gurus. basically I'm running hpux cmviewcl command, cmviewcl command will produce db1pkg up running enabled box1 my script PSV='box1' STAT='up' check_db1pkg() { # assign cmviewcl output... (2 Replies)
Discussion started by: sparcguy
2 Replies

8. Shell Programming and Scripting

how to check all the applications are in cluster using shell script

Hi I have an application running in four different node.The server is tomcat.Each node in each tomcat server.How do i check whether all the nodes are in cluster using shell script. any command to check this would be of great use.:) (2 Replies)
Discussion started by: ahamed
2 Replies

9. 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

10. 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
Login or Register to Ask a Question