Posts

Showing posts from April, 2015

For solving the VXVM related issues faster

Please use script chk_dginfo for solving the VXVM related issues faster. It gives us all the important information like free disks, number of volumes/plexes, disk paths, which server DG is deported, free chunks in the disk, detailed subdisk information etc.. root# cat chk_dginfo #!/usr/bin/ksh # Script:           chk_dginfo # Usage:            chk_dginfo [-Adfgmpqsv] <diskgroup list> #                   chk_dginfo [-Adfgmpqsv] -G #                   chk_dginfo [-gmq] -u #                   chk_dginfo [-q] -S #                 ...

VCS script for troubleshooting

Pretty useful script for Veritas cluster, which will be helpful on solving cluster related issues fast. With this script we get all the dependent resources and other dependent SGs in one platform. Else we need to do lot of manipulation with traditional commands in VCS. root# more chk_cluconf #!/usr/bin/ksh # Script:           chk_cluconf # Usage:            chk_cluconf [-dgn] <servicegroup list> #                   chk_cluconf [-dgn] -G #                   chk_cluconf [-dg]  -p #                   chk_cluconf -h #  By default NO fancy graphics options bon=""   # `tput bold` = bold ...

New ACL in Solaris with ZFS

Quite some time ago I wrote about ACL's in my blog entry ACL!...Bless You. A funny title and play on the pronunciation of the acronym Access Control List ("Ackel"), but not readily found via Google. Sadly, if you are running Solaris 10 with ZFS or better yet a Nevada or OpenSolaris build you are going to get confused if you do a search and get ancient articles telling you to use getfacl and setfacl. These tools are used for viewing or manipulating POSIX ACL's. Things are different now because ZFS makes use of NFSv4 style ACL's manipulated with often unknown arguments to ls and chmod. So when do you use POSIX and when do you use NFSv4? And, if ZFS uses NFSv4 ACL's, what does that mean if you NFSv3 mount a ZFS filesystem? Lets explore. Before we begin!: Please run "which ls" to ensure you are using /bin/ls. If your running a newish build of Nevada or OpenSolaris you may be using GNU ls, rather than Solaris ls, in which case this blog entry may confuse...