Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

filesystem of a service guard package (style modular)

support_billa
Valued Contributor

filesystem of a service guard package (style modular)

hello,

 

is there a better to get a filesystem(s) of a service guard package (style modular)

 

filesystem relationship to service guard package (style modular or legacy)

 

here my idea :

 

# cmgetconf -v -p package |grep -E "^fs_name|^fs_directory|^fs_type|^fs_mount_opt|^fs_umount_opt|^fs_fsck_opt"

 

# output
fs_name            /dev/vgpackage/config
fs_directory        /package/fs
fs_type            ""
fs_mount_opt        ""
fs_umount_opt        ""
fs_fsck_opt        ""

regards

1 REPLY
Highlighted
Patrick Wallek
Honored Contributor

Re: filesystem of a service guard package (style modular)

Why not just:

 

# cmgetconf -p <pkgname> | grep ^fs_

 

That will grab all lines starting with fs_.

 

If you don't want the first two lines, fs_mount_retry_count and fs_umount_retry_count, then:

 

# cmgetconf -p <pkgname> | grep ^fs | grep -v retry