# passwd root
Changing password for root
Old password:
Last successful password change for root: ~
Last unsuccessful password change for root: ~
Do you want (choose one letter only):
pronounceable passwords generated for you (g)
a string of letters generated (l) ?
to pick your passwords: (p) ?
Enter choice here:
ontap97-sub::> storage aggregate add-disks -aggregate aggr0_ontap97_sub_01 -diskcount 3
Warning: Aggregate "aggr0_ontap97_sub_01" is a root aggregate. Adding disks to
the root aggregate is not recommended. Once added, disks cannot be
removed without reinitializing the node.
Do you want to continue? {y|n}: y
Info: Disks would be added to aggregate "aggr0_ontap97_sub_01" on node
"ontap97-sub-01" in the following manner:
First Plex
RAID Group rg0, 6 disks (block checksum, raid_dp)
Usable Physical
Position Disk Type Size Size
---------- ------------------------- ---------- -------- --------
data NET-1.19 FCAL 1000MB 1.00GB
data NET-1.27 FCAL 1000MB 1.00GB
data NET-1.20 FCAL 1000MB 1.00GB
Aggregate capacity available for volume use would be increased by 2.64GB.
Do you want to continue? {y|n}: y
ontap97-sub::>
aggregateの容量が増えたことを確認します
ontap97-sub::> storage aggregate show
Aggregate Size Available Used% State #Vols Nodes RAID Status
--------- -------- --------- ----- ------- ------ ---------------- ------------
aggr0_ontap97_sub_01 3.34GB 2.55GB 24% online 1 ontap97-sub-01 raid_dp,
normal
aggr1 14.06GB 14.00GB 0% online 3 ontap97-sub-01 raid_dp,
normal
2 entries were displayed.
ontap97-sub::> df -A -h
Aggregate total used avail capacity
aggr0_ontap97_sub_01 3420MB 812MB 2607MB 24%
aggr0_ontap97_sub_01/.snapshot 180MB 0B 180MB 0%
aggr1 14GB 61MB 14GB 0%
aggr1/.snapshot 0B 0B 0B 0%
4 entries were displayed.
ontap97-sub::>
システムボリュームの拡張
まずは現状のvol0のサイズを確認します
ontap97-sub::> volume show
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
ontap97-sub-01 vol0 aggr0_ontap97_sub_01 online RW 807.3MB 230.4MB 69%
1 entries were displayed.
ontap97-sub::> df -h
Filesystem total used avail capacity Mounted on Vserver
/vol/vol0/ 766MB 536MB 230MB 69% --- ontap97-sub-01
/vol/vol0/.snapshot 40MB 32MB 7824KB 81% --- ontap97-sub-01
2 entries were displayed.
ontap97-sub::>
「system node run -node ノード名 df -h」という手法でもボリューム容量を確認することができます。
ontap97-sub::> system node run -node ontap97-sub-01 df -h
Filesystem total used avail capacity Mounted on
/vol/vol0/ 766MB 544MB 222MB 71% /vol/vol0/
/vol/vol0/.snapshot 40MB 32MB 7768KB 81% /vol/vol0/.snapshot
ontap97-sub::>
現状のvol0サイズを確認するため「system node run -node ノード名 vol size vol0」を実行します。
ontap97-sub::> system node run -node ontap97-sub-01 vol size vol0
vol size: Flexible volume 'vol0' has size 826656k.
ontap97-sub::>
vol0のサイズを2GBに設定します。
ontap97-sub::> system node run -node ontap97-sub-01 vol size vol0 2g
vol size: Flexible volume 'vol0' size set to 2g.
ontap97-sub::>
容量が変わったことを確認します。
ontap97-sub::> volume show
Vserver Volume Aggregate State Type Size Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
ontap97-sub-01 vol0 aggr0_ontap97_sub_01 online RW 2GB 1.38GB 27%
1 entries were displayed.
ontap97-sub::> df -h
Filesystem total used avail capacity Mounted on Vserver
/vol/vol0/ 1945MB 536MB 1409MB 27% --- ontap97-sub-01
/vol/vol0/.snapshot 102MB 32MB 69MB 32% --- ontap97-sub-01
2 entries were displayed.
ontap97-sub::> system node run -node ontap97-sub-01 df -h
Filesystem total used avail capacity Mounted on
/vol/vol0/ 1945MB 543MB 1402MB 28% /vol/vol0/
/vol/vol0/.snapshot 102MB 32MB 69MB 32% /vol/vol0/.snapshot
ontap97-sub::>
NetApp ONTAP シミュレータ 9.7で起動時にFailed to backup /var to mroot と出力されている。
boot.varfs.backup.issuse : EMERGENCY Backup of the /var file system failed (cp: /mroot/etc/tmpvarfs.tgz: No space left on device varfs_backup_restore: Failed to backup /var to mroot (copy old)
/usr/bin/plxcoeff_log: cannot create /mroot/etc/log/plxcoeff/plxcoeff.log.tmp: No space left on device stat: /mroot/etc/log/plxcoeff/plxcoeff.log.tmp: stat: No such file or directory [: -gt: unexprected operator
[root@esxi70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp] ./Network_Firmware_7CM1N_LN_21.60.16.BIN -c
Invalid option: --packagepath=/scratch/tmp/Network_Firmware_7CM1N_LN_21.60.16.BIN
Try -h or --help for help.
[root@esxi70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp]
エラー。とりあえずオプションを確認してみる。
[root@esxi70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp] ./Network_Firmware_7CM1N_LN_21.60.16.BIN -h
Command-line options for the Update Package
Usage: <package name> [options...]
Options:
-h,--help : Display command-line usage help
-c : Determine if the update can be applied to the system (1)
-f : Force a downgrade to an older version. (1)(2)
-q : Execute the update package silently without user intervention
-n : Execute the update package without security verification
-r : Reboot if necessary after the update (2)
-v,--version : Display version information
--list : Display contents of package (3)
--installpath=<path> : Install the update package in the specified path only if options (2) and (8) are supported.
--extract <path> : Extract files to specified path (3)(4)
-qi, --queryinventory : Inventory if selective update is supported. (2) (5)
-su=<device list> or --selectiveupdate=<device list> : give the list of devices to update.(2) (6) (7)
--bmcpath=<value> : Chooses Inventory/Update path (value specified will be : ipmi - use KCS path or usbnic - use OS-BMC passthrough)
(1) Can NOT use -f with the -c option
(2) Only takes effect if used with -q
(3) Can be used only before extracting the package
(4) Can NOT use --extract with any other option
(5) Can use only with -q option. Can NOT be used with -f, -c, -h, -n, -r, -v, --list, --extract, -su
(6) Can NOT be used with -c, -h, -n, -v, --list, --extract, -qi
(7) Device list should not contain any space.
(8) Only Application DUP supports.
[root@esxi70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp]
[root@esxi70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp/idrac] sh duputil.sh
duputil.sh: line 53: rpm: not found
duputil.sh: line 53: rpm: not found
duputil.sh: line 53: rpm: not found
duputil.sh: line 53: rpm: not found
duputil.sh: line 53: rpm: not found
duputil.sh: line 64: rpm: not found
[root@esxu70:/vmfs/volumes/5ec1e973-8ca56b7a-bafa-90b11c536183/.locker/tmp/idrac]