r/aix • u/jtambor • Apr 01 '25
VIOS boot from SAN
Folks,
I'm new to the IBM world. Purchased a S822 to learn. Been trying to get the VIOS install to boot from SAN without luck.
I have an ESOS storage system and the power8 is FC direct attached. I can run through the install successfully. The installer sees the LUN and does not error. I can see the ports logged in on the ESOS too.
When the installer performs the reboot, I get "no OS image detected". None of the ports will link. SMS bus scan shows nothing. If I restart the installer, then they link up again.
Is this even doable or am I wasting my time?
**edit**
Thank you all for taking the time to respond.
Since SMS does not show a link with my storage, everything else is bound to fail.
I'm leaning toward a different storage server.
Some notes/updates/results(no particular order):
- In SMS, there is no linking or logging into the ESOS server. During install of vios/aix/suse, there is link and LUNs are visible.
- After installing VIOS to local HDD, I can use LUNs from ESOS for storage pools/vdisks in IVM. No issues.
- Installing AIX.iso from usb - does not link or see LUNs. If I try to go to option 5 on the install config page "Select Storage Adapters", it hangs.
- Install opensuse.iso from usb - Installer logs in, sees LUNs and completes. Upon reboot, "no os image was detected" because SMS cant see the LUNs. Going into option 2: configure boot device order, fails as expected, FC adapters are visible.
- I'm using VIOSv2 so that IVM is available.
- I will change from ESOS to a Freebsd target if needed. I like ESOS but I know for sure that others are using Freebsd with VIOS/AIX.
- My goal is to use a storage server. Its the best for my lab and I can avoid buying IBM drives.
8.. If all else fails, I will go to HMC/VIOSv3.
My storage is direct attached. Trying to avoid pulling out my FC switch from storage but I will if it is required.. It is rather power hungry.
During install, I can see the LUN status as bootable/rootvg
2
u/AlkaniServal Apr 02 '25
Many of my customers boot IOServers from SAN. It's a common thing to do. All of them use a supported disk array(IBM, Pure, EMC, &c). The majority of them are SAN-attached. Only our smallest customers are direct-attached FC and that is usually to a FlashSystem.
The disk array you're installing to may not support direct FC attachment on AIX. Would recommend trying a SAN switch and either doing the appropriate SIST zoning or Peer Zoning.
Alternately, if direct-attach is supported, pathing could be the issue. You can try connecting a single cable between the disk array and your POWER8 and see if it boots. Without supported multipathing drivers, it could just be getting upset and throwing up its proverbial hands because the path it wants to talk to isn't what it's trying to boot from.
Alternately, you can try installing Linux and seeing if you have any direct attach issues there. This would only be to establish whether it's an IOServer issue or not (spoilers: it most probably is).
Unless the disk array is supported, would recommend using/booting from DASD as opposed to SAN in your case. If you want a pair of IOServers, make sure you have the split backplane feature and enough disk drive features. Otherwise, you're stuck with just one IOServer.
If you decide to go DASD, if you get enough disks you can set up LVM-backed vSCSI which eliminates the need for an external disk array. It means learning a bit less about fibre channel, but there's not a ton to learn about NPIV and it's pretty basic. (lsnports, vfcmap, and lsmap -npiv; some fcs tuning; lshwres, chnports and lsnports on the HMC).
Let us know what you find out.
1
u/jtambor Apr 08 '25
ok. I tried freebsd as the target. No go. So I pulled out the MDS fc switch and it worked! That was it. Needed a switch...
Now I'm trying to configure mpio but no luck so far.
1
u/[deleted] Apr 02 '25
In my experience most VIOS boot off internal drives but I do have one customer that boots off of SAN storage. It should be doable.
Check to make sure the fibre cards are assigned to the profile you are starting the VIOS with.
You could also use the SMS menus to see if the drives are visible that way. Go to Select Boot Options and then Select Install or Boot Device. Select Hard disk -> SAN and see if there are any adapters listed. If there are then select List all devices.
If you don't see any fibre cards then maybe the LPAR profile doesn't have them. If you see the disks then you should be able to boot from it. In this case you may need to fix the boot list.
1
u/demosthenex Apr 02 '25
SMS won't show disks that aren't bootable, so it never gives a complete LUN list. You may need to ensure that the installation completed successfully, or boot from an AIX ISO and mount rootvg to write the boot sector again.
1
u/nickjjj Apr 02 '25
AIX is fussy about its SAN storage, and ESOS is definitely not on IBM’s radar for compatibility testing, so you might be out of luck.
But your S822 does have a bunch of drive bays, so running entirely on internal storage is also an option. (and honestly, a much simpler option if you are new to AIx)