USB Flashメモリでリカバリできると嬉しいな、と思ったので、以下を試してみました。
- mksysbファイル(AIXのシステムバックアップ)をディスクに取得(Aとする。)
- 上記AからISOファイルを作成
参考情報:AIX 7.3 mksysb_isoコマンドの確認 (mksysb から iso ファイルを作る)3. リカバリ用メディアを、USB Flashメモリに作成
https://qiita.com/c_u/items/8309aaacf6e9983d1a3a - isoイメージを、USB Flashに書き出す。
- USB Flashメモリから、リストアテストを実施
使用した環境
- IBM Power S914
- AIX 7.3 TL2 SP2
- USB Flashメモリ:KIOXIA TransMemory U366 USB フラッシュメモリ 128GB
- USBメモリをS914サーバーのフロントのUSBポートに挿して、cfgmgrするとUSB Mass Storage(usbms0)として見えました。
# lsdev -C| grep usb
usb0 Available USB System Software
usbhc0 Available 01-00 Integrated USB 3.0 xHCI Adapter (4c1041821410b204)
usbms0 Available 0.5 USB Mass Storage
USB Flashメモリの使用については、こちらを参考にしました。
https://www.ibm.com/support/pages/using-and-taking-advantage-usb-devices-and-aix#ISO
mksysbの取得
mksysbの取得先として、/bkupファイルシステムを作成します。
# lsvg -l bkupvg
bkupvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv00 jfs2 640 640 1 open/syncd /bkup
#
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 74.06 43% 2882 14% /
/dev/hd2 2432.00 215.61 92% 45621 46% /usr
/dev/hd9var 192.00 156.38 19% 637 2% /var
/dev/hd3 128.00 126.12 2% 52 1% /tmp
/dev/hd1 64.00 63.63 1% 7 1% /home
/dev/hd11admin 128.00 127.63 1% 7 1% /admin
/proc - - - - - /proc
/dev/hd10opt 64.00 46.29 28% 163 2% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20480.00 20396.56 1% 4 1% /bkup
/ahafs - - - 36 1% /aha
/bkupにmksysbファイルを取得します。
Back Up This System to Tape/File or UDFS capable media
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
WARNING: Execution of the mksysb command will
result in the loss of all material
previously stored on the selected
output medium. This command backs
up only rootvg volume group.
* Backup DEVICE or FILE [/bkup/AIX73TL2SP2_mks> +/
Create MAP files? no +
Create backup using snapshots? no +
EXCLUDE files? no +
Exclude WPAR file systems? no +
Location of File System Exclusion List [] /
List files as they are backed up? no +
Verify readability if tape device? no +
Generate new /image.data file? yes +
EXPAND /tmp if needed? yes +
Disable software packing of backup? no +
Backup extended attributes? yes +
Number of BLOCKS to write in a single output [] #
(Leave blank to use a system default)
Location of existing mksysb image [] /
File system to use for temporary work space [] /
(If blank, /tmp will be used.)
Back up encrypted files? yes +
Back up DMAPI filesystem files? yes +
Build new alt_disk_install boot_image? no +
[BOTTOM]
F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
バックアップ終了
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Creating information file (/image.data) for rootvg.
Creating list of files to back up
Backing up 50411 files...
50411 of 50411 files backed up (100%)
0512-038 mksysb: Backup Completed Successfully.
F1=Help F2=Refresh F3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
# ls -l /bkup
total 3388912
-rw-r--r-- 1 root system 1735116800 Feb 25 13:19 AIX73TL2SP2_mksysb
drwxr-xr-x 2 root system 256 Feb 20 14:54 lost+found
#
取得したmksysbファイルからISOを作成
mksysb_isoコマンドのマニュアルも参照しました。
https://www.ibm.com/docs/ja/aix/7.3?topic=m-mksysb-iso-command
次のような記載があります。大抵の場合は同じバージョンかな、とは思いますが、複数バージョンを運用している場合は注意ですね。
以前に作成された mksysb イメージを -m フラグで指定する場合、mksysb イメージのバージョンは、このコマンドが実行されたシステムのバージョンと一致しなければなりません。 例えば、 AIX® 7.3 システムでこのコマンドを実行する場合、指定する mksysb イメージのバージョンも AIX 7.3でなければなりません。
mksysb_isoを実行する前に、次の環境を用意しました。
- ISOイメージを作成するためのファイルシステム
- ISOイメージ作成中に内部的に使用される一時領域としてworkvgを用意 (空き領域があればrootvgでも可能)
# lsvg
rootvg
bkupvg
workvg
# lsvg -l workvg
workvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
# lsvg -l bkupvg
bkupvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv00 jfs2 640 640 1 open/syncd /bkup
fslv01 jfs2 307 307 1 open/syncd /ISO_image
#smitty mksysb_iso
以下の画面で1を選択
┌──────────────────────────────────────────────────────────────────────────┐
│ Use an existing mksysb image? │
│ │
│ Move cursor to desired item and press Enter. │
│ │
│ 1 yes │
│ 2 no │
│ │
│ F1=Help F2=Refresh F3=Cancel │
│ F8=Image F10=Exit Enter=Do │
│ /=Find n=Find Next │
└──────────────────────────────────────────────────────────────────────────┘
ここでは、以下を設定してみました。
- Location of the final bootable ISO image → /ISO_image_/AIX73TL2SP2_mksysb.iso
- Location of existing mksysb image → /bkup/AIX73TL2SP2_mksysb
- If file systems are being created:
Volume Group for created file systems → workvg
Back Up This System to ISO Image
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Location of the final bootable ISO image [/ISO_image/AIX73TL2SP> /
(If the directory does not exist,
the file system will be created for you.)
* Location of existing mksysb image [/bkup/AIX73TL2SP2_mks> /
File system to store ISO file structure [] /
(If blank, the file system
will be created for you.)
If file systems are being created:
Volume Group for created file systems [workvg] +
実行されるコマンドを確認してみるとこんな感じでした。
では実行します。
Back Up This System to ISO Image
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Location of the final bootable ISO image [/ISO_image/AIX73TL2SP> /
(If the directory does not exist,
the file system will be created for you.)
* Location of existing mksysb image [/bkup/AIX73TL2SP2_mks> /
┌──────────────────────────────────────────────────────────────────────────┐/
│ SHOW COMMAND STRING │
│ │
│ Press Enter or Cancel to return to the │
│ application. │
│ │
│ /usr/sbin/mksysb_iso -O '/ISO_image/AIX73TL2SP2_mksysb.iso' -m '/bkup/ │
[M│ AIX73TL2SP2_mksysb' -V 'workvg' │
│ │
F1│ F1=Help F2=Refresh F3=Cancel │
Es│ F8=Image F10=Exit Enter=Do │
F9└──────────────────────────────────────────────────────────────────────────┘
うぅ…エラーになりました。
ファイルシステムがバンクしてるっぽい。
COMMAND STATUS
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Initializing mksysb_iso log: /var/adm/ras/mksysb_iso.log...
Verifying command parameters...
Creating temporary file system: /mksysb_iso/iso_fs...
Populating the CD or DVD file system...
Building chrp boot image...
Copying backup to the CD or DVD file system...
dd: write error: No space left on device
0512-300 mksysb_iso: Error in routine: copy_backup.
Cleaning up...
Removing temporary file system: /mksysb_iso/iso_fs...
F1=Help F2=Refresh F3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
errptを確認すると、やはり/mksysb_iso/iso_fsでファイルシステムがパンクしてた
#errpt|more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
F7FA22C9 0225142125 I O SYSJ2 UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
(省略)
#errpt -a| more
(省略)
FILE SYSTEM DEVICE AND MOUNT POINT
/dev/fslv02, /mksysb_iso/iso_fs
勝手にファイルシステム作成してくれるのは良いけれど、それならもう少しサイズに余裕を持たせて欲しかった。。。惜しい。。。
気を取り直して、
あらかじめ大きめに/mksysb_iso/iso_fsを作成しておくことにします。
↑で自動的に作成されたファイルシステムが1.8GB程度だったので、とりあえず2GBにしてみることにしました。
# lsvg -l workvg
workvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv02 jfs2 128 128 1 open/syncd /mksysb_iso/iso_fs
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 73.98 43% 2891 14% /
/dev/hd2 2432.00 215.61 92% 45621 46% /usr
/dev/hd9var 192.00 156.26 19% 640 2% /var
/dev/hd3 128.00 125.73 2% 51 1% /tmp
/dev/hd1 64.00 63.63 1% 7 1% /home
/dev/hd11admin 128.00 127.63 1% 7 1% /admin
/proc - - - - - /proc
/dev/hd10opt 64.00 46.29 28% 163 2% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20480.00 18741.82 9% 5 1% /bkup
/ahafs - - - 36 1% /aha
/dev/fslv01 9824.00 9783.18 1% 4 1% /ISO_image
/dev/fslv02 2048.00 2036.89 1% 4 1% /mksysb_iso/iso_fs
#
以下のSMITで再度実行
Back Up This System to ISO Image
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
* Location of the final bootable ISO image [/ISO_image/AIX73TL2SP> /
(If the directory does not exist,
the file system will be created for you.)
* Location of existing mksysb image [/bkup/AIX73TL2SP2_mks> /
┌──────────────────────────────────────────────────────────────────────────┐/
│ SHOW COMMAND STRING │
│ │
│ Press Enter or Cancel to return to the │
│ application. │
│ │
│ /usr/sbin/mksysb_iso -O '/ISO_image/AIX73TL2SP2_mksysb.iso' -m '/bkup/ │
[M│ AIX73TL2SP2_mksysb' -V 'workvg' │
│ │
F1│ F1=Help F2=Refresh F3=Cancel │
Es│ F8=Image F10=Exit Enter=Do │
F9└──────────────────────────────────────────────────────────────────────────┘
実行中に覗いてみるとこんな感じでした。なるほど、こんなことしてるのね…
# lsvg -l workvg
workvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv02 jfs2 128 128 1 open/syncd /mksysb_iso/iso_fs
#
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 73.98 43% 2891 14% /
/dev/hd2 2432.00 215.61 92% 45621 46% /usr
/dev/hd9var 192.00 156.26 19% 640 2% /var
/dev/hd3 128.00 54.71 58% 68 1% /tmp
/dev/hd1 64.00 63.63 1% 7 1% /home
/dev/hd11admin 128.00 127.63 1% 7 1% /admin
/proc - - - - - /proc
/dev/hd10opt 64.00 46.29 28% 163 2% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20480.00 18741.82 9% 5 1% /bkup
/ahafs - - - 36 1% /aha
/dev/fslv01 9824.00 9783.18 1% 4 1% /ISO_image
/dev/fslv02 2048.00 1666.04 19% 4689 2% /mksysb_iso/iso_fs
/mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr 2048.00 1666.04 19% 4689 2% /mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr/lpp/bos/inst_root/usr
/tmp 128.00 54.71 58% 68 1% /mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr/lpp/bos/inst_root/tmp
/dev 128.00 73.98 43% 2891 14% /mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr/lpp/bos/inst_root/dev
/usr/ccs/lib 2432.00 215.61 92% 45621 46% /mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr/lpp/bos/inst_root/usr/lib/._spot_libs_@_71438/usr/ccs/lib
/usr/lib 2432.00 215.61 92% 45621 46% /mksysb_iso/iso_fs/7274938/data_11534818/SPOT/usr/lpp/bos/inst_root/usr/lib/._spot_libs_@_71438/usr/lib
今度は成功しました。
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]
Initializing mksysb_iso log: /var/adm/ras/mksysb_iso.log...
Verifying command parameters...
Populating the CD or DVD file system...
Building chrp boot image...
Copying backup to the CD or DVD file system...
423612+0 records in
423612+0 records out
Creating Rock Ridge format image: /ISO_image/AIX73TL2SP2_mksysb.iso
Warning: creating filesystem that does not conform to ISO-9660.
0.54% done, estimate finish Tue Feb 25 14:46:22 2025
1.09% done, estimate finish Tue Feb 25 14:46:22 2025
(省略)
98.16% done, estimate finish Tue Feb 25 14:46:25 2025
98.70% done, estimate finish Tue Feb 25 14:46:25 2025
99.25% done, estimate finish Tue Feb 25 14:46:26 2025
99.79% done, estimate finish Tue Feb 25 14:46:26 2025
Total translation table size: 0
Total rockridge attributes bytes: 54012
Total directory bytes: 167936
Path table size(bytes): 856
Max brk space used a0140
921960 extents written (1800 MB)
Making the CD or DVD image bootable...
The bootable ISO image is created successfully: /ISO_image/AIX73TL2SP2_mksysb.iso
[BOTTOM]
F1=Help F2=Refresh F3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
AIX73TL2SP2_mksysb.isoが作成されました。
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 73.96 43% 2891 14% /
/dev/hd2 2432.00 215.61 92% 45621 46% /usr
/dev/hd9var 192.00 156.25 19% 640 2% /var
/dev/hd3 128.00 125.60 2% 51 1% /tmp
/dev/hd1 64.00 63.63 1% 7 1% /home
/dev/hd11admin 128.00 127.63 1% 7 1% /admin
/proc - - - - - /proc
/dev/hd10opt 64.00 46.29 28% 163 2% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20480.00 18741.82 9% 5 1% /bkup
/ahafs - - - 36 1% /aha
/dev/fslv01 9824.00 7982.36 19% 5 1% /ISO_image
/dev/fslv02 2048.00 2035.34 1% 4 1% /mksysb_iso/iso_fs
# ls -l /ISO_image
total 3688096
-rw-r--r-- 1 root system 1888305152 Feb 25 14:46 AIX73TL2SP2_mksysb.iso
drwxr-xr-x 2 root system 256 Feb 25 13:25 lost+found
#
ISOイメージをUSB Flashメモリに書き込む
ddコマンドでUSB Flashメモリにisoファイルを書き込む。
約1.9GBのisoファイルをどのくらいで書き込めるのかな、と思ってましたが、あっという間(1.5分)でした。
速くて、ほんとに書き込めているのか不安になります。
# time dd if=./AIX73TL2SP2_mksysb.iso of=/dev/usbms0 bs=4k
461012+0 records in
461012+0 records out
real 1m34.86s
user 0m0.34s
sys 0m1.16s
#
USB Flash メモリからリストアしてみます。
SMSで起動
以下の画面で5を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Main Menu
1. Select Language
2. Setup Remote IPL (Initial Program Load)
3. I/O Device Information
4. Select Console
5. Select Boot Options
-------------------------------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5
以下の画面で1を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Multiboot
1. Select Install/Boot Device
2. Configure Boot Device Order
3. Multiboot Startup <OFF>
4. SAN Zoning Support
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
以下の画面で3を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Select Device Type
1. Tape
2. CD/DVD
3. Hard Drive
4. Network
5. List all Devices
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:3
以下の画面で5を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Select Media Type
1. SCSI
2. SAN
3. SAS
4. SATA
5. USB
6. NVMe
7. List All Devices
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:5
以下の画面で1を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Select Device
Device Current Device
Number Position Name
1. - USB Disk
( loc=U78D2.001.WZS012T-P1-T3-L1-L0-L0 )
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
以下の画面で2を選択
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Select Task
USB Disk
( loc=U78D2.001.WZS012T-P1-T3-L1-L0-L0 )
1. Information
2. Normal Mode Boot
3. Service Mode Boot
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:2
以下の画面で1を選択
PowerPC Firmware
Version FW950.80 (VL950_131)
SMS (c) Copyright IBM Corp. 2000,2023 All rights reserved.
-------------------------------------------------------------------------------
Are you sure you want to exit System Management Services?
1. Yes
2. No
-------------------------------------------------------------------------------
Navigation Keys:
X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
bootしてきてますね。
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
/
Elapsed time since release of system processors: 142481 mins 23 secs
-------------------------------------------------------------------------------
Welcome to AIX.
boot image timestamp: 05:46:06 02/25/2025
The current time and date: 06:10:13 02/25/2025
processor count: 1; memory size: 8192MB; kernel size: 58075317
boot device: /pci@800000020000017/usb@0/hub@1/usb-scsi@5/disk@0,0:\ppc\chrp\bootfile.exe
-------------------------------------------------------------------------------
以下の画面で1を選択
boot device: /pci@800000020000017/usb@0/hub@1/usb-scsi@5/disk@0,0:\ppc\chrp\bootfile.exe
-------------------------------------------------------------------------------
******* Please define the System Console. *******
Type a 1 and press Enter to use this terminal as the
system console.
Pour definir ce terminal comme console systeme, appuyez
sur 1 puis sur Entree.
Taste 1 und anschliessend die Eingabetaste druecken, um
diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 1 ed Invio per usare questo terminal
come console.
Escriba 1 y pulse Intro para utilizar esta terminal como
consola del sistema.
Escriviu 1 1 i premeu Intro per utilitzar aquest
terminal com a consola del sistema.
Digite um 1 e pressione Enter para utilizar este terminal
como console do sistema.
以下の画面で1を選択
>>> 1 Type 1 and press Enter to have English during install.
88 Help ?
>>> Choice [1]:
以下の画面で2を選択し、一応環境設定を確認
Welcome to Base Operating System
Installation and Maintenance
Type the number of your choice and press Enter. Choice is indicated by >>>.
>>> 1 Start Install Now with Default Settings
2 Change/Show Installation Settings and Install
3 Start Maintenance Mode for System Recovery
4 Make Additional Disks Available
5 Select Storage Adapters
88 Help ?
99 Previous Menu
>>> Choice [1]: 2
今回はこの環境で良いので、このままリストア開始
System Backup Installation and Settings
Either type 0 and press Enter to install with the current settings, or type the
number of the setting you want to change and press Enter.
Setting: Current Choice(s):
1 Disk(s) where you want to install ...... hdisk0
Use Maps............................. No
2 Shrink File Systems..................... No
3 Import User Volume Groups............... Yes
4 Recover Devices......................... Yes
>>> 0 Install with the settings listed above.
+-----------------------------------------------------
88 Help ? | WARNING: Base Operating System Installation will
99 Previous Menu | destroy or impair recovery of ALL data on the
| destination disk hdisk0.
>>> Choice [0]:
リストアが開始される。
Installing Base Operating System
Please wait...
Approximate Elapsed time
% tasks complete (in minutes)
0 0
リストアが完了して起動してきました。
AIX Version 7
Copyright IBM Corporation, 1982, 2023.
Console login:
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Tue Feb 25 12:31:28 2025 on /dev/vty0
Last login: Tue Feb 25 13:10:24 2025 on /dev/vty0
# oslevel -s
7300-02-02-2420
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 74.05 43% 2887 14% /
/dev/hd2 2432.00 215.61 92% 45621 46% /usr
/dev/hd9var 192.00 156.27 19% 637 2% /var
/dev/hd3 128.00 126.12 2% 54 1% /tmp
/dev/hd1 64.00 63.63 1% 7 1% /home
/dev/hd11admin 128.00 127.63 1% 7 1% /admin
/proc - - - - - /proc
/dev/hd10opt 64.00 46.29 28% 163 2% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/dev/fslv00 20480.00 18741.82 9% 5 1% /bkup
/ahafs - - - 36 1% /aha
#
あとがき
やはりUSB Flashメモリを使用すると、速いですね〜と実感。
ただ、一旦ディスク上にISOイメージを作成するので、大きなmksysbファイルだったり、ディスクに空き容量が少ない場合はDVDメディアにISOを作るのもアリかなと思いました。
必要なディスク領域としてはこんな感じかな(↓)、と思いました。
- mksysbファイルを置く場所としてmksysbファイルサイズの領域
- ISO作成のワークエリアとして使用される/mksysb_iso/iso_fs にも、mksysbファイルサイズ+αの領域
- 出来上がりの.isoを置く場所も、mksysbファイルサイズ+αの領域
一旦ディスクに取得したmksysbファイから、bootableなメディアとしてUSB Flash メモリを使用することができました。
bootableなDVDメディアを作成する場合は、こちらをご参照ください。
https://qiita.com/yucarico/items/8f8be6f8a20328e015a9