Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

AIX series-ISO mount

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

AIX5 version

Method one

1. Create a logical volume with the same or larger size as ISO p_w_picpath.

2. Add and edit the logical volume entry in the / etc/filesystems file, and set vfs to cdrfs

For example:

# vi/etc/filesystems

/ isocd:

Dev = / dev/isocd

Vfs = cdrfs

Mount = false

Options = ro

Account = false

3. Create a load point / iso for the LV

4. Copy the iso p_w_picpaths to the LV with the dd command

# dd if=/cdrom/domino.iso of=/dev/isocd

5. Like mount CD-ROM, mount should

# mount-rv cdrfs/dev/isocd / iso

Method two

1. Create a LV, (cdlv) in any VG with a size equal to or greater than the size of the ISO.

2. Edit / etc/filesystems to create a file system

# vi/etc/filesystems

Add at the end

/ cdlv:

Dev = / dev/cdlv

Vfs = cdrfs

Mount = false

Options = ro

Account = false

Or use smit crfs to create

3. Create a directory as the mount point / cdrom

4. Copy the ISO file to cdlv

# ddif=/tmp/HACMP5.4.1.iso of=/dev/cdlvbs=2048k

5. Mount the ISO

# mount-rv cdrfs/dev/cdlv / cdrom

Then cd / cdrom can see the files in ISO

AIX6 TL4

The ISO file is mounted under AIX. In previous versions, we used to create LV and then dd... Or through iSCSI or the like.

Starting with AIX6.1 TL 4, the AIX system provides a loopmount command that can directly mountISO files.

Example:

# lslpp-l | grepdevices.loopback.rte

Devices.loopback.rte 6.1.5.0 COMMITTED Loopback Device Driver

For example:

# loopmount-i / tmp/aix610704A.iso-o "- V cdrfs-o ro"-m / mnt

# loopmount-i / tmp/powerha7.1.1.iso-o "- V cdrfs-o ro"-m / mnt

Uninstall umount / iso

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report