List of commands used when discovering and converting Linux workloads

  • 7920963
  • 17-Aug-2007
  • 01-Aug-2017

Environment


PlateSpin Protect 10.x and above
PlateSpin Forge 3.x and above
PlateSpin Migrate 9.x and above

Situation

 This article provides a list of commands that PowerConvert will execute on a Linux servers during discovery and conversions.

Resolution

Disk/Partition/Volume related:

  • sfdisk  - Partition table manipulator for Linux
  • mount   - mount a file system
  • umount  - unmount file systems
  • mkfs.vfat -  create an MS-DOS file system under Linux
  • mkreiserfs - create a Linux Reiserfs file system
  • mke2fs - create a Linux second extended file system
  • mkswap - set up a Linux swap area
  • swapon - enable devices and files for paging and swapping
  • e2label - Change the label on an ext2 filesystem
  • dd - convert and copy a file
  • du - estimate file space usage
  • df - report filesystem disk space usage
  • pvscan - scan all disks for physical volumes
  • vgscan - scan all disks for volume groups and rebuild caches
  • lvscan - scan all disks for logical volumes
  • pvdisplay - display attributes of a physical volume
  • vgdisplay - display attributes of volume groups
  • lvdisplay - display attributes of a logical volume
  • lvcreate - create a logical volume in an existing volume group
  • pvcreate - initialize a disk or partition for use by LVM
  • vgcreate - create a volume group

Network related:

  • route - show / manipulate the IP routing table
  • hostname - show or set the systems' host name
  • ifconfig - configure a network interface
  • /etc/init.d/network - service scrip to start/stop network

Device/Driver related:

  • lspci - list all PCI devices
  • insmod - insert a module into the Linux Kernel
  • rmmod - remove a module from the Linux Kernel
  • modprobe - add and remove modules from the Linux Kernel
  • lsmod - show the status of modules in the Linux Kernel
  • depmod - generate modules.dep and map files
  • kudzu - detects and configures new and/or changed hardware on a system

Bootloader related:

  • grub - the grub shell, to install and configure grub

Others:

  • perl - Practical Extraction and Report Language
  • awk - pattern scanning and processing language
  • sed - a stream editor
  • grep - print lines matching a pattern
  • find - search for files in a directory hierarchy
  • mkinitrd - creates initial ramdisk images for preloading modules
  • chkconfig - updates and queries runlevel information for system services
  • rpm - RPM Package Manager
  • tar - The GNU version of the tar archiving utility
  • cat - concatenate files and print on the standard output
  • rm - remove files or directories
  • cd - change directory
  • chroot - run command or interactive shell with special root directory
  • echo - display a line of text

Change Log

removed esx commands as they are no longer relevant.