Category Storage

Transferring Files | Windows and AIX

If you’re one of the unlucky ones and find yourself unable to run a Linux workstation at work, and you administer AIX or any UNIX/Linux boxes, I’m sure you have had issues transferring files back and forth.
You can always use ftp and the plethora of programs that handle that connection, but myself I prefer Win SCP.

Win SCP is by far the best file transfer program I have found to bounce files back and forth from my workstation to my lpars.

Simply open the program, enter in your login information, and you can browse between the local and remote folders.  Browse to the source and destination, click and drag… everything is easy peasy and super quick

If you have any input on the matter I’d be happy to hear it!

Read More

Removing Unused VSCSI from VIO Server

If you find yourself swapping out disks from your lpars and you use a VIO server to manage VSCSI resources, you will have to be very careful removing the devices as you do not want to strip the lpar of a needed disk by mistake.  Like other processes in AIX, there is no confirmation or warning if you try to remove the wrong disk by mistake.  The only way to be certain you have the right hdisk, vio resource and lun is by verifying the LUN ID.

It is easiest to simply reduce the volume group off of the disk in order to differentiate the disks easily when removing the devices

From the LPAR:

reducevg [vg name] [diskname] # remove the volume group from the disk

lspv # view the disks, double check no volume group associated with disk

rmdev -dl [disk]# remove the disk

From the VIO:

...
Read More

Allocating Disks in AIX to VIO Client LPARs

This post covers how to allocate a disk already mapped to an LPAR

Commands:

  • lspv -> list physical disks
  • lspv [device] -> list physical device
  • lspv –l [device] -> list VGs on device
  • lscfg –vl hdiskx -> get lun ID and other information
  • lsvg -> list VGs
  • lsvg –l [vg] list file systems on VG
  • lsvg [vg] -> list info about VG
  • ls –l /dev -> display LVs in /dev
  • df –g -> check space (in gb)
  • grep –p [file system] /etc/filesystems -> find file in /etc/filesystems file

Checklist:

volume groups
volume group information
number of disks?
total PVs
free space
pp size/free/used
volume groups

Steps:

**If no LV specified then proceed straight to Create File System

Smit -> System Storage -> Logical volume -> Add

  • Volume Group?
  • Name?
  • PPs?
  • Disk?
  • Logical Volume Type?

Smit ->...

Read More