System Admin

1. unmount volumes shared.

unshare /dir

umount  /dir

 

2. solaris SC>

# list all commands

sc> help

 

# resetsc -y,  reset SC

# reset -y, reset OS.

# poweron/poweroff

# break -y, enter OK mode

{0} ok printenv

{0} ok setenv boot-device disk0:a
boot-device =           disk0:a
{0} ok devalias

 

3. add/remove patch

patchadd /path/to/patch/patch_name

patchadd -M /path/to/patch *

 

patchrm patch_name

 

4. create/delete aggregation using the given key value.

unplumb all nics you want to aggregate.

dladm create-aggr -d vnet1 -d vnet2 1

dladm show-aggr

dladm delete-aggr 1

 

5. change boot device by using eeprom

[root@vcsv245h /]#>eeprom boot-device=disk1

 

6. check hba port info

fcinfo hba-port

 

7.SMF

svccfg -s nfs/server setprop "application/auto_enable = false"

svccfg import /var/svc/manifest/network/nfs/server.xml

svcadm enable nfs/server

svcadm disable -st service   # disable and offline service

svcadm enable service

 

8. modinfo & modunload

[root@vcsv245h allpatches]#>modinfo | egrep 'llt|gab|vxfen'
[root@vcsv245h allpatches]#>modunload -i 291

 

9. configure controller ports for share disks, and generate dev files for share disks

[root@vcsv245k /]#>cfgadm -al

[root@vcsv245k /]#>cfgadm -c configure c2::5006016130232106

[root@vcsv245k /]#>devfsadm -v

 

10. unzip

.tgz: gunzip file.tgz; tar xvf file.tar

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值