File system mount point list
scha_resource_get -O extension -R <HAStoragePlus resource> -G <resource group> FileSystemMountPoints
example:
# scha_resource_get -O extension -R testdb-disk -G testdb-rg FileSystemMountPoints
STRINGARRAY
/testdb/u01
/testdb/b01
/testdb/r01
/testdb/b02
Remove mount point
Add mount point
Before adding mount point insure that, necessary record exist in /etc/vfstab
scrgadm -c -j <HAStoragePlus resource> -x FileSystemMountPoints="<mount point list>"
example:
scrgadm -c -j testdb-disk -x FileSystemMountPoints="/testdb/u01,/testdb/b01,/testdb/r01,/testdb/b02"
# scha_resource_get -O extension -R testdb-disk -G testdb-rg FileSystemMountPoints
STRINGARRAY
/testdb/u01
/testdb/b01
/testdb/r01
/testdb/b02
scha_resource_get -O extension -R <HAStoragePlus resource> -G <resource group> FileSystemMountPoints
example:
# scha_resource_get -O extension -R testdb-disk -G testdb-rg FileSystemMountPoints
STRINGARRAY
/testdb/u01
/testdb/b01
/testdb/r01
/testdb/b02
Remove mount point
Before removing a file system from an online HAStoragePlus resource, ensure that no applications are using the file system. When you remove a file system from an online HAStoragePlus resource, the file system might be forcibly unmounted. If a file system that an application is using is forcibly unmounted, the application might fail or hang.
scrgadm -c -j <HAStoragePlus resource> -x FileSystemMountPoints="<mount point list>"
scrgadm -c -j <HAStoragePlus resource> -x FileSystemMountPoints="<mount point list>"
example:
scrgadm -c -j testdb-disk -x FileSystemMountPoints="/testdb/u01,/testdb/b01,/testdb/r01"
scha_resource_get -O extension -R testdb-disk -G testdb-rg FileSystemMountPoints
STRINGARRAY
/testdb/u01
/testdb/b01
/testdb/r01
Add mount point
Before adding mount point insure that, necessary record exist in /etc/vfstab
scrgadm -c -j <HAStoragePlus resource> -x FileSystemMountPoints="<mount point list>"
example:
scrgadm -c -j testdb-disk -x FileSystemMountPoints="/testdb/u01,/testdb/b01,/testdb/r01,/testdb/b02"
# scha_resource_get -O extension -R testdb-disk -G testdb-rg FileSystemMountPoints
STRINGARRAY
/testdb/u01
/testdb/b01
/testdb/r01
/testdb/b02
No comments:
Post a Comment