Solaris11添加swap方法
查看当前swap大小,是2G root@vzwc1:~# zfs listNAME USED AVAIL REFER MOUNTPOINTrpool 8.68G 40.0G 4.90M /rpoolrpool/ROOT 4.03G 40.0G 31K legacyrpool/ROOT/solaris 4.03G 40.0G 3.72G /rpool/ROOT/solaris/var 265M 40.0G 202M /varrpool/VARSHARE 43K
查看当前swap大小,是2G
root@vzwc1:~# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 8.68G 40.0G 4.90M /rpool rpool/ROOT 4.03G 40.0G 31K legacy rpool/ROOT/solaris 4.03G 40.0G 3.72G / rpool/ROOT/solaris/var 265M 40.0G 202M /var rpool/VARSHARE 43K 40.0G 43K /var/share rpool/dump 2.58G 40.1G 2.50G - rpool/export 900K 40.0G 32K /export rpool/export/home 868K 40.0G 34K /export/home rpool/export/home/grid 36.5K 40.0G 36.5K /export/home/grid rpool/export/home/oracle 45K 40.0G 45K /export/home/oracle rpool/export/home/zhongwc 752K 40.0G 752K /export/home/zhongwc rpool/swap 2.06G 40.1G 2.00G - root@vzwc1:~# swap -l -h swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 285,2 4K 2.0G 2.0G
root@vzwc1:~# mkfile 5g /var/swapfile root@vzwc1:~# swap -a /var/swapfile /var/swapfile: Invalid operation for this filesystem type
root@vzwc1:~# zfs set volsize=5G rpool/swap
root@vzwc1:~# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 11.8G 36.9G 4.90M /rpool rpool/ROOT 4.03G 36.9G 31K legacy rpool/ROOT/solaris 4.03G 36.9G 3.72G / rpool/ROOT/solaris/var 265M 36.9G 202M /var rpool/VARSHARE 43K 36.9G 43K /var/share rpool/dump 2.58G 37.0G 2.50G - rpool/export 900K 36.9G 32K /export rpool/export/home 868K 36.9G 34K /export/home rpool/export/home/grid 36.5K 36.9G 36.5K /export/home/grid rpool/export/home/oracle 45K 36.9G 45K /export/home/oracle rpool/export/home/zhongwc 752K 36.9G 752K /export/home/zhongwc rpool/swap 5.16G 37.1G 5.00G - root@vzwc1:~# swap -l -h swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 285,2 4K 2.0G 2.0G /dev/zvol/dsk/rpool/swap 285,2 2.0G 3.0G 3.0G
关闭图形界面
svcadm disable svc:/application/graphical-login/gdm:default
启动图形界面
svcadm enable svc:/application/graphical-login/gdm:default
grid@vzwc1:~/grid$ ./runcluvfy.sh stage -pre crsinst -n vzwc1,vzwc2 -fixup -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node "vzwc1" Destination Node Reachable? ------------------------------------ ------------------------ vzwc1 yes vzwc2 yes Result: Node reachability check passed from node "vzwc1" Checking user equivalence... Check: User equivalence for user "grid" Node Name Status ------------------------------------ ------------------------ vzwc2 passed vzwc1 passed Result: User equivalence check passed for user "grid" Checking node connectivity... Checking hosts config file... Node Name Status ------------------------------------ ------------------------ vzwc2 passed vzwc1 passed Verification of the hosts config file successful Interface information for node "vzwc2" Name IP Address Subnet Gateway Def. Gateway HW Address MTU ------ --------------- --------------- --------------- --------------- ----------------- ------ net0 192.168.1.62 192.168.1.0 192.168.1.62 192.168.1.1 08:00:27:FB:18:44 1500 net1 172.168.1.62 172.168.1.0 172.168.1.62 192.168.1.1 08:00:27:AE:EC:AC 1500 Interface information for node "vzwc1" Name IP Address Subnet Gateway Def. Gateway HW Address MTU ------ --------------- --------------- --------------- --------------- ----------------- ------ net0 192.168.1.61 192.168.1.0 192.168.1.61 192.168.1.1 08:00:27:43:92:4C 1500 net1 172.168.1.61 172.168.1.0 172.168.1.61 192.168.1.1 08:00:27:DC:D1:AE 1500 Check: Node connectivity of subnet "192.168.1.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- vzwc2[192.168.1.62] vzwc1[192.168.1.61] yes Result: Node connectivity passed for subnet "192.168.1.0" with node(s) vzwc2,vzwc1 Check: TCP connectivity of subnet "192.168.1.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- vzwc1:192.168.1.61 vzwc2:192.168.1.62 passed Result: TCP connectivity check passed for subnet "192.168.1.0" Check: Node connectivity of subnet "172.168.1.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- vzwc2[172.168.1.62] vzwc1[172.168.1.61] yes Result: Node connectivity passed for subnet "172.168.1.0" with node(s) vzwc2,vzwc1 Check: TCP connectivity of subnet "172.168.1.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- vzwc1:172.168.1.61 vzwc2:172.168.1.62 passed Result: TCP connectivity check passed for subnet "172.168.1.0" Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are: vzwc2 net0:192.168.1.62 vzwc1 net0:192.168.1.61 Interfaces found on subnet "172.168.1.0" that are likely candidates for VIP are: vzwc2 net1:172.168.1.62 vzwc1 net1:172.168.1.61 WARNING: Could not find a suitable set of interfaces for the private interconnect Checking subnet mask consistency... Subnet mask consistency check passed for subnet "192.168.1.0". Subnet mask consistency check passed for subnet "172.168.1.0". Subnet mask consistency check passed. Result: Node connectivity check passed Checking multicast communication... Checking subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0"... Check of subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0" passed. Checking subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0"... Check of subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0" passed. Check of multicast communication passed. Check: Total memory Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 5GB (5242880.0KB) 2GB (2097152.0KB) passed vzwc1 5GB (5242880.0KB) 2GB (2097152.0KB) passed Result: Total memory check passed Check: Available memory Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 4.0248GB (4220352.0KB) 50MB (51200.0KB) passed vzwc1 3.5546GB (3727320.0KB) 50MB (51200.0KB) passed Result: Available memory check passed Check: Swap space Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 6GB (6291452.0KB) 5GB (5242880.0KB) passed vzwc1 6GB (6291452.0KB) 5GB (5242880.0KB) passed Result: Swap space check passed Check: Free disk space for "vzwc2:/var/tmp/" Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /var/tmp/ vzwc2 /var 35.8776GB 1GB passed Result: Free disk space check passed for "vzwc2:/var/tmp/" Check: Free disk space for "vzwc1:/var/tmp/" Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /var/tmp/ vzwc1 /var 32.7638GB 1GB passed Result: Free disk space check passed for "vzwc1:/var/tmp/" Check: User existence for "grid" Node Name Status Comment ------------ ------------------------ ------------------------ vzwc2 passed exists(1100) vzwc1 passed exists(1100) Checking for multiple users with UID value 1100 Result: Check for multiple users with UID value 1100 passed Result: User existence check passed for "grid" Check: Group existence for "oinstall" Node Name Status Comment ------------ ------------------------ ------------------------ vzwc2 passed exists vzwc1 passed exists Result: Group existence check passed for "oinstall" Check: Group existence for "dba" Node Name Status Comment ------------ ------------------------ ------------------------ vzwc2 passed exists vzwc1 passed exists Result: Group existence check passed for "dba" Check: Membership of user "grid" in group "oinstall" [as Primary] Node Name User Exists Group Exists User in Group Primary Status ---------------- ------------ ------------ ------------ ------------ ------------ vzwc2 yes yes yes yes passed vzwc1 yes yes yes yes passed Result: Membership check for user "grid" in group "oinstall" [as Primary] passed Check: Membership of user "grid" in group "dba" Node Name User Exists Group Exists User in Group Status ---------------- ------------ ------------ ------------ ---------------- vzwc2 yes yes yes passed vzwc1 yes yes yes passed Result: Membership check for user "grid" in group "dba" passed Check: Run level Node Name run level Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 3 3 passed vzwc1 3 3 passed Result: Run level check passed Check: Hard limits for "maximum open file descriptors" Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- vzwc2 hard 65536 65536 passed vzwc1 hard 65536 65536 passed Result: Hard limits check passed for "maximum open file descriptors" Check: Soft limits for "maximum open file descriptors" Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- vzwc2 soft 65536 1024 passed vzwc1 soft 65536 1024 passed Result: Soft limits check passed for "maximum open file descriptors" Check: Hard limits for "maximum user processes" Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- vzwc2 hard 29995 16384 passed vzwc1 hard 29995 16384 passed Result: Hard limits check passed for "maximum user processes" Check: Soft limits for "maximum user processes" Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- vzwc2 soft 29995 2047 passed vzwc1 soft 29995 2047 passed Result: Soft limits check passed for "maximum user processes" Check: System architecture Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 64-bit amd64 kernel modules 64-bit amd64 kernel modules passed vzwc1 64-bit amd64 kernel modules 64-bit amd64 kernel modules passed Result: System architecture check passed Check: Kernel version Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- vzwc2 5.11 5.11 passed vzwc1 5.11 5.11 passed Result: Kernel version check passed Checking for multiple users with UID value 0 Result: Check for multiple users with UID value 0 passed Check: Current group ID Result: Current group ID check passed Starting check for consistency of primary group of root user Node Name Status ------------------------------------ ------------------------ vzwc2 passed vzwc1 passed Check for consistency of root user's primary group passed Starting Clock synchronization checks using Network Time Protocol(NTP)... NTP Configuration file check started... Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes No NTP Daemons or Services were found to be running Result: Clock synchronization check using Network Time Protocol(NTP) passed Checking Core file name pattern consistency... Core file name pattern consistency check passed. Checking to make sure user "grid" is not in "root" group Node Name Status Comment ------------ ------------------------ ------------------------ vzwc2 passed does not exist vzwc1 passed does not exist Result: User "grid" is not part of "root" group. Check passed Check default user file creation mask Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- vzwc2 0022 0022 passed vzwc1 0022 0022 passed Result: Default user file creation mask check passed Checking consistency of file "/etc/resolv.conf" across nodes Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined File "/etc/resolv.conf" does not have both domain and search entries defined Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes... domain entry in file "/etc/resolv.conf" is consistent across nodes Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes... search entry in file "/etc/resolv.conf" is consistent across nodes Checking DNS response time for an unreachable node Node Name Status ------------------------------------ ------------------------ vzwc2 passed vzwc1 passed The DNS response time for an unreachable node is within acceptable limit on all nodes File "/etc/resolv.conf" is consistent across nodes Check: Time zone consistency Result: Time zone consistency check passed Pre-check for cluster services setup was successful. grid@vzwc1:~/grid$

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Tomato Novel is a very popular novel reading software. We often have new novels and comics to read in Tomato Novel. Every novel and comic is very interesting. Many friends also want to write novels. Earn pocket money and edit the content of the novel you want to write into text. So how do we write the novel in it? My friends don’t know, so let’s go to this site together. Let’s take some time to look at an introduction to how to write a novel. Share the Tomato novel tutorial on how to write a novel. 1. First open the Tomato free novel app on your mobile phone and click on Personal Center - Writer Center. 2. Jump to the Tomato Writer Assistant page - click on Create a new book at the end of the novel.

