filesystem of a service guard package (style modular) (222 Views)
Reply
Valued Contributor
support_billa
Posts: 192
Registered: ‎06-27-2011
Message 1 of 2 (222 Views)

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

Honored Contributor
Patrick Wallek
Posts: 13,787
Registered: ‎06-21-2000
Message 2 of 2 (209 Views)

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

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.