Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems creating a new File Systems framework in ZFS

Jose.PaulaOct 5 2018 — edited Oct 7 2018

Today we have the following structure coming from ZFS and that is shared with 4 servers:

sc01-h2-storIB:/export/soa_mst_m7

220G    29G 191G    14%    /u01/oracle/soa-mst_old

sc01-h2-storIB:/export/soa_mst_m7

220G    29G 191G    14%    /u01/oracle/soa-mst

sc02-h2-storIB:/export/mst_shares/scripts

27G   200K 27G     1%    /u01/oracle/soa-mst/scripts

sc02-h2-storIB:/export/mst_shares/jdk

28G   668M 27G     3%    /u01/oracle/soa-mst/jdk

sc02-h2-storIB:/export/mst_shares/wls

59G    32G 27G    54%    /u01/oracle/soa-mst/wls1213

sc02-h2-storIB:/export/mst_shares/applications

27G   3.9M 27G     1% /u01/oracle/soa-mst/applications

sc02-h2-storIB:/export/mst_shares/resources

27G    18M 27G     1% /u01/oracle/soa-mst/domain/mstprd/resources

sc02-h2-storIB:/export/mst_shares/config

28G   221M 27G     1% /u01/oracle/soa-mst/domain/mstprd/config

sc02-h2-storIB:/export/mst_shares/bin

27G    14M 27G     1% /u01/oracle/soa-mst/domain/mstprd/bin

sc02-h2-storIB:/export/mst_shares/lib

What you want to do is create a dedicated structure for each server to see if it improves performance for the application.

The File Systems I created to do this are as follows:

zfs create -o mountpoint=/u01-new /oracle/soa-mst rpool/soa-mst

zfs set quota=30G rpool/soa-mst

zfs create -o mountpoint=/u01-new /oracle/soa-mst/domain/mstprd rpool/mstprd

zfs set quota=30G rpool/mstprd

zfs create -o mountpoint=/u01-new /oracle/logs rpool/logs

zfs set quota=30G rpool/logs

zfs create -o mountpoint=/u01-new /oracle/soa-mst/wls1213 rpool/wls1213

zfs set quota=30G rpool/wls1213

But, since / u01 already exists, I created / u01-new to differentiate the mount points.

When I finished the data transfers and tried to move / u01-new to / u01 the system gave error:

df: cannot statvfs /u01-new/oracle/soa-mst/domain/mstprd: No such file or directory

  df: cannot statvfs /u01-new/oracle/soa-mst/wls1213: No such file or directory

I just tried to make this change with the FS that comes from the ZFS were dismounted and after all the data transfer completed.

Any help will be very welcome and thank you.

José Antonio

Comments
Post Details
Added on Oct 5 2018
2 comments
378 views