Unfortunately, people often delete certain contacts accidentally for some reasons. WeChat is a widely used social software. To help users solve this problem, this article will introduce how to retrieve deleted contacts in a simple way. 1. Understand the WeChat contact deletion mechanism. This provides us with the possibility to retrieve deleted contacts. The contact deletion mechanism in WeChat removes them from the address book, but does not delete them completely. 2. Use WeChat’s built-in “Contact Book Recovery” function. WeChat provides “Contact Book Recovery” to save time and energy. Users can quickly retrieve previously deleted contacts through this function. 3. Enter the WeChat settings page and click the lower right corner, open the WeChat application "Me" and click the settings icon in the upper right corner to enter the settings page.

Many users are increasingly favoring the electronic ecosystem of Xiaomi smart home interconnection in modern life. After connecting to the Mijia APP, you can easily control the connected devices with your mobile phone. However, many users still don’t know how to add Mijia to their homes. app, then this tutorial guide will bring you the specific connection methods and steps, hoping to help everyone in need. 1. After downloading Mijia APP, create or log in to Xiaomi account. 2. Adding method: After the new device is powered on, bring the phone close to the device and turn on the Xiaomi TV. Under normal circumstances, a connection prompt will pop up. Select "OK" to enter the device connection process. If no prompt pops up, you can also add the device manually. The method is: after entering the smart home APP, click the 1st button on the lower left

