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$

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

Video Face Swap
使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

而后悔莫及、人们常常会因为一些原因不小心将某些联系人删除、微信作为一款广泛使用的社交软件。帮助用户解决这一问题,本文将介绍如何通过简单的方法找回被删除的联系人。1.了解微信联系人删除机制这为我们找回被删除的联系人提供了可能性、微信中的联系人删除机制是将其从通讯录中移除,但并未完全删除。2.使用微信内置“通讯录恢复”功能微信提供了“通讯录恢复”节省时间和精力,用户可以通过该功能快速找回之前被删除的联系人,功能。3.进入微信设置页面点击右下角,打开微信应用“我”再点击右上角设置图标、进入设置页面,,

番茄小说是一款非常热门的小说阅读软件,我们在番茄小说中经常会有新的小说和漫画可以去阅读,每一本小说和漫画都很有意思,很多小伙伴也想着要去写小说来赚取赚取零花钱,在把自己想要写的小说内容编辑成文字,那么我们要怎么样在这里面去写小说呢?小伙伴们都不知道,那就让我们一起到本站本站中花点时间来看写小说的方法介绍吧。分享番茄小说写小说方法教程 1、首先在手机上打开番茄免费小说app,点击个人中心——作家中心 2、跳转到番茄作家助手页面——点击创建新书在小说的结

1、首先点击打开抖音app,点击【我】。2、点击右上方三点的图标。3、点击进入【设置】。4、点击打开【帐号与安全】。5、选择点击【登录设备管理】。6、最后点击选择其中的设备,点击【移除】即可。

手机游戏成为了人们生活中不可或缺的一部分,随着科技的发展。它以其可爱的龙蛋形象和有趣的孵化过程吸引了众多玩家的关注,而其中一款备受瞩目的游戏就是手机版龙蛋。帮助玩家们在游戏中更好地培养和成长自己的小龙,本文将向大家介绍手机版龙蛋的孵化方法。1.选择合适的龙蛋种类玩家需要仔细选择自己喜欢并且适合自己的龙蛋种类,根据游戏中提供的不同种类的龙蛋属性和能力。2.提升孵化机的等级玩家需要通过完成任务和收集道具来提升孵化机的等级,孵化机的等级决定了孵化速度和孵化成功率。3.收集孵化所需的资源玩家需要在游戏中

很多用户们在现代生活中越来越青睐小米智能家居互联的电子生态,那么连接米家APP后,你就可以轻松用手机来控制连接设备,但是很多用户们还不知如何将自己的家居添加米家app中,那么这篇教程攻略就将为大家带来具体连接方法步骤攻略,希望能帮助到各位有需要的小伙伴们。1、下载米家APP后,创建或者登录小米账户。2、添加方法:当全新的设备通电后,将手机靠近设备并打开小米电视,正常情况下会弹出连接提示,选择“确定”即进入设备连接流程。若无提示弹出,也可以手动添加设备,方法是:进入智能家庭APP后,点击左下方第1

字体大小的设置成为了一项重要的个性化需求,随着手机成为人们日常生活的重要工具。以满足不同用户的需求、本文将介绍如何通过简单的操作,提升手机使用体验,调整手机字体大小。为什么需要调整手机字体大小-调整字体大小可以使文字更清晰易读-适合不同年龄段用户的阅读需求-方便视力不佳的用户使用手机系统自带字体大小设置功能-如何进入系统设置界面-在设置界面中找到并进入"显示"选项-找到"字体大小"选项并进行调整第三方应用调整字体大小-下载并安装支持字体大小调整的应用程序-打开应用程序并进入相关设置界面-根据个人

1、打开手机后,选择网易云音乐。2、进入到首页后,大家就可以看到【排行榜】,点击进入。3、在排行榜中,可以选择任意榜单,点击【新歌榜】。4、选择自己喜欢的歌曲,并进行点击。5、返回上一页,可以看到更多的榜单。

闲鱼作为一款交易平台,使用之前都需要先注册和登录自己的账号,用户可以为自己的账号设置id名称,如果想查看自己的id是什么怎么办呢?下面就来一起了解一下吧!闲鱼个人昵称查看方法介绍首先启动闲鱼应用,进入首页后,通过切换到卖闲置、消息、我的页面,点击右下角的【我的】选项。2、然后在我的页面中我们需要点击左上角的【头像】;2、接着来到个人主页的页面中可以看到不同的信息,我们需要在这里点击【编辑资料】按钮;4、最后点击过后在编辑资料的页面中我们就可以看到了;