In today's society, mobile phones have become an indispensable part of our lives. As an important tool for our daily communication, work, and life, WeChat is often used. However, it may be necessary to separate two WeChat accounts when handling different transactions, which requires the mobile phone to support logging in to two WeChat accounts at the same time. As a well-known domestic brand, Huawei mobile phones are used by many people. So what is the method to open two WeChat accounts on Huawei mobile phones? Let’s reveal the secret of this method. First of all, you need to use two WeChat accounts at the same time on your Huawei mobile phone. The easiest way is to

1. First, click to open the Douyin app and click [Me]. 2. Click the three-dot icon in the upper right corner. 3. Click to enter [Settings]. 4. Click to open [Account and Security]. 5. Select and click [Log in to device management]. 6. Finally, click to select the device and click [Remove].

Mobile games have become an integral part of people's lives with the development of technology. It has attracted the attention of many players with its cute dragon egg image and interesting hatching process, and one of the games that has attracted much attention is the mobile version of Dragon Egg. To help players better cultivate and grow their own dragons in the game, this article will introduce to you how to hatch dragon eggs in the mobile version. 1. Choose the appropriate type of dragon egg. Players need to carefully choose the type of dragon egg that they like and suit themselves, based on the different types of dragon egg attributes and abilities provided in the game. 2. Upgrade the level of the incubation machine. Players need to improve the level of the incubation machine by completing tasks and collecting props. The level of the incubation machine determines the hatching speed and hatching success rate. 3. Collect the resources required for hatching. Players need to be in the game

Setting font size has become an important personalization requirement as mobile phones become an important tool in people's daily lives. In order to meet the needs of different users, this article will introduce how to improve the mobile phone use experience and adjust the font size of the mobile phone through simple operations. Why do you need to adjust the font size of your mobile phone - Adjusting the font size can make the text clearer and easier to read - Suitable for the reading needs of users of different ages - Convenient for users with poor vision to use the font size setting function of the mobile phone system - How to enter the system settings interface - In Find and enter the "Display" option in the settings interface - find the "Font Size" option and adjust it. Adjust the font size with a third-party application - download and install an application that supports font size adjustment - open the application and enter the relevant settings interface - according to the individual

As a trading platform, Xianyu requires you to register and log in to your account before using it. Users can set an ID name for their account. What if they want to check what their ID is? Let’s find out together below! Introduction to how to view personal nicknames on Xianyu. First, start the Xianyu app. After entering the homepage, switch to the page of selling idle, messages, and me, and click the [My] option in the lower right corner. 2. Then on my page we need to click [Avatar] in the upper left corner; 2. Then when we go to the personal homepage page we can see different information, we need to click the [Edit Information] button here; 4. Finally click We can see it later on the page where we edit information;
