Skip to content

Instantly share code, notes, and snippets.

@WautersPh
Created April 18, 2013 08:54
Show Gist options
  • Save WautersPh/9d5812c7091cec1b2f79 to your computer and use it in GitHub Desktop.
Save WautersPh/9d5812c7091cec1b2f79 to your computer and use it in GitHub Desktop.
[Are SAN boot disks (with "mpath") supported by "rear" ?] Log file
This file has been truncated, but you can view the full file.
2013-04-18 10:31:07.385569000 Relax-and-Recover 1.14 / Git
2013-04-18 10:31:07.387629000 Command line options: /usr/sbin/rear -d -D mkrescue
2013-04-18 10:31:07.389660000 Using log file: /var/log/rear/rear-uxit400c.log
2013-04-18 10:31:07.402496000 Combining configuration files
2013-04-18 10:31:07.411133000 Including /etc/rear/os.conf
+ . /etc/rear/os.conf
++ OS_VENDOR=RedHatEnterpriseServer
++ OS_VERSION=5
+ test 1
+ set +x
2013-04-18 10:31:07.417263000 Skipping /etc/rear/mkrescue.conf (file not found or empty)
2013-04-18 10:31:07.424784000 Including conf/Linux-i386.conf
+ . /usr/share/rear/conf/Linux-i386.conf
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" parted sfdisk)
++ PROGS=("${PROGS[@]}" grub partprobe lilo fdisk cfdisk)
+ test 1
+ set +x
2013-04-18 10:31:07.439363000 Including conf/GNU/Linux.conf
+ . /usr/share/rear/conf/GNU/Linux.conf
++ PROGS=(${PROGS[@]} rpc.statd rpcbind bash mknod blkid vol_id udev_volume_id portmap readlink rpcinfo grep cat tac tr reboot halt shutdown killall5 killall chroot tee awk ip ifconfig route ifenslave ifrename nameif klogd syslog-ng syslogd rsyslogd echo cp date wc cut rm rmdir test init telinit ethtool expand sed mount umount insmod modprobe lsmod true false mingetty rmmod hostname uname sleep logger ps ln dirname basename mkdir tty ping netstat free traceroute less vi pico nano rmmod df ls dmesg du tar gzip netcat top iptraf joe pico getent id ldd strace rsync tail head find md5sum mkfs mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev mkfs.jfs mkfs.xfs mkfs.reiserfs mkfs.vfat mkfs.btrfs mkreiserfs fsck fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev fsck.xfs fsck.reiserfs reiserfsck fsck.btrfs btrfsck tune2fs tune4fs xfs_admin xfs_db btrfs jfs_tune reiserfstune expr egrep grep fgrep df chmod chown stat mkswap swapon swapoff mknod touch scsi_id lsscsi logd initctl lspci usleep mktemp /bin/true strace which mkfifo seq openvt poweroff chacl getfacl setfacl attr getfattr setfattr mpath_wait strings xargs)
++ LIBS=(${LIBS[@]} /lib*/libnss_dns* /lib*/libnss_files* /lib/*/libnss_dns* /lib/*/libnss_files* /lib*/libgcc_s* /lib*/libresolv* /usr/lib*/rsyslog/*so /lib*/rsyslog/*so)
++ MODULES=(${MODULES[@]} vfat nls_iso8859_1 nls_utf8 nls_cp437 af_packet unix nfs lockd sunrpc cifs usbcore usb_storage usbhid sr_mod ide_cd cdrom uhci_hcd ehci_hcd ohci_hcd zlib zlib-inflate zlib-deflate libcrc32c crc32c crc32c-intel)
++ COPY_AS_IS=(${COPY_AS_IS[@]} /dev /etc/inputr[c] /etc/protocols /etc/services /etc/rpc /etc/termcap /*/terminfo /usr/share/terminfo /etc/netconfig /etc/mke2fs.conf /etc/*-release /lib*/firmware /etc/localtime /usr/lib*/syslog-ng /etc/magic /usr/share/misc/magic)
++ COPY_AS_IS_EXCLUDE=(${COPY_AS_IS_EXCLUDE[@]} dev/shm/\*)
++ KERNEL_CMDLINE=' selinux=0'
++ CLONE_USERS=("${CLONE_USERS[@]}" daemon rpc usbmuxd usbmux vcsa nobody)
++ CLONE_GROUPS=("${CLONE_GROUPS[@]}" tty usbmuxd usbmux fuse)
+ test 1
+ set +x
2013-04-18 10:31:07.493458000 Skipping /usr/share/rear/conf/Fedora.conf (file not found or empty)
2013-04-18 10:31:07.495597000 Skipping /usr/share/rear/conf/Fedora/i386.conf (file not found or empty)
2013-04-18 10:31:07.497683000 Skipping /usr/share/rear/conf/Fedora/5.conf (file not found or empty)
2013-04-18 10:31:07.499795000 Skipping /usr/share/rear/conf/Fedora/5/i386.conf (file not found or empty)
2013-04-18 10:31:07.501900000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer.conf (file not found or empty)
2013-04-18 10:31:07.504179000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/i386.conf (file not found or empty)
2013-04-18 10:31:07.506227000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/5.conf (file not found or empty)
2013-04-18 10:31:07.508442000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/5/i386.conf (file not found or empty)
2013-04-18 10:31:07.510687000 Skipping /etc/rear/site.conf (file not found or empty)
2013-04-18 10:31:07.512809000 Including /etc/rear/local.conf
+ . /etc/rear/local.conf
++ OUTPUT=ISO
++ BACKUP=NETFS
++ BACKUP_URL=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
++ AUTOEXCLUDE_MULTIPATH=
+ test 1
+ set +x
2013-04-18 10:31:07.525507000 Skipping /etc/rear/rescue.conf (file not found or empty)
2013-04-18 10:31:07.547084000 Using build area '/tmp/rear.VNUmoOTxAW24793'
mkdir: created directory `/tmp/rear.VNUmoOTxAW24793/rootfs'
mkdir: created directory `/tmp/rear.VNUmoOTxAW24793/tmp'
2013-04-18 10:31:07.553488000 Running mkrescue workflow
2013-04-18 10:31:07.555506000 Running 'prep' stage
2013-04-18 10:31:07.584194000 Including prep/default/00_remove_workflow_conf.sh
+ . /usr/share/rear/prep/default/00_remove_workflow_conf.sh
++ mkdir -p -v /tmp/rear.VNUmoOTxAW24793/rootfs/etc/rear
mkdir: created directory `/tmp/rear.VNUmoOTxAW24793/rootfs/etc'
mkdir: created directory `/tmp/rear.VNUmoOTxAW24793/rootfs/etc/rear'
++ rm -f -v /tmp/rear.VNUmoOTxAW24793/rootfs/etc/rear/rescue.conf
+ test 1
+ set +x
2013-04-18 10:31:07.590084000 Including prep/default/02_translate_url.sh
+ . /usr/share/rear/prep/default/02_translate_url.sh
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -z '' ]]
++ [[ -z '' ]]
++ [[ -z '' ]]
++ OUTPUT_OPTIONS=
++ [[ -z '' ]]
++ [[ -z '' ]]
++ OUTPUT_URL=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
++ [[ -z '' ]]
++ [[ -z nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
++ [[ -z '' ]]
++ [[ -z nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
+ test 1
+ set +x
2013-04-18 10:31:07.593058000 Including prep/default/03_translate_tape.sh
+ . /usr/share/rear/prep/default/03_translate_tape.sh
++ [[ -n nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ backup_scheme=nfs
++ [[ nfs == @(tape|obdr) ]]
++ [[ -z nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
++ [[ -z nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
++ [[ -n '' ]]
+ test 1
+ set +x
2013-04-18 10:31:07.597834000 Including prep/NETFS/default/05_check_NETFS_requirements.sh
+ . /usr/share/rear/prep/NETFS/default/05_check_NETFS_requirements.sh
++ [[ -n nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
++ StopIfError 'You must specify either BACKUP_URL or BACKUP_MOUNTCMD and BACKUP_UMOUNTCMD !'
++ (( 0 != 0 ))
++ [[ -n nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
+++ url_host nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local host=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo ks1.mux.isinfra.net
++ local host=ks1.mux.isinfra.net
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ local scheme=nfs
+++ url_path nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local path=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo /nfsexports/rear/uxit400c
++ local path=/nfsexports/rear/uxit400c
++ [[ -n '' ]]
++ Log 'Skipping ping test'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:07.604344000 Skipping ping test'
2013-04-18 10:31:07.604344000 Skipping ping test
++ case $scheme in
++ case "$(basename $BACKUP_PROG)" in
+++ basename tar
++ :
++ PROGS=("${PROGS[@]}" ping showmount portmap rpcbind rpcinfo mount mount.$(url_scheme $BACKUP_URL) umount.$(url_scheme $BACKUP_URL) $(
test "$BACKUP_MOUNTCMD" && echo "${BACKUP_MOUNTCMD%% *}"
test "$BACKUP_UMOUNTCMD" && echo "${BACKUP_UMOUNTCMD%% *}"
) $BACKUP_PROG gzip bzip2 xz)
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
+++ test ''
+++ test ''
++ MODULES=("${MODULES[@]}" $(url_scheme $BACKUP_URL))
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
+ test 1
+ set +x
2013-04-18 10:31:07.617042000 Including prep/NETFS/default/07_set_backup_archive.sh
+ . /usr/share/rear/prep/NETFS/default/07_set_backup_archive.sh
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ local scheme=nfs
++ case "$TAPE_DEVICE:$scheme" in
++ backuparchive=/tmp/rear.VNUmoOTxAW24793/outputfs/uxit400c/backup.tar.gz
+ test 1
+ set +x
2013-04-18 10:31:07.622026000 Including prep/NETFS/default/15_save_rsync_version.sh
+ . /usr/share/rear/prep/NETFS/default/15_save_rsync_version.sh
++ case $(basename $BACKUP_PROG) in
+++ basename tar
++ :
+ test 1
+ set +x
2013-04-18 10:31:07.626140000 Including prep/GNU/Linux/20_include_agetty.sh
+ . /usr/share/rear/prep/GNU/Linux/20_include_agetty.sh
++ [[ -z '' ]]
+++ sort
+++ ls /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3
++ for devnode in '$(ls /dev/ttyS[0-9]* | sort)'
++ stty -F /dev/ttyS0
++ USE_SERIAL_CONSOLE=y
++ for devnode in '$(ls /dev/ttyS[0-9]* | sort)'
++ stty -F /dev/ttyS1
++ USE_SERIAL_CONSOLE=y
++ for devnode in '$(ls /dev/ttyS[0-9]* | sort)'
++ stty -F /dev/ttyS2
++ for devnode in '$(ls /dev/ttyS[0-9]* | sort)'
++ stty -F /dev/ttyS3
++ has_binary getty
++ for bin in '$@'
++ type getty
++ return 1
++ has_binary agetty
++ for bin in '$@'
++ type agetty
++ return 0
++ GETTY=agetty
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" "${GETTY}" stty)
+ test 1
+ set +x
2013-04-18 10:31:07.646879000 Including prep/NETFS/GNU/Linux/20_selinux_in_use.sh
+ . /usr/share/rear/prep/NETFS/GNU/Linux/20_selinux_in_use.sh
++ [[ -f /selinux/enforce ]]
++ '[' -f /selinux/enforce ']'
++ SELINUX_ENFORCE=/selinux/enforce
++ '[' -n 1 ']'
++ cat /selinux/enforce
++ RSYNC_SELINUX=
++ return
+ test 1
+ set +x
2013-04-18 10:31:07.651114000 Including prep/GNU/Linux/21_include_dhclient.sh
+ . /usr/share/rear/prep/GNU/Linux/21_include_dhclient.sh
++ DHCLIENT_BIN=
++ DHCLIENT6_BIN=
++ define_dhclients_variable
++ local x
++ dhclients=()
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' x == x ']'
++ continue
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' x == x ']'
++ continue
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' xdhcpcd == x ']'
++ dhclients=(${dhclients[@]} "$x")
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' xdhclient == x ']'
++ for d in '${dhclients[@]}'
++ '[' xdhcpcd = xdhclient ']'
++ dhclients=(${dhclients[@]} "$x")
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' xdhcp6c == x ']'
++ for d in '${dhclients[@]}'
++ '[' xdhcpcd = xdhcp6c ']'
++ for d in '${dhclients[@]}'
++ '[' xdhclient = xdhcp6c ']'
++ dhclients=(${dhclients[@]} "$x")
++ for x in '"${DHCLIENT_BIN##*/}"' '"${DHCLIENT6_BIN##*/}"' dhcpcd dhclient dhcp6c dhclient6
++ '[' xdhclient6 == x ']'
++ for d in '${dhclients[@]}'
++ '[' xdhcpcd = xdhclient6 ']'
++ for d in '${dhclients[@]}'
++ '[' xdhclient = xdhclient6 ']'
++ for d in '${dhclients[@]}'
++ '[' xdhcp6c = xdhclient6 ']'
++ dhclients=(${dhclients[@]} "$x")
++ dhclients='dhcpcd dhclient dhcp6c dhclient6'
++ dhcp_interfaces_active
++ local my_dhclients
++ my_dhclients='dhcpcd dhclient dhcp6c dhclient6'
++ my_dhclients='dhcpcd|dhclient|dhcp6c|dhclient6'
++ ps -e
++ grep -qEs '[ /](dhcpcd|dhclient|dhcp6c|dhclient6)'
++ '[' 1 -eq 0 ']'
++ '[' '!' -z '' ']'
++ '[' '!' -z '' ']'
++ '[' -z '' ']'
++ for x in '${dhclients}'
++ has_binary dhcpcd
++ for bin in '$@'
++ type dhcpcd
++ return 1
++ for x in '${dhclients}'
++ has_binary dhclient
++ for bin in '$@'
++ type dhclient
++ return 0
+++ get_path dhclient
+++ type -p dhclient
++ define_dhclient_bins /sbin/dhclient
++ case ${1##*/} in
++ DHCLIENT_BIN=dhclient
++ for x in '${dhclients}'
++ has_binary dhcp6c
++ for bin in '$@'
++ type dhcp6c
++ return 0
+++ get_path dhcp6c
+++ type -p dhcp6c
++ define_dhclient_bins /sbin/dhcp6c
++ case ${1##*/} in
++ DHCLIENT6_BIN=dhcp6c
++ for x in '${dhclients}'
++ has_binary dhclient6
++ for bin in '$@'
++ type dhclient6
++ return 1
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" $DHCLIENT_BIN $DHCLIENT6_BIN)
++ COPY_AS_IS=("${COPY_AS_IS[@]}" "/etc/localtime")
++ PROGS=("${PROGS[@]}" arping ipcalc usleep "${dhclients[@]}")
++ grep -q '^USE_DHCLIENT=' /etc/rear/local.conf
++ '[' 1 -eq 1 ']'
++ cat -
++ grep -q '^DHCLIENT_BIN=' /etc/rear/local.conf
++ '[' 1 -eq 1 ']'
++ cat -
++ grep -q '^DHCLIENT6_BIN=' /etc/rear/local.conf
++ '[' 1 -eq 1 ']'
++ cat -
+ test 1
+ set +x
2013-04-18 10:31:07.690322000 Including prep/GNU/Linux/22_include_lvm_tools.sh
+ . /usr/share/rear/prep/GNU/Linux/22_include_lvm_tools.sh
+++ get_path lvm
+++ type -p lvm
++ test -c /dev/mapper/control -a -x /sbin/lvm
++ Log 'Device mapper found enabled. Including LVM tools.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:07.693863000 Device mapper found enabled. Including LVM tools.'
2013-04-18 10:31:07.693863000 Device mapper found enabled. Including LVM tools.
++ PROGS=("${PROGS[@]}" lvm dmsetup dmeventd fsadm)
++ COPY_AS_IS=("${COPY_AS_IS[@]}" /etc/lvm)
+ test 1
+ set +x
2013-04-18 10:31:07.697015000 Including prep/GNU/Linux/23_include_md_tools.sh
+ . /usr/share/rear/prep/GNU/Linux/23_include_md_tools.sh
++ grep -q blocks /proc/mdstat
++ return
+ test 1
+ set +x
2013-04-18 10:31:07.701005000 Including prep/GNU/Linux/28_include_systemd.sh
+ . /usr/share/rear/prep/GNU/Linux/28_include_systemd.sh
++ ps ax
++ grep -v grep
++ grep -q systemd
+ test 1
+ set +x
2013-04-18 10:31:07.727010000 Including prep/GNU/Linux/28_include_vmware_tools.sh
+ . /usr/share/rear/prep/GNU/Linux/28_include_vmware_tools.sh
++ lsmod
++ grep -q -E '^vmxnet\b'
+ test 1
+ set +x
2013-04-18 10:31:07.731781000 Including prep/GNU/Linux/29_include_drbd.sh
+ . /usr/share/rear/prep/GNU/Linux/29_include_drbd.sh
++ lsmod
++ grep -q drbd
+ test 1
+ set +x
2013-04-18 10:31:07.736454000 Including prep/GNU/Linux/30_check_backup_and_output_url.sh
+ . /usr/share/rear/prep/GNU/Linux/30_check_backup_and_output_url.sh
++ [[ -n nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ local scheme=nfs
+++ url_host nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local host=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo ks1.mux.isinfra.net
++ local server=ks1.mux.isinfra.net
+++ url_path nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local path=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo /nfsexports/rear/uxit400c
++ local path=/nfsexports/rear/uxit400c
++ case "$scheme" in
++ [[ -n nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c ]]
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ local scheme=nfs
+++ url_host nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local host=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo ks1.mux.isinfra.net
++ local server=ks1.mux.isinfra.net
+++ url_path nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local path=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo /nfsexports/rear/uxit400c
++ local path=/nfsexports/rear/uxit400c
++ case "$scheme" in
+ test 1
+ set +x
2013-04-18 10:31:07.747472000 Including prep/ISO/default/30_check_iso_dir.sh
+ . /usr/share/rear/prep/ISO/default/30_check_iso_dir.sh
++ [[ ! -d /var/lib/rear/output ]]
+ test 1
+ set +x
2013-04-18 10:31:07.750329000 Including prep/GNU/Linux/30_include_grub_tools.sh
+ . /usr/share/rear/prep/GNU/Linux/30_include_grub_tools.sh
++ '[' '!' -d /recovery ']'
++ mkdir -p /var/lib/rear/recovery
++ has_binary grub-probe
++ for bin in '$@'
++ type grub-probe
++ return 1
++ has_binary grub2-probe
++ for bin in '$@'
++ type grub2-probe
++ return 1
++ PROGS=("${PROGS[@]}" grub-install grub-mkdevicemap grub-probe grub-set-default grub-mkconfig grub-reboot grub-setup grub-mkimage grub-mkrelpath grub2-install grub2-mkdevicemap grub2-probe grub2-set-default grub2-mkconfig grub2-reboot grub2-setup grub2-mkimage grub2-mkrelpath grub-bios-setup grub2-bios-setup)
++ COPY_AS_IS=("${COPY_AS_IS[@]}" /etc/default/grub /etc/grub.d/* /etc/grub*.cfg /boot/grub* /usr/lib/grub* /usr/share/grub*)
+ test 1
+ set +x
2013-04-18 10:31:07.757498000 Including prep/ISO/default/32_check_cdrom_size.sh
+ . /usr/share/rear/prep/ISO/default/32_check_cdrom_size.sh
++ read DEV total used available junk
+++ df -kP /var/lib/rear/output
++ case $DEV in
++ read DEV total used available junk
++ case $DEV in
++ let available=available/1024
++ test 4289 -gt 20
++ StopIfError 'Not enough space in /var/lib/rear/output [/dev/mapper/vg_root-lv_var]: only 4289 MB free, need 20 MB'
++ (( 0 != 0 ))
++ Log 'ISO Directory '\''/var/lib/rear/output'\'' [/dev/mapper/vg_root-lv_var] has 4289 MB free space'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:07.762277000 ISO Directory '\''/var/lib/rear/output'\'' [/dev/mapper/vg_root-lv_var] has 4289 MB free space'
2013-04-18 10:31:07.762277000 ISO Directory '/var/lib/rear/output' [/dev/mapper/vg_root-lv_var] has 4289 MB free space
++ read DEV total used available junk
+ test 1
+ set +x
2013-04-18 10:31:07.764544000 Including prep/ISO/GNU/Linux/32_verify_mkisofs.sh
+ . /usr/share/rear/prep/ISO/GNU/Linux/32_verify_mkisofs.sh
++ '[' -x /usr/bin/mkisofs ']'
++ StopIfError 'Could not find '\''mkisofs'\'' compatible program. Please install '\''mkisofs'\'' or '\''genisoimage'\'' into your path or manually set ISO_MKISOFS_BIN [/usr/bin/mkisofs]'
++ (( 0 != 0 ))
++ Log 'Using '\''/usr/bin/mkisofs'\'' to create ISO images'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:07.767252000 Using '\''/usr/bin/mkisofs'\'' to create ISO images'
2013-04-18 10:31:07.767252000 Using '/usr/bin/mkisofs' to create ISO images
+ test 1
+ set +x
2013-04-18 10:31:07.769819000 Including prep/ISO/Linux-i386/33_find_isolinux.sh
+ . /usr/share/rear/prep/ISO/Linux-i386/33_find_isolinux.sh
++ [[ ! -s '' ]]
++ for file in '/usr/{share,lib,libexec}/*/isolinux.bin'
++ [[ -s /usr/lib/syslinux/isolinux.bin ]]
++ ISO_ISOLINUX_BIN=/usr/lib/syslinux/isolinux.bin
++ break
++ [[ -s /usr/lib/syslinux/isolinux.bin ]]
++ StopIfError 'Could not find '\''isolinux.bin'\''. Maybe you have to set ISO_ISOLINUX_BIN [/usr/lib/syslinux/isolinux.bin] or install the syslinux package ?'
++ (( 0 != 0 ))
+++ dirname /usr/lib/syslinux/isolinux.bin
++ SYSLINUX_DIR=/usr/lib/syslinux
+ test 1
+ set +x
2013-04-18 10:31:08.332676000 Including prep/NETFS/default/40_automatic_exclude_recreate.sh
+ . /usr/share/rear/prep/NETFS/default/40_automatic_exclude_recreate.sh
+++ url_scheme nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local scheme=nfs
+++ echo nfs
+++ grep -q :
+++ echo nfs
++ local scheme=nfs
+++ url_path nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local url=nfs://ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ local path=ks1.mux.isinfra.net/nfsexports/rear/uxit400c
+++ echo /nfsexports/rear/uxit400c
++ local path=/nfsexports/rear/uxit400c
++ case $scheme in
+ test 1
+ set +x
2013-04-18 10:31:08.338572000 Finished running 'prep' stage in 1 seconds
2013-04-18 10:31:08.340745000 Running 'layout/save' stage
2013-04-18 10:31:08.387504000 Including layout/save/GNU/Linux/10_create_layout_file.sh
+ . /usr/share/rear/layout/save/GNU/Linux/10_create_layout_file.sh
++ LogPrint 'Creating disk layout'
++ Log 'Creating disk layout'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:08.390038000 Creating disk layout'
2013-04-18 10:31:08.390038000 Creating disk layout
++ Print 'Creating disk layout'
++ test 1
++ echo -e 'Creating disk layout'
++ Log 'Preparing layout directory.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:08.392179000 Preparing layout directory.'
2013-04-18 10:31:08.392179000 Preparing layout directory.
++ mkdir -p -v /var/lib/rear/layout
++ mkdir -p -v /var/lib/rear/recovery
++ mkdir -p -v /var/lib/rear/layout/config
++ DISKLAYOUT_FILE=/var/lib/rear/layout/disklayout.conf
++ '[' -e /var/lib/rear/layout/disklayout.conf ']'
++ Log 'Removing old layout file.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:08.404694000 Removing old layout file.'
2013-04-18 10:31:08.404694000 Removing old layout file.
++ :
++ LAYOUT_FILE=/var/lib/rear/layout/disklayout.conf
++ LAYOUT_DEPS=/var/lib/rear/layout/diskdeps.conf
++ LAYOUT_TODO=/var/lib/rear/layout/disktodo.conf
++ :
++ :
+ test 1
+ set +x
2013-04-18 10:31:08.407455000 Including layout/save/GNU/Linux/20_partition_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh
++ FEATURE_PARTED_MACHINEREADABLE=
++ FEATURE_PARTED_OLDNAMING=
+++ get_version parted -v
+++ parted -v
+++ sed -rn 's/^[^0-9\.]*([0-9]+\.[-0-9a-z\.]+).*$/\1/p'
+++ head -1
++ parted_version=1.8.1
++ [[ -n 1.8.1 ]]
++ BugIfError 'Function get_version could not detect parted version.'
++ (( 0 != 0 ))
++ version_newer 1.8.1 1.8.2
++ v1list=(${1//[-.]/ })
++ local v1list
++ v2list=(${2//[-.]/ })
++ local v2list
++ local max=3
++ (( 3 < 3 ))
++ local pos
+++ seq 0 2
++ for pos in '$(seq 0 $(( max -1 )))'
++ (( 10#01 < 10#01 ))
++ (( 10#01 > 10#01 ))
++ for pos in '$(seq 0 $(( max -1 )))'
++ (( 10#08 < 10#08 ))
++ (( 10#08 > 10#08 ))
++ for pos in '$(seq 0 $(( max -1 )))'
++ (( 10#01 < 10#02 ))
++ return 1
++ version_newer 1.8.1 1.6.23
++ v1list=(${1//[-.]/ })
++ local v1list
++ v2list=(${2//[-.]/ })
++ local v2list
++ local max=3
++ (( 3 < 3 ))
++ local pos
+++ seq 0 2
++ for pos in '$(seq 0 $(( max -1 )))'
++ (( 10#01 < 10#01 ))
++ (( 10#01 > 10#01 ))
++ for pos in '$(seq 0 $(( max -1 )))'
++ (( 10#08 < 10#06 ))
++ (( 10#08 > 10#06 ))
++ return 0
++ Log 'Saving disk partitions.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:08.497574000 Saving disk partitions.'
2013-04-18 10:31:08.497574000 Saving disk partitions.
++ for disk in '/sys/block/*'
++ [[ cciss!c0d0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name '/sys/block/cciss!c0d0'
+++ local 'name=/sys/block/cciss!c0d0'
+++ name='cciss!c0d0'
+++ [[ -n cciss!c0d0 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/cciss!c0d0 ]]
+++ [[ -r /sys/block/cciss!c0d0/dm/name ]]
+++ dev_number=104:0
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 104:0 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 104:0 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 104:0 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 104:0 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 104:0 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 104:0 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 104:0 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 104:0 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 104:0 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 104:0 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 104:0 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 104:0 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 104:0 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 104:0 = 253:9 ']'
+++ name=cciss/c0d0
+++ echo /dev/cciss/c0d0
+++ return 1
++ devname=/dev/cciss/c0d0
+++ get_disk_size 'cciss!c0d0'
+++ local 'disk_name=cciss!c0d0'
++++ get_block_size 'cciss!c0d0'
++++ '[' -r '/sys/block/cciss!c0d0/queue/logical_block_size' ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r '/sys/block/cciss!c0d0/size' ']'
+++ BugIfError 'Could not determine size of disk cciss!c0d0, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=0
+++ local disk_size=0
+++ echo 0
++ devsize=0
+++ parted -s /dev/cciss/c0d0 print
+++ cut -d : -f 2
+++ grep -E 'Partition Table|Disk label'
+++ tr -d ' '
++ disktype=
++ echo 'disk /dev/cciss/c0d0 0 '
++ extract_partitions /dev/cciss/c0d0
++ declare device=/dev/cciss/c0d0
+++ get_sysfs_name /dev/cciss/c0d0
+++ local name=cciss/c0d0
+++ name=cciss/c0d0
+++ [[ -e /sys/block/cciss!c0d0 ]]
+++ echo 'cciss!c0d0'
+++ return 0
++ declare 'sysfs_name=cciss!c0d0'
+++ get_block_size 'cciss!c0d0'
+++ '[' -r '/sys/block/cciss!c0d0/queue/logical_block_size' ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 0 -eq 0 ]]
++ [[ /dev/cciss/c0d0 != /dev/cciss/c0d0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ Debug 'No partitions found on /dev/cciss/c0d0.'
++ test 1
++ Log 'No partitions found on /dev/cciss/c0d0.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:08.562724000 No partitions found on /dev/cciss/c0d0.'
2013-04-18 10:31:08.562724000 No partitions found on /dev/cciss/c0d0.
++ return
++ for disk in '/sys/block/*'
++ [[ dm-0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-1 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-10 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-11 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-12 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-2 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-3 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-4 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-5 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-6 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-7 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-8 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ dm-9 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ md0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram1 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram10 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram11 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram12 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram13 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram14 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram15 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram2 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram3 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram4 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram5 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram6 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram7 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram8 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram9 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ sda = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sda
+++ local name=/sys/block/sda
+++ name=sda
+++ [[ -n sda ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda ]]
+++ [[ -r /sys/block/sda/dm/name ]]
+++ dev_number=8:0
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:0 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:0 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:0 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:0 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:0 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:0 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:0 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:0 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:0 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:0 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:0 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:0 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:0 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:0 = 253:9 ']'
+++ name=sda
+++ echo /dev/sda
+++ return 1
++ devname=/dev/sda
+++ get_disk_size sda
+++ local disk_name=sda
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/size ']'
+++ BugIfError 'Could not determine size of disk sda, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=104857600
+++ local disk_size=53687091200
+++ echo 53687091200
++ devsize=53687091200
+++ parted -s /dev/sda print
+++ cut -d : -f 2
+++ grep -E 'Partition Table|Disk label'
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sda 53687091200 msdos'
++ extract_partitions /dev/sda
++ declare device=/dev/sda
+++ get_sysfs_name /dev/sda
+++ local name=sda
+++ name=sda
+++ [[ -e /sys/block/sda ]]
+++ echo sda
+++ return 0
++ declare sysfs_name=sda
+++ get_block_size sda
+++ '[' -r /sys/block/sda/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 2 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda1
+++ local name=sda1
+++ name=sda1
+++ [[ -n sda1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda1 ]]
+++ name=sda1
+++ echo /dev/sda1
+++ return 1
++ partition_name=/dev/sda1
++ partition_name=sda1
++ partition_name=sda1
+++ echo sda1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sda
+++ get_disk_size sda/sda1
+++ local disk_name=sda/sda1
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda1/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=208782
+++ local disk_size=106896384
+++ echo 106896384
++ size=106896384
++ [[ -r /sys/block/sda/sda1/start ]]
++ start_block=63
++ start=32256
++ echo '1 106896384 32256'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda2
+++ local name=sda2
+++ name=sda2
+++ [[ -n sda2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda2 ]]
+++ name=sda2
+++ echo /dev/sda2
+++ return 1
++ partition_name=/dev/sda2
++ partition_name=sda2
++ partition_name=sda2
+++ echo sda2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=sda
+++ get_disk_size sda/sda2
+++ local disk_name=sda/sda2
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda2/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=30716280
+++ local disk_size=15726735360
+++ echo 15726735360
++ size=15726735360
++ [[ -r /sys/block/sda/sda2/start ]]
++ start_block=208845
++ start=106928640
++ echo '2 15726735360 106928640'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sda print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ read line
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 107MB 107MB primary ext3 boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' number
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' flags
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
+++ tr -d ,
++++ local pair
++++ set_separator ';'
+++ tr -d ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 107MB 15.8GB 15.7GB primary lvm'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' number
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' flags
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
+++ tr -d ,
++++ for pair in '$columns'
++++ local header=number
+++ tr -d ';'
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='lvm;'
+++ echo 'lvm;'
++ flaglist=lvm
++ flags=
++ for flag in '$flaglist'
++ [[ lvm = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=lvm,
++ [[ -z lvm, ]]
++ sed -i '/^2 /s/$/ lvm/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda1
+++ get_device_name /dev/sda1
+++ local name=sda1
+++ name=sda1
+++ [[ -n sda1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda1 ]]
+++ name=sda1
+++ echo /dev/sda1
+++ return 1
++ echo 'part /dev/sda 106896384 32256 primary boot /dev/sda1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda2
+++ get_device_name /dev/sda2
+++ local name=sda2
+++ name=sda2
+++ [[ -n sda2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda2 ]]
+++ name=sda2
+++ echo /dev/sda2
+++ return 1
++ echo 'part /dev/sda 15726735360 106928640 primary lvm /dev/sda2'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdb = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdb
+++ local name=/sys/block/sdb
+++ name=sdb
+++ [[ -n sdb ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdb ]]
+++ [[ -r /sys/block/sdb/dm/name ]]
+++ dev_number=8:16
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:16 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:16 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:16 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:16 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:16 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:16 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:16 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:16 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:16 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:16 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:16 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:16 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:16 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:16 = 253:9 ']'
+++ name=sdb
+++ echo /dev/sdb
+++ return 1
++ devname=/dev/sdb
+++ get_disk_size sdb
+++ local disk_name=sdb
++++ get_block_size sdb
++++ '[' -r /sys/block/sdb/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdb/size ']'
+++ BugIfError 'Could not determine size of disk sdb, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=314572800
+++ local disk_size=161061273600
+++ echo 161061273600
++ devsize=161061273600
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
+++ parted -s /dev/sdb print
++ disktype=msdos
++ echo 'disk /dev/sdb 161061273600 msdos'
++ extract_partitions /dev/sdb
++ declare device=/dev/sdb
+++ get_sysfs_name /dev/sdb
+++ local name=sdb
+++ name=sdb
+++ [[ -e /sys/block/sdb ]]
+++ echo sdb
+++ return 0
++ declare sysfs_name=sdb
+++ get_block_size sdb
+++ '[' -r /sys/block/sdb/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 1 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdb1
+++ local name=sdb1
+++ name=sdb1
+++ [[ -n sdb1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdb1 ]]
+++ name=sdb1
+++ echo /dev/sdb1
+++ return 1
++ partition_name=/dev/sdb1
++ partition_name=sdb1
++ partition_name=sdb1
+++ echo sdb1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdb
+++ get_disk_size sdb/sdb1
+++ local disk_name=sdb/sdb1
++++ get_block_size sdb
++++ '[' -r /sys/block/sdb/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdb/sdb1/size ']'
+++ BugIfError 'Could not determine size of disk sdb/sdb1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=136102617
+++ local disk_size=69684539904
+++ echo 69684539904
++ size=69684539904
++ [[ -r /sys/block/sdb/sdb1/start ]]
++ start_block=63
++ start=32256
++ echo '1 69684539904 32256'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdb print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ read line
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' number
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
++++ get_column_start number
+++ tr -d ' '
+++ tr -d ';'
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' flags
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
+++ tr -d ,
+++ tr -d ';'
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdb1
+++ get_device_name /dev/sdb1
+++ local name=sdb1
+++ name=sdb1
+++ [[ -n sdb1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdb1 ]]
+++ name=sdb1
+++ echo /dev/sdb1
+++ return 1
++ echo 'part /dev/sdb 69684539904 32256 primary boot /dev/sdb1'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdc = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdc
+++ local name=/sys/block/sdc
+++ name=sdc
+++ [[ -n sdc ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc ]]
+++ [[ -r /sys/block/sdc/dm/name ]]
+++ dev_number=8:32
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:32 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:32 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:32 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:32 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:32 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:32 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:32 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:32 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:32 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:32 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:32 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:32 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:32 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:32 = 253:9 ']'
+++ name=sdc
+++ echo /dev/sdc
+++ return 1
++ devname=/dev/sdc
+++ get_disk_size sdc
+++ local disk_name=sdc
++++ get_block_size sdc
++++ '[' -r /sys/block/sdc/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdc/size ']'
+++ BugIfError 'Could not determine size of disk sdc, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=104857600
+++ local disk_size=53687091200
+++ echo 53687091200
++ devsize=53687091200
+++ parted -s /dev/sdc print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sdc 53687091200 msdos'
++ extract_partitions /dev/sdc
++ declare device=/dev/sdc
+++ get_sysfs_name /dev/sdc
+++ local name=sdc
+++ name=sdc
+++ [[ -e /sys/block/sdc ]]
+++ echo sdc
+++ return 0
++ declare sysfs_name=sdc
+++ get_block_size sdc
+++ '[' -r /sys/block/sdc/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 2 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdc1
+++ local name=sdc1
+++ name=sdc1
+++ [[ -n sdc1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc1 ]]
+++ name=sdc1
+++ echo /dev/sdc1
+++ return 1
++ partition_name=/dev/sdc1
++ partition_name=sdc1
++ partition_name=sdc1
+++ echo sdc1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdc
+++ get_disk_size sdc/sdc1
+++ local disk_name=sdc/sdc1
++++ get_block_size sdc
++++ '[' -r /sys/block/sdc/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdc/sdc1/size ']'
+++ BugIfError 'Could not determine size of disk sdc/sdc1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=208782
+++ local disk_size=106896384
+++ echo 106896384
++ size=106896384
++ [[ -r /sys/block/sdc/sdc1/start ]]
++ start_block=63
++ start=32256
++ echo '1 106896384 32256'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdc2
+++ local name=sdc2
+++ name=sdc2
+++ [[ -n sdc2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc2 ]]
+++ name=sdc2
+++ echo /dev/sdc2
+++ return 1
++ partition_name=/dev/sdc2
++ partition_name=sdc2
++ partition_name=sdc2
+++ echo sdc2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=sdc
+++ get_disk_size sdc/sdc2
+++ local disk_name=sdc/sdc2
++++ get_block_size sdc
++++ '[' -r /sys/block/sdc/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdc/sdc2/size ']'
+++ BugIfError 'Could not determine size of disk sdc/sdc2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=30716280
+++ local disk_size=15726735360
+++ echo 15726735360
++ size=15726735360
++ [[ -r /sys/block/sdc/sdc2/start ]]
++ start_block=208845
++ start=106928640
++ echo '2 15726735360 106928640'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdc print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 107MB 107MB primary ext3 boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' number
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
+++ tr -d ';'
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' flags
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
+++ tr -d ,
++++ local pair
++++ set_separator ';'
+++ tr -d ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 107MB 15.8GB 15.7GB primary lvm'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' number
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
++++ local pair
+++ tr -d ';'
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' flags
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ,
+++ tr -d ';'
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='lvm;'
+++ echo 'lvm;'
++ flaglist=lvm
++ flags=
++ for flag in '$flaglist'
++ [[ lvm = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=lvm,
++ [[ -z lvm, ]]
++ sed -i '/^2 /s/$/ lvm/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdc1
+++ get_device_name /dev/sdc1
+++ local name=sdc1
+++ name=sdc1
+++ [[ -n sdc1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc1 ]]
+++ name=sdc1
+++ echo /dev/sdc1
+++ return 1
++ echo 'part /dev/sdc 106896384 32256 primary boot /dev/sdc1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdc2
+++ get_device_name /dev/sdc2
+++ local name=sdc2
+++ name=sdc2
+++ [[ -n sdc2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc2 ]]
+++ name=sdc2
+++ echo /dev/sdc2
+++ return 1
++ echo 'part /dev/sdc 15726735360 106928640 primary lvm /dev/sdc2'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdd = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdd
+++ local name=/sys/block/sdd
+++ name=sdd
+++ [[ -n sdd ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdd ]]
+++ [[ -r /sys/block/sdd/dm/name ]]
+++ dev_number=8:48
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:48 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:48 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:48 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:48 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:48 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:48 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:48 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:48 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:48 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:48 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:48 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:48 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:48 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:48 = 253:9 ']'
+++ name=sdd
+++ echo /dev/sdd
+++ return 1
++ devname=/dev/sdd
+++ get_disk_size sdd
+++ local disk_name=sdd
++++ get_block_size sdd
++++ '[' -r /sys/block/sdd/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdd/size ']'
+++ BugIfError 'Could not determine size of disk sdd, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=314572800
+++ local disk_size=161061273600
+++ echo 161061273600
++ devsize=161061273600
+++ parted -s /dev/sdd print
+++ cut -d : -f 2
+++ grep -E 'Partition Table|Disk label'
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sdd 161061273600 msdos'
++ extract_partitions /dev/sdd
++ declare device=/dev/sdd
+++ get_sysfs_name /dev/sdd
+++ local name=sdd
+++ name=sdd
+++ [[ -e /sys/block/sdd ]]
+++ echo sdd
+++ return 0
++ declare sysfs_name=sdd
+++ get_block_size sdd
+++ '[' -r /sys/block/sdd/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 1 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdd1
+++ local name=sdd1
+++ name=sdd1
+++ [[ -n sdd1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdd1 ]]
+++ name=sdd1
+++ echo /dev/sdd1
+++ return 1
++ partition_name=/dev/sdd1
++ partition_name=sdd1
++ partition_name=sdd1
+++ echo sdd1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdd
+++ get_disk_size sdd/sdd1
+++ local disk_name=sdd/sdd1
++++ get_block_size sdd
++++ '[' -r /sys/block/sdd/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdd/sdd1/size ']'
+++ BugIfError 'Could not determine size of disk sdd/sdd1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=136102617
+++ local disk_size=69684539904
+++ echo 69684539904
++ size=69684539904
++ [[ -r /sys/block/sdd/sdd1/start ]]
++ start_block=63
++ start=32256
++ echo '1 69684539904 32256'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdd print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' number
+++ tr -d ' '
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ tr -d ,
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' flags
+++ tr -d ';'
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdd1
+++ get_device_name /dev/sdd1
+++ local name=sdd1
+++ name=sdd1
+++ [[ -n sdd1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdd1 ]]
+++ name=sdd1
+++ echo /dev/sdd1
+++ return 1
++ echo 'part /dev/sdd 69684539904 32256 primary boot /dev/sdd1'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sde = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sde
+++ local name=/sys/block/sde
+++ name=sde
+++ [[ -n sde ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde ]]
+++ [[ -r /sys/block/sde/dm/name ]]
+++ dev_number=8:64
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:64 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:64 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:64 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:64 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:64 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:64 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:64 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:64 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:64 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:64 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:64 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:64 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:64 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:64 = 253:9 ']'
+++ name=sde
+++ echo /dev/sde
+++ return 1
++ devname=/dev/sde
+++ get_disk_size sde
+++ local disk_name=sde
++++ get_block_size sde
++++ '[' -r /sys/block/sde/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sde/size ']'
+++ BugIfError 'Could not determine size of disk sde, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=104857600
+++ local disk_size=53687091200
+++ echo 53687091200
++ devsize=53687091200
+++ parted -s /dev/sde print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sde 53687091200 msdos'
++ extract_partitions /dev/sde
++ declare device=/dev/sde
+++ get_sysfs_name /dev/sde
+++ local name=sde
+++ name=sde
+++ [[ -e /sys/block/sde ]]
+++ echo sde
+++ return 0
++ declare sysfs_name=sde
+++ get_block_size sde
+++ '[' -r /sys/block/sde/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 2 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sde1
+++ local name=sde1
+++ name=sde1
+++ [[ -n sde1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde1 ]]
+++ name=sde1
+++ echo /dev/sde1
+++ return 1
++ partition_name=/dev/sde1
++ partition_name=sde1
++ partition_name=sde1
+++ echo sde1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sde
+++ get_disk_size sde/sde1
+++ local disk_name=sde/sde1
++++ get_block_size sde
++++ '[' -r /sys/block/sde/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sde/sde1/size ']'
+++ BugIfError 'Could not determine size of disk sde/sde1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=208782
+++ local disk_size=106896384
+++ echo 106896384
++ size=106896384
++ [[ -r /sys/block/sde/sde1/start ]]
++ start_block=63
++ start=32256
++ echo '1 106896384 32256'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sde2
+++ local name=sde2
+++ name=sde2
+++ [[ -n sde2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde2 ]]
+++ name=sde2
+++ echo /dev/sde2
+++ return 1
++ partition_name=/dev/sde2
++ partition_name=sde2
++ partition_name=sde2
+++ echo sde2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=sde
+++ get_disk_size sde/sde2
+++ local disk_name=sde/sde2
++++ get_block_size sde
++++ '[' -r /sys/block/sde/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sde/sde2/size ']'
+++ BugIfError 'Could not determine size of disk sde/sde2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=30716280
+++ local disk_size=15726735360
+++ echo 15726735360
++ size=15726735360
++ [[ -r /sys/block/sde/sde2/start ]]
++ start_block=208845
++ start=106928640
++ echo '2 15726735360 106928640'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sde print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 107MB 107MB primary ext3 boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' number
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
++++ get_column_start number
+++ tr -d ' '
++++ local pair
+++ tr -d ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' flags
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
+++ tr -d ,
+++ tr -d ';'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 107MB 15.8GB 15.7GB primary lvm'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' number
+++ tr -d ' '
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' flags
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
+++ tr -d ,
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='lvm;'
+++ echo 'lvm;'
++ flaglist=lvm
++ flags=
++ for flag in '$flaglist'
++ [[ lvm = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=lvm,
++ [[ -z lvm, ]]
++ sed -i '/^2 /s/$/ lvm/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sde1
+++ get_device_name /dev/sde1
+++ local name=sde1
+++ name=sde1
+++ [[ -n sde1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde1 ]]
+++ name=sde1
+++ echo /dev/sde1
+++ return 1
++ echo 'part /dev/sde 106896384 32256 primary boot /dev/sde1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sde2
+++ get_device_name /dev/sde2
+++ local name=sde2
+++ name=sde2
+++ [[ -n sde2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde2 ]]
+++ name=sde2
+++ echo /dev/sde2
+++ return 1
++ echo 'part /dev/sde 15726735360 106928640 primary lvm /dev/sde2'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdf = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdf
+++ local name=/sys/block/sdf
+++ name=sdf
+++ [[ -n sdf ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdf ]]
+++ [[ -r /sys/block/sdf/dm/name ]]
+++ dev_number=8:80
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:80 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:80 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:80 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:80 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:80 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:80 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:80 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:80 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:80 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:80 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:80 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:80 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:80 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:80 = 253:9 ']'
+++ name=sdf
+++ echo /dev/sdf
+++ return 1
++ devname=/dev/sdf
+++ get_disk_size sdf
+++ local disk_name=sdf
++++ get_block_size sdf
++++ '[' -r /sys/block/sdf/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdf/size ']'
+++ BugIfError 'Could not determine size of disk sdf, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=314572800
+++ local disk_size=161061273600
+++ echo 161061273600
++ devsize=161061273600
+++ parted -s /dev/sdf print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sdf 161061273600 msdos'
++ extract_partitions /dev/sdf
++ declare device=/dev/sdf
+++ get_sysfs_name /dev/sdf
+++ local name=sdf
+++ name=sdf
+++ [[ -e /sys/block/sdf ]]
+++ echo sdf
+++ return 0
++ declare sysfs_name=sdf
+++ get_block_size sdf
+++ '[' -r /sys/block/sdf/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 1 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdf1
+++ local name=sdf1
+++ name=sdf1
+++ [[ -n sdf1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdf1 ]]
+++ name=sdf1
+++ echo /dev/sdf1
+++ return 1
++ partition_name=/dev/sdf1
++ partition_name=sdf1
++ partition_name=sdf1
+++ echo sdf1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdf
+++ get_disk_size sdf/sdf1
+++ local disk_name=sdf/sdf1
++++ get_block_size sdf
++++ '[' -r /sys/block/sdf/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdf/sdf1/size ']'
+++ BugIfError 'Could not determine size of disk sdf/sdf1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=136102617
+++ local disk_size=69684539904
+++ echo 69684539904
++ size=69684539904
++ [[ -r /sys/block/sdf/sdf1/start ]]
++ start_block=63
++ start=32256
++ echo '1 69684539904 32256'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdf print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' number
+++ tr -d ' '
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' flags
+++ tr -d ,
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdf1
+++ get_device_name /dev/sdf1
+++ local name=sdf1
+++ name=sdf1
+++ [[ -n sdf1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdf1 ]]
+++ name=sdf1
+++ echo /dev/sdf1
+++ return 1
++ echo 'part /dev/sdf 69684539904 32256 primary boot /dev/sdf1'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdg = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdg
+++ local name=/sys/block/sdg
+++ name=sdg
+++ [[ -n sdg ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg ]]
+++ [[ -r /sys/block/sdg/dm/name ]]
+++ dev_number=8:96
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:96 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:96 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:96 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:96 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:96 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:96 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:96 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:96 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:96 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:96 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:96 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:96 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:96 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:96 = 253:9 ']'
+++ name=sdg
+++ echo /dev/sdg
+++ return 1
++ devname=/dev/sdg
+++ get_disk_size sdg
+++ local disk_name=sdg
++++ get_block_size sdg
++++ '[' -r /sys/block/sdg/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdg/size ']'
+++ BugIfError 'Could not determine size of disk sdg, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=104857600
+++ local disk_size=53687091200
+++ echo 53687091200
++ devsize=53687091200
+++ parted -s /dev/sdg print
+++ cut -d : -f 2
+++ grep -E 'Partition Table|Disk label'
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sdg 53687091200 msdos'
++ extract_partitions /dev/sdg
++ declare device=/dev/sdg
+++ get_sysfs_name /dev/sdg
+++ local name=sdg
+++ name=sdg
+++ [[ -e /sys/block/sdg ]]
+++ echo sdg
+++ return 0
++ declare sysfs_name=sdg
+++ get_block_size sdg
+++ '[' -r /sys/block/sdg/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 2 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdg1
+++ local name=sdg1
+++ name=sdg1
+++ [[ -n sdg1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg1 ]]
+++ name=sdg1
+++ echo /dev/sdg1
+++ return 1
++ partition_name=/dev/sdg1
++ partition_name=sdg1
++ partition_name=sdg1
+++ echo sdg1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdg
+++ get_disk_size sdg/sdg1
+++ local disk_name=sdg/sdg1
++++ get_block_size sdg
++++ '[' -r /sys/block/sdg/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdg/sdg1/size ']'
+++ BugIfError 'Could not determine size of disk sdg/sdg1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=208782
+++ local disk_size=106896384
+++ echo 106896384
++ size=106896384
++ [[ -r /sys/block/sdg/sdg1/start ]]
++ start_block=63
++ start=32256
++ echo '1 106896384 32256'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdg2
+++ local name=sdg2
+++ name=sdg2
+++ [[ -n sdg2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg2 ]]
+++ name=sdg2
+++ echo /dev/sdg2
+++ return 1
++ partition_name=/dev/sdg2
++ partition_name=sdg2
++ partition_name=sdg2
+++ echo sdg2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=sdg
+++ get_disk_size sdg/sdg2
+++ local disk_name=sdg/sdg2
++++ get_block_size sdg
++++ '[' -r /sys/block/sdg/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdg/sdg2/size ']'
+++ BugIfError 'Could not determine size of disk sdg/sdg2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=30716280
+++ local disk_size=15726735360
+++ echo 15726735360
++ size=15726735360
++ [[ -r /sys/block/sdg/sdg2/start ]]
++ start_block=208845
++ start=106928640
++ echo '2 15726735360 106928640'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdg print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 107MB 107MB primary ext3 boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' number
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' flags
+++ tr -d ,
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 107MB 15.8GB 15.7GB primary lvm'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' number
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' flags
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
+++ tr -d ,
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
+++ tr -d ';'
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='lvm;'
+++ echo 'lvm;'
++ flaglist=lvm
++ flags=
++ for flag in '$flaglist'
++ [[ lvm = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=lvm,
++ [[ -z lvm, ]]
++ sed -i '/^2 /s/$/ lvm/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdg1
+++ get_device_name /dev/sdg1
+++ local name=sdg1
+++ name=sdg1
+++ [[ -n sdg1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg1 ]]
+++ name=sdg1
+++ echo /dev/sdg1
+++ return 1
++ echo 'part /dev/sdg 106896384 32256 primary boot /dev/sdg1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdg2
+++ get_device_name /dev/sdg2
+++ local name=sdg2
+++ name=sdg2
+++ [[ -n sdg2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg2 ]]
+++ name=sdg2
+++ echo /dev/sdg2
+++ return 1
++ echo 'part /dev/sdg 15726735360 106928640 primary lvm /dev/sdg2'
++ read partition_nr size start type flags junk
++ for disk in '/sys/block/*'
++ [[ sdh = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sdh
+++ local name=/sys/block/sdh
+++ name=sdh
+++ [[ -n sdh ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdh ]]
+++ [[ -r /sys/block/sdh/dm/name ]]
+++ dev_number=8:112
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:112 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:112 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:112 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:112 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:112 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:112 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:112 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:112 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:112 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:112 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:112 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:112 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:112 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:112 = 253:9 ']'
+++ name=sdh
+++ echo /dev/sdh
+++ return 1
++ devname=/dev/sdh
+++ get_disk_size sdh
+++ local disk_name=sdh
++++ get_block_size sdh
++++ '[' -r /sys/block/sdh/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdh/size ']'
+++ BugIfError 'Could not determine size of disk sdh, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=314572800
+++ local disk_size=161061273600
+++ echo 161061273600
++ devsize=161061273600
+++ parted -s /dev/sdh print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sdh 161061273600 msdos'
++ extract_partitions /dev/sdh
++ declare device=/dev/sdh
+++ get_sysfs_name /dev/sdh
+++ local name=sdh
+++ name=sdh
+++ [[ -e /sys/block/sdh ]]
+++ echo sdh
+++ return 0
++ declare sysfs_name=sdh
+++ get_block_size sdh
+++ '[' -r /sys/block/sdh/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 1 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sdh1
+++ local name=sdh1
+++ name=sdh1
+++ [[ -n sdh1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdh1 ]]
+++ name=sdh1
+++ echo /dev/sdh1
+++ return 1
++ partition_name=/dev/sdh1
++ partition_name=sdh1
++ partition_name=sdh1
+++ echo sdh1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sdh
+++ get_disk_size sdh/sdh1
+++ local disk_name=sdh/sdh1
++++ get_block_size sdh
++++ '[' -r /sys/block/sdh/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sdh/sdh1/size ']'
+++ BugIfError 'Could not determine size of disk sdh/sdh1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=136102617
+++ local disk_size=69684539904
+++ echo 69684539904
++ size=69684539904
++ [[ -r /sys/block/sdh/sdh1/start ]]
++ start_block=63
++ start=32256
++ echo '1 69684539904 32256'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sdh print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' number
+++ tr -d ' '
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ';'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' flags
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ,
+++ local start=54
+++ tr -d ';'
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/sdh1
+++ get_device_name /dev/sdh1
+++ local name=sdh1
+++ name=sdh1
+++ [[ -n sdh1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdh1 ]]
+++ name=sdh1
+++ echo /dev/sdh1
+++ return 1
++ echo 'part /dev/sdh 69684539904 32256 primary boot /dev/sdh1'
++ read partition_nr size start type flags junk
+ test 1
+ set +x
2013-04-18 10:31:10.531009000 Including layout/save/GNU/Linux/21_raid_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/21_raid_layout.sh
++ '[' -e /proc/mdstat ']'
++ grep -q blocks /proc/mdstat
+ test 1
+ set +x
2013-04-18 10:31:10.535747000 Including layout/save/GNU/Linux/22_lvm_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/22_lvm_layout.sh
++ has_binary lvm
++ for bin in '$@'
++ type lvm
++ return 0
++ Log 'Saving LVM layout.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:10.539005000 Saving LVM layout.'
2013-04-18 10:31:10.539005000 Saving LVM layout.
++ lvm pvdisplay -c
++ read line
+++ echo /dev/mpath/mpath0p2:vg_root:30716280:-1:8:8:-1:32768:468:15:453:RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM
+++ cut -d : -f 1
++ pdev=/dev/mpath/mpath0p2
++ '[' dev/mpath/mpath0p2 = /dev/mpath/mpath0p2 ']'
+++ echo /dev/mpath/mpath0p2:vg_root:30716280:-1:8:8:-1:32768:468:15:453:RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/mpath/mpath0p2:vg_root:30716280:-1:8:8:-1:32768:468:15:453:RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM
+++ cut -d : -f 3
++ size=30716280
+++ echo /dev/mpath/mpath0p2:vg_root:30716280:-1:8:8:-1:32768:468:15:453:RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM
+++ cut -d : -f 12
++ uuid=RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM
+++ get_device_name /dev/mpath/mpath0p2
+++ local name=mpath/mpath0p2
+++ name=mpath/mpath0p2
+++ [[ -n mpath/mpath0p2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/mpath/mpath0p2 ]]
+++ name=mpath/mpath0p2
+++ echo /dev/mpath/mpath0p2
+++ return 1
++ echo 'lvmdev /dev/vg_root /dev/mpath/mpath0p2 RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM 30716280'
++ read line
++ lvm vgdisplay -c
++ read line
+++ echo vg_root:r/w:772:-1:0:8:8:-1:0:1:1:15335424:32768:468:453:15:YwyWIE-UdfM-AFpT-cNFk-MmJ2-X2X2-9KOZWi
+++ cut -d : -f 1
++ vgrp=vg_root
+++ echo vg_root:r/w:772:-1:0:8:8:-1:0:1:1:15335424:32768:468:453:15:YwyWIE-UdfM-AFpT-cNFk-MmJ2-X2X2-9KOZWi
+++ cut -d : -f 12
++ size=15335424
+++ echo vg_root:r/w:772:-1:0:8:8:-1:0:1:1:15335424:32768:468:453:15:YwyWIE-UdfM-AFpT-cNFk-MmJ2-X2X2-9KOZWi
+++ cut -d : -f 13
++ extentsize=32768
+++ echo vg_root:r/w:772:-1:0:8:8:-1:0:1:1:15335424:32768:468:453:15:YwyWIE-UdfM-AFpT-cNFk-MmJ2-X2X2-9KOZWi
+++ cut -d : -f 14
++ nrextents=468
++ echo 'lvmgrp /dev/vg_root 32768 468 15335424'
++ read line
++ lvm lvdisplay -c
++ read line
+++ echo /dev/vg_root/lv_root:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:5
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_root
+++ echo /dev/vg_root/lv_root:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:5
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_root:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:5
+++ cut -d : -f 7
++ size=4063232
+++ echo /dev/vg_root/lv_root:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:5
+++ cut -d : -f 8
++ extents=62
++ echo 'lvmvol /dev/vg_root lv_root 62 4063232 '
++ read line
+++ echo /dev/vg_root/lv_tmp:vg_root:3:1:-1:1:2031616:31:-1:0:-1:253:6
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_tmp
+++ echo /dev/vg_root/lv_tmp:vg_root:3:1:-1:1:2031616:31:-1:0:-1:253:6
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_tmp:vg_root:3:1:-1:1:2031616:31:-1:0:-1:253:6
+++ cut -d : -f 7
++ size=2031616
+++ echo /dev/vg_root/lv_tmp:vg_root:3:1:-1:1:2031616:31:-1:0:-1:253:6
+++ cut -d : -f 8
++ extents=31
++ echo 'lvmvol /dev/vg_root lv_tmp 31 2031616 '
++ read line
+++ echo /dev/vg_root/lv_opt:vg_root:3:1:-1:1:3014656:46:-1:0:-1:253:7
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_opt
+++ echo /dev/vg_root/lv_opt:vg_root:3:1:-1:1:3014656:46:-1:0:-1:253:7
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_opt:vg_root:3:1:-1:1:3014656:46:-1:0:-1:253:7
+++ cut -d : -f 7
++ size=3014656
+++ echo /dev/vg_root/lv_opt:vg_root:3:1:-1:1:3014656:46:-1:0:-1:253:7
+++ cut -d : -f 8
++ extents=46
++ echo 'lvmvol /dev/vg_root lv_opt 46 3014656 '
++ read line
+++ echo /dev/vg_root/lv_autosys:vg_root:3:1:-1:1:983040:15:-1:0:-1:253:8
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_autosys
+++ echo /dev/vg_root/lv_autosys:vg_root:3:1:-1:1:983040:15:-1:0:-1:253:8
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_autosys:vg_root:3:1:-1:1:983040:15:-1:0:-1:253:8
+++ cut -d : -f 7
++ size=983040
+++ echo /dev/vg_root/lv_autosys:vg_root:3:1:-1:1:983040:15:-1:0:-1:253:8
+++ cut -d : -f 8
++ extents=15
++ echo 'lvmvol /dev/vg_root lv_autosys 15 983040 '
++ read line
+++ echo /dev/vg_root/lv_var:vg_root:3:1:-1:1:10223616:156:-1:0:-1:253:9
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_var
+++ echo /dev/vg_root/lv_var:vg_root:3:1:-1:1:10223616:156:-1:0:-1:253:9
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_var:vg_root:3:1:-1:1:10223616:156:-1:0:-1:253:9
+++ cut -d : -f 7
++ size=10223616
+++ echo /dev/vg_root/lv_var:vg_root:3:1:-1:1:10223616:156:-1:0:-1:253:9
+++ cut -d : -f 8
++ extents=156
++ echo 'lvmvol /dev/vg_root lv_var 156 10223616 '
++ read line
+++ echo /dev/vg_root/lv_home:vg_root:3:1:-1:1:196608:3:-1:0:-1:253:10
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_home
+++ echo /dev/vg_root/lv_home:vg_root:3:1:-1:1:196608:3:-1:0:-1:253:10
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_home:vg_root:3:1:-1:1:196608:3:-1:0:-1:253:10
+++ cut -d : -f 7
++ size=196608
+++ echo /dev/vg_root/lv_home:vg_root:3:1:-1:1:196608:3:-1:0:-1:253:10
+++ cut -d : -f 8
++ extents=3
++ echo 'lvmvol /dev/vg_root lv_home 3 196608 '
++ read line
+++ echo /dev/vg_root/lv_usr:vg_root:3:1:-1:1:5111808:78:-1:0:-1:253:11
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_usr
+++ echo /dev/vg_root/lv_usr:vg_root:3:1:-1:1:5111808:78:-1:0:-1:253:11
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_usr:vg_root:3:1:-1:1:5111808:78:-1:0:-1:253:11
+++ cut -d : -f 7
++ size=5111808
+++ echo /dev/vg_root/lv_usr:vg_root:3:1:-1:1:5111808:78:-1:0:-1:253:11
+++ cut -d : -f 8
++ extents=78
++ echo 'lvmvol /dev/vg_root lv_usr 78 5111808 '
++ read line
+++ echo /dev/vg_root/lv_tivoli:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:12
+++ cut -d : -f 1
+++ cut -d / -f 4
++ lvol=lv_tivoli
+++ echo /dev/vg_root/lv_tivoli:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:12
+++ cut -d : -f 2
++ vgrp=vg_root
+++ echo /dev/vg_root/lv_tivoli:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:12
+++ cut -d : -f 7
++ size=4063232
+++ echo /dev/vg_root/lv_tivoli:vg_root:3:1:-1:1:4063232:62:-1:0:-1:253:12
+++ cut -d : -f 8
++ extents=62
++ echo 'lvmvol /dev/vg_root lv_tivoli 62 4063232 '
++ read line
+ test 1
+ set +x
2013-04-18 10:31:11.155817000 Including layout/save/GNU/Linux/23_filesystem_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh
++ Log 'Saving Filesystem layout.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:11.158474000 Saving Filesystem layout.'
2013-04-18 10:31:11.158474000 Saving Filesystem layout.
++ read device on mountpoint type fstype options junk
+++ mount
++ '[' dev/mapper/vg_root-lv_root = /dev/mapper/vg_root-lv_root ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_root ']'
++ [[ /dev/mapper/vg_root-lv_root == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_root / ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=d492b1d1-a56a-41df-9541-870f2e03c992
+++ e2label /dev/mapper/vg_root-lv_root
++ label=
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
+++ tune2fs -l /dev/mapper/vg_root-lv_root
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=507904
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=25395
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_root
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=507904
++ let 'bytes_per_inode=507904*4096/507904'
++ let check_interval=0/86400
++ echo -n 'uuid=d492b1d1-a56a-41df-9541-870f2e03c992 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' proc = proc ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' sysfs = sysfs ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' devpts = devpts ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_tmp = /dev/mapper/vg_root-lv_tmp ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_tmp ']'
++ [[ /dev/mapper/vg_root-lv_tmp == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_tmp /tmp ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=d69dc609-67c8-41ad-9da6-f04b81e43828
+++ e2label /dev/mapper/vg_root-lv_tmp
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=253952
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=12697
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_tmp
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=253952
++ let 'bytes_per_inode=253952*4096/253952'
++ let check_interval=0/86400
++ echo -n 'uuid=d69dc609-67c8-41ad-9da6-f04b81e43828 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_opt = /dev/mapper/vg_root-lv_opt ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_opt ']'
++ [[ /dev/mapper/vg_root-lv_opt == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_opt /opt ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=576be55e-789d-48d7-8387-f51f06237826
+++ e2label /dev/mapper/vg_root-lv_opt
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ tr -d ' '
+++ cut -d : -f 2
+++ grep 'Block count'
++ nr_blocks=376832
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=18841
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_opt
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=377088
++ let 'bytes_per_inode=376832*4096/377088'
++ let check_interval=0/86400
++ echo -n 'uuid=576be55e-789d-48d7-8387-f51f06237826 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4093'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_autosys = /dev/mapper/vg_root-lv_autosys ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_autosys ']'
++ [[ /dev/mapper/vg_root-lv_autosys == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_autosys /opt/CA ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=a0a70ce7-7e40-4ea8-9555-5976079397a5
+++ e2label /dev/mapper/vg_root-lv_autosys
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=1024
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=491520
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=24576
++ reserved_percentage=5
+++ tune2fs -l /dev/mapper/vg_root-lv_autosys
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=122880
++ let 'bytes_per_inode=491520*1024/122880'
++ let check_interval=0/86400
++ echo -n 'uuid=a0a70ce7-7e40-4ea8-9555-5976079397a5 label='
++ echo -n ' blocksize=1024 reserved_blocks=5%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_var = /dev/mapper/vg_root-lv_var ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_var ']'
++ [[ /dev/mapper/vg_root-lv_var == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_var /var ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=8bb95a92-d539-4343-a51d-133cc9ba1208
+++ e2label /dev/mapper/vg_root-lv_var
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
+++ tune2fs -l /dev/mapper/vg_root-lv_var
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=1277952
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=63897
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_var
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=1277952
++ let 'bytes_per_inode=1277952*4096/1277952'
++ let check_interval=0/86400
++ echo -n 'uuid=8bb95a92-d539-4343-a51d-133cc9ba1208 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_home = /dev/mapper/vg_root-lv_home ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_home ']'
++ [[ /dev/mapper/vg_root-lv_home == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_home /home ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=8d615552-8aa2-4171-916e-b6bf511d1b71
+++ e2label /dev/mapper/vg_root-lv_home
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=1024
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=98304
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=4915
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_home
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=24576
++ let 'bytes_per_inode=98304*1024/24576'
++ let check_interval=0/86400
++ echo -n 'uuid=8d615552-8aa2-4171-916e-b6bf511d1b71 label='
++ echo -n ' blocksize=1024 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_usr = /dev/mapper/vg_root-lv_usr ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_usr ']'
++ [[ /dev/mapper/vg_root-lv_usr == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_usr /usr ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=f4954e39-c2f3-419c-b86b-4b4fa2b605bd
+++ e2label /dev/mapper/vg_root-lv_usr
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=638976
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=31948
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_usr
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=639360
++ let 'bytes_per_inode=638976*4096/639360'
++ let check_interval=0/86400
++ echo -n 'uuid=f4954e39-c2f3-419c-b86b-4b4fa2b605bd label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4093'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/vg_root-lv_tivoli = /dev/mapper/vg_root-lv_tivoli ']'
++ '[' '!' -b /dev/mapper/vg_root-lv_tivoli ']'
++ [[ /dev/mapper/vg_root-lv_tivoli == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/vg_root-lv_tivoli /usr/monitoring/Tivoli ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=d3f4b887-55cb-4cb9-929f-961ee6dd5d2d
+++ e2label /dev/mapper/vg_root-lv_tivoli
++ label=
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=507904
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=25395
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/vg_root-lv_tivoli
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=507904
++ let 'bytes_per_inode=507904*4096/507904'
++ let check_interval=0/86400
++ echo -n 'uuid=d3f4b887-55cb-4cb9-929f-961ee6dd5d2d label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4096'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/mapper/mpath0p1 = /dev/mapper/mpath0p1 ']'
++ '[' '!' -b /dev/mapper/mpath0p1 ']'
++ [[ /dev/mapper/mpath0p1 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/mapper/mpath0p1 /boot ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=547ccc1a-0cb9-46af-aef8-186faa7bb44b
+++ e2label /dev/mapper/mpath0p1
++ label=/boot
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=1024
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=-1
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=0
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=104388
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=5219
++ reserved_percentage=4
+++ tune2fs -l /dev/mapper/mpath0p1
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=26104
++ let 'bytes_per_inode=104388*1024/26104'
++ let check_interval=0/86400
++ echo -n 'uuid=547ccc1a-0cb9-46af-aef8-186faa7bb44b label=/boot'
++ echo -n ' blocksize=1024 reserved_blocks=4%'
++ echo -n ' max_mounts=-1 check_interval=0d'
++ echo -n ' bytes_per_inode=4094'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' tmpfs = tmpfs ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' none = none ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' sunrpc = sunrpc ']'
++ continue
++ read device on mountpoint type fstype options junk
+ test 1
+ set +x
2013-04-18 10:31:11.457439000 Including layout/save/GNU/Linux/24_swaps_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/24_swaps_layout.sh
++ Log 'Saving Swap information.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:11.460005000 Saving Swap information.'
2013-04-18 10:31:11.460005000 Saving Swap information.
+++ cat /proc/swaps
++ read filename type junk
++ '[' Filename = Filename ']'
++ continue
++ read filename type junk
++ '[' /dev/mapper/mpath1p1 = Filename ']'
++ '[' partition = file ']'
+++ ls /dev/mapper/control /dev/mapper/mpath0 /dev/mapper/mpath0p1 /dev/mapper/mpath0p2 /dev/mapper/mpath1 /dev/mapper/mpath1p1 /dev/mapper/vg_root-lv_autosys /dev/mapper/vg_root-lv_home /dev/mapper/vg_root-lv_opt /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_tivoli /dev/mapper/vg_root-lv_tmp /dev/mapper/vg_root-lv_usr /dev/mapper/vg_root-lv_var
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/control
++ target=/dev/mapper/control
++ '[' /dev/mapper/control = /dev/mapper/mpath1p1 ']'
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/mpath0
++ target=/dev/mapper/mpath0
++ '[' /dev/mapper/mpath0 = /dev/mapper/mpath1p1 ']'
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/mpath0p1
++ target=/dev/mapper/mpath0p1
++ '[' /dev/mapper/mpath0p1 = /dev/mapper/mpath1p1 ']'
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/mpath0p2
++ target=/dev/mapper/mpath0p2
++ '[' /dev/mapper/mpath0p2 = /dev/mapper/mpath1p1 ']'
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/mpath1
++ target=/dev/mapper/mpath1
++ '[' /dev/mapper/mpath1 = /dev/mapper/mpath1p1 ']'
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/mpath1p1
++ target=/dev/mapper/mpath1p1
++ '[' /dev/mapper/mpath1p1 = /dev/mapper/mpath1p1 ']'
++ filename=/dev/mapper/mpath1p1
++ break
++ has_binary swaplabel
++ for bin in '$@'
++ type swaplabel
++ return 1
++ has_binary blkid
++ for bin in '$@'
++ type blkid
++ return 0
+++ blkid /dev/mapper/mpath1p1
+++ tr ' ' '\n'
++ for value in '$(blkid $filename | tr " " "\n")'
++ case $value in
++ for value in '$(blkid $filename | tr " " "\n")'
++ case $value in
++ for value in '$(blkid $filename | tr " " "\n")'
++ case $value in
+++ echo 'LABEL="SWAP-mpath1p1"'
+++ cut -d= -f2
+++ sed -e 's/"//g'
++ label=SWAP-mpath1p1
++ echo 'swap /dev/mapper/mpath1p1 uuid= label=SWAP-mpath1p1'
++ read filename type junk
+ test 1
+ set +x
2013-04-18 10:31:11.492015000 Including layout/save/GNU/Linux/25_drbd_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/25_drbd_layout.sh
++ '[' -e /proc/drbd ']'
+ test 1
+ set +x
2013-04-18 10:31:11.494575000 Including layout/save/GNU/Linux/26_crypt_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/26_crypt_layout.sh
++ has_binary cryptsetup
++ for bin in '$@'
++ type cryptsetup
++ return 0
++ Log 'Saving Encrypted volumes.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:11.497300000 Saving Encrypted volumes.'
2013-04-18 10:31:11.497300000 Saving Encrypted volumes.
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" cryptsetup)
++ read dm_name junk
+++ dmsetup ls --target crypt
+ test 1
+ set +x
2013-04-18 10:31:11.516101000 Including layout/save/GNU/Linux/27_hpraid_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/27_hpraid_layout.sh
++ has_binary hpacucli
++ for bin in '$@'
++ type hpacucli
++ return 0
++ PROGS=("${PROGS[@]}" hpacucli)
++++ get_path hpacucli
++++ type -p hpacucli
+++ grep ON_DIR= /usr/sbin/hpacucli
++ eval HPACUCLI_BIN_INSTALLATION_DIR=/opt/compaq/hpacucli/bld/
+++ HPACUCLI_BIN_INSTALLATION_DIR=/opt/compaq/hpacucli/bld/
++ COPY_AS_IS=("${COPY_AS_IS[@]}" "$HPACUCLI_BIN_INSTALLATION_DIR")
++ Log 'Saving HP SmartArray configuration.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:11.533258000 Saving HP SmartArray configuration.'
2013-04-18 10:31:11.533258000 Saving HP SmartArray configuration.
++ hpacucli ctrl all show detail
++ grep 'Controller Status:' /tmp/rear.VNUmoOTxAW24793/tmp/hpraid-detail.tmp
++ grep -v 'Controller Status: OK'
++ (( 1 != 1 ))
++ hpacucli ctrl all show config
++ controllers=()
++ drives=
++ spares=
++ read line
++ case $line in
++ read line
++ case $line in
+++ echo 'Smart Array P410i in Slot 0 (Embedded) (sn: 5001438020D42020)'
+++ sed -r 's/.*Slot ([0-9]).*/\1/'
++ nextslotnr=0
++ read line
++ case $line in
++ read line
++ case $line in
++ read line
++ write_logicaldrive
++ '[' -n '' ']'
++ drives=
++ spares=
+ test 1
+ set +x
2013-04-18 10:31:13.719776000 Including layout/save/GNU/Linux/28_multipath_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/28_multipath_layout.sh
++ read dm_name junk
+++ dmsetup ls --target multipath
++ '[' '!' -e /dev/mapper/mpath1 ']'
+++ readlink -f /dev/mapper/mpath1
++ dev_name=/dev/mapper/mpath1
+++ get_sysfs_name /dev/mapper/mpath1
+++ local name=mapper/mpath1
+++ name=mapper/mpath1
+++ [[ -e /sys/block/mapper!mpath1 ]]
+++ [[ -h /dev/mapper/mpath1 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ local dev_number=253:1
+++ [[ -n 253:1 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \2\5\3\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \2\5\3\:\1 ]]
+++ dev_name=dm-1/dev
+++ echo dm-1
+++ return 0
++ name=dm-1
++ [[ -e /sys/block/dm-1 ]]
++ LogIfError 'Did not find sysfs name for device mpath1 (/sys/block/dm-1)'
++ (( 0 != 0 ))
++ slaves=
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdb
+++ local name=sdb
+++ name=sdb
+++ [[ -n sdb ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdb ]]
+++ [[ -r /sys/block/sdb/dm/name ]]
+++ dev_number=8:16
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:16 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:16 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:16 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:16 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:16 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:16 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:16 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:16 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:16 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:16 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:16 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:16 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:16 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:16 = 253:9 ']'
+++ name=sdb
+++ echo /dev/sdb
+++ return 1
++ slaves=/dev/sdb,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdd
+++ local name=sdd
+++ name=sdd
+++ [[ -n sdd ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdd ]]
+++ [[ -r /sys/block/sdd/dm/name ]]
+++ dev_number=8:48
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:48 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:48 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:48 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:48 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:48 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:48 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:48 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:48 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:48 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:48 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:48 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:48 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:48 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:48 = 253:9 ']'
+++ name=sdd
+++ echo /dev/sdd
+++ return 1
++ slaves=/dev/sdb,/dev/sdd,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdf
+++ local name=sdf
+++ name=sdf
+++ [[ -n sdf ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdf ]]
+++ [[ -r /sys/block/sdf/dm/name ]]
+++ dev_number=8:80
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:80 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:80 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:80 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:80 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:80 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:80 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:80 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:80 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:80 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:80 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:80 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:80 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:80 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:80 = 253:9 ']'
+++ name=sdf
+++ echo /dev/sdf
+++ return 1
++ slaves=/dev/sdb,/dev/sdd,/dev/sdf,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdh
+++ local name=sdh
+++ name=sdh
+++ [[ -n sdh ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdh ]]
+++ [[ -r /sys/block/sdh/dm/name ]]
+++ dev_number=8:112
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:112 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:112 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:112 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:112 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:112 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:112 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:112 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:112 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:112 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:112 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:112 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:112 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:112 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:112 = 253:9 ']'
+++ name=sdh
+++ echo /dev/sdh
+++ return 1
++ slaves=/dev/sdb,/dev/sdd,/dev/sdf,/dev/sdh,
++ echo 'multipath /dev/mapper/mpath1 /dev/sdb,/dev/sdd,/dev/sdf,/dev/sdh'
++ extract_partitions /dev/mapper/mpath1
++ declare device=/dev/mapper/mpath1
+++ get_sysfs_name /dev/mapper/mpath1
+++ local name=mapper/mpath1
+++ name=mapper/mpath1
+++ [[ -e /sys/block/mapper!mpath1 ]]
+++ [[ -h /dev/mapper/mpath1 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ local dev_number=253:1
+++ [[ -n 253:1 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \2\5\3\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:1 = \2\5\3\:\1 ]]
+++ dev_name=dm-1/dev
+++ echo dm-1
+++ return 0
++ declare sysfs_name=dm-1
+++ get_block_size dm-1
+++ '[' -r /sys/block/dm-1/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 0 -eq 0 ]]
++ [[ /dev///mpath1 != /dev/mapper/mpath1 ]]
++ for path in '${device}p*' '${device}-part*' '${device}_part*'
+++ get_sysfs_name /dev/mapper/mpath1p1
+++ local name=mapper/mpath1p1
+++ name=mapper/mpath1p1
+++ [[ -e /sys/block/mapper!mpath1p1 ]]
+++ [[ -h /dev/mapper/mpath1p1 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ local dev_number=253:2
+++ [[ -n 253:2 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\1\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\1\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\1\2 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:2 = \2\5\3\:\2 ]]
+++ dev_name=dm-2/dev
+++ echo dm-2
+++ return 0
++ sysfs_path=dm-2
++ [[ -n dm-2 ]]
++ [[ -e /sys/block/dm-2 ]]
++ sysfs_paths=("${sysfs_paths[@]}" "/sys/block/$sysfs_path")
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name dm-2
+++ local name=dm-2
+++ name=dm-2
+++ [[ -n dm-2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/dm-2 ]]
+++ [[ -r /sys/block/dm-2/dm/name ]]
+++ dev_number=253:2
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 253:2 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 253:2 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 253:2 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 253:2 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 253:2 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 253:2 = 253:2 ']'
+++ echo /dev/mapper/mpath1p1
+++ return 0
++ partition_name=/dev/mapper/mpath1p1
++ partition_name=mapper/mpath1p1
++ partition_name=mpath1p1
+++ echo mpath1p1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=mpath1p
+++ get_disk_size dm-2
+++ local disk_name=dm-2
++++ get_block_size dm-2
++++ '[' -r /sys/block/dm-2/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/dm-2/size ']'
+++ BugIfError 'Could not determine size of disk dm-2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=136102617
+++ local disk_size=69684539904
+++ echo 69684539904
++ size=69684539904
++ [[ -r /sys/block/dm-2/start ]]
++ Log 'Could not determine start of partition mpath1p1.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:13.983258000 Could not determine start of partition mpath1p1.'
2013-04-18 10:31:13.983258000 Could not determine start of partition mpath1p1.
++ start=unknown
++ echo '1 69684539904 unknown'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/mapper/mpath1 print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
++ read line
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' number
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
++++ get_column_start number
+++ tr -d ' '
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ';'
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 69.7GB 69.7GB primary linux-swap boot' flags
+++ local 'line= 1 32.3kB 69.7GB 69.7GB primary linux-swap boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
+++ tr -d ';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/mapper/mpath1p1
+++ get_device_name /dev/mapper/mpath1p1
+++ local name=mapper/mpath1p1
+++ name=mapper/mpath1p1
+++ [[ -n mapper/mpath1p1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/mapper/mpath1p1 ]]
+++ name=mapper/mpath1p1
+++ echo /dev/mapper/mpath1p1
+++ return 1
++ echo 'part /dev/mapper/mpath1 69684539904 unknown primary boot /dev/mapper/mpath1p1'
++ read partition_nr size start type flags junk
++ read dm_name junk
++ '[' '!' -e /dev/mapper/mpath0 ']'
+++ readlink -f /dev/mapper/mpath0
++ dev_name=/dev/mapper/mpath0
+++ get_sysfs_name /dev/mapper/mpath0
+++ local name=mapper/mpath0
+++ name=mapper/mpath0
+++ [[ -e /sys/block/mapper!mpath0 ]]
+++ [[ -h /dev/mapper/mpath0 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ local dev_number=253:0
+++ [[ -n 253:0 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:0 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:0 = \2\5\3\:\0 ]]
+++ dev_name=dm-0/dev
+++ echo dm-0
+++ return 0
++ name=dm-0
++ [[ -e /sys/block/dm-0 ]]
++ LogIfError 'Did not find sysfs name for device mpath0 (/sys/block/dm-0)'
++ (( 0 != 0 ))
++ slaves=
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sda
+++ local name=sda
+++ name=sda
+++ [[ -n sda ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda ]]
+++ [[ -r /sys/block/sda/dm/name ]]
+++ dev_number=8:0
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:0 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:0 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:0 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:0 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:0 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:0 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:0 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:0 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:0 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:0 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:0 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:0 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:0 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:0 = 253:9 ']'
+++ name=sda
+++ echo /dev/sda
+++ return 1
++ slaves=/dev/sda,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdc
+++ local name=sdc
+++ name=sdc
+++ [[ -n sdc ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdc ]]
+++ [[ -r /sys/block/sdc/dm/name ]]
+++ dev_number=8:32
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:32 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:32 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:32 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:32 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:32 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:32 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:32 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:32 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:32 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:32 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:32 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:32 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:32 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:32 = 253:9 ']'
+++ name=sdc
+++ echo /dev/sdc
+++ return 1
++ slaves=/dev/sda,/dev/sdc,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sde
+++ local name=sde
+++ name=sde
+++ [[ -n sde ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sde ]]
+++ [[ -r /sys/block/sde/dm/name ]]
+++ dev_number=8:64
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:64 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:64 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:64 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:64 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:64 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:64 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:64 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:64 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:64 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:64 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:64 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:64 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:64 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:64 = 253:9 ']'
+++ name=sde
+++ echo /dev/sde
+++ return 1
++ slaves=/dev/sda,/dev/sdc,/dev/sde,
++ for slave in '/sys/block/$name/slaves/*'
+++ get_device_name sdg
+++ local name=sdg
+++ name=sdg
+++ [[ -n sdg ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sdg ]]
+++ [[ -r /sys/block/sdg/dm/name ]]
+++ dev_number=8:96
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:96 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 8:96 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 8:96 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 8:96 = 253:4 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1
+++ mapper_number=253:1
+++ '[' 8:96 = 253:1 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath1p1
+++ mapper_number=253:2
+++ '[' 8:96 = 253:2 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_autosys
+++ mapper_number=253:8
+++ '[' 8:96 = 253:8 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_home
+++ mapper_number=253:10
+++ '[' 8:96 = 253:10 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_opt
+++ mapper_number=253:7
+++ '[' 8:96 = 253:7 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_root
+++ mapper_number=253:5
+++ '[' 8:96 = 253:5 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tivoli
+++ mapper_number=253:12
+++ '[' 8:96 = 253:12 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_tmp
+++ mapper_number=253:6
+++ '[' 8:96 = 253:6 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_usr
+++ mapper_number=253:11
+++ '[' 8:96 = 253:11 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor vg_root-lv_var
+++ mapper_number=253:9
+++ '[' 8:96 = 253:9 ']'
+++ name=sdg
+++ echo /dev/sdg
+++ return 1
++ slaves=/dev/sda,/dev/sdc,/dev/sde,/dev/sdg,
++ echo 'multipath /dev/mapper/mpath0 /dev/sda,/dev/sdc,/dev/sde,/dev/sdg'
++ extract_partitions /dev/mapper/mpath0
++ declare device=/dev/mapper/mpath0
+++ get_sysfs_name /dev/mapper/mpath0
+++ local name=mapper/mpath0
+++ name=mapper/mpath0
+++ [[ -e /sys/block/mapper!mpath0 ]]
+++ [[ -h /dev/mapper/mpath0 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ local dev_number=253:0
+++ [[ -n 253:0 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:0 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:0 = \2\5\3\:\0 ]]
+++ dev_name=dm-0/dev
+++ echo dm-0
+++ return 0
++ declare sysfs_name=dm-0
+++ get_block_size dm-0
+++ '[' -r /sys/block/dm-0/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ sysfs_paths=(/sys/block/$sysfs_name/$sysfs_name*)
++ declare -a sysfs_paths
++ declare path sysfs_path
++ [[ 0 -eq 0 ]]
++ [[ /dev///mpath0 != /dev/mapper/mpath0 ]]
++ for path in '${device}p*' '${device}-part*' '${device}_part*'
+++ get_sysfs_name /dev/mapper/mpath0p1
+++ local name=mapper/mpath0p1
+++ name=mapper/mpath0p1
+++ [[ -e /sys/block/mapper!mpath0p1 ]]
+++ [[ -h /dev/mapper/mpath0p1 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ local dev_number=253:3
+++ [[ -n 253:3 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\1\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\1\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\1\2 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\2 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:3 = \2\5\3\:\3 ]]
+++ dev_name=dm-3/dev
+++ echo dm-3
+++ return 0
++ sysfs_path=dm-3
++ [[ -n dm-3 ]]
++ [[ -e /sys/block/dm-3 ]]
++ sysfs_paths=("${sysfs_paths[@]}" "/sys/block/$sysfs_path")
++ for path in '${device}p*' '${device}-part*' '${device}_part*'
+++ get_sysfs_name /dev/mapper/mpath0p2
+++ local name=mapper/mpath0p2
+++ name=mapper/mpath0p2
+++ [[ -e /sys/block/mapper!mpath0p2 ]]
+++ [[ -h /dev/mapper/mpath0p2 ]]
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ local dev_number=253:4
+++ [[ -n 253:4 ]]
+++ local dev_name sysfs_device
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \1\0\4\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\1\0 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\1\1 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\1\2 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\2 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\3 ]]
+++ for sysfs_device in '/sys/block/*/dev'
+++ [[ 253:4 = \2\5\3\:\4 ]]
+++ dev_name=dm-4/dev
+++ echo dm-4
+++ return 0
++ sysfs_path=dm-4
++ [[ -n dm-4 ]]
++ [[ -e /sys/block/dm-4 ]]
++ sysfs_paths=("${sysfs_paths[@]}" "/sys/block/$sysfs_path")
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name dm-3
+++ local name=dm-3
+++ name=dm-3
+++ [[ -n dm-3 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/dm-3 ]]
+++ [[ -r /sys/block/dm-3/dm/name ]]
+++ dev_number=253:3
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 253:3 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 253:3 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 253:3 = 253:3 ']'
+++ echo /dev/mapper/mpath0p1
+++ return 0
++ partition_name=/dev/mapper/mpath0p1
++ partition_name=mapper/mpath0p1
++ partition_name=mpath0p1
+++ echo mpath0p1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=mpath0p
+++ get_disk_size dm-3
+++ local disk_name=dm-3
++++ get_block_size dm-3
++++ '[' -r /sys/block/dm-3/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/dm-3/size ']'
+++ BugIfError 'Could not determine size of disk dm-3, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=208782
+++ local disk_size=106896384
+++ echo 106896384
++ size=106896384
++ [[ -r /sys/block/dm-3/start ]]
++ Log 'Could not determine start of partition mpath0p1.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:14.331006000 Could not determine start of partition mpath0p1.'
2013-04-18 10:31:14.331006000 Could not determine start of partition mpath0p1.
++ start=unknown
++ echo '1 106896384 unknown'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name dm-4
+++ local name=dm-4
+++ name=dm-4
+++ [[ -n dm-4 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/dm-4 ]]
+++ [[ -r /sys/block/dm-4/dm/name ]]
+++ dev_number=253:4
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 253:4 = '' ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0
+++ mapper_number=253:0
+++ '[' 253:4 = 253:0 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p1
+++ mapper_number=253:3
+++ '[' 253:4 = 253:3 ']'
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor mpath0p2
+++ mapper_number=253:4
+++ '[' 253:4 = 253:4 ']'
+++ echo /dev/mapper/mpath0p2
+++ return 0
++ partition_name=/dev/mapper/mpath0p2
++ partition_name=mapper/mpath0p2
++ partition_name=mpath0p2
+++ echo mpath0p2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=mpath0p
+++ get_disk_size dm-4
+++ local disk_name=dm-4
++++ get_block_size dm-4
++++ '[' -r /sys/block/dm-4/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/dm-4/size ']'
+++ BugIfError 'Could not determine size of disk dm-4, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=30716280
+++ local disk_size=15726735360
+++ echo 15726735360
++ size=15726735360
++ [[ -r /sys/block/dm-4/start ]]
++ Log 'Could not determine start of partition mpath0p2.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:14.351887000 Could not determine start of partition mpath0p2.'
2013-04-18 10:31:14.351887000 Could not determine start of partition mpath0p2.
++ start=unknown
++ echo '2 15726735360 unknown'
++ [[ ! -s /tmp/rear.VNUmoOTxAW24793/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/mapper/mpath0 print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.VNUmoOTxAW24793/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.VNUmoOTxAW24793/tmp/partitions /tmp/rear.VNUmoOTxAW24793/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ init_columns 'Number Start End Size Type File system Flags'
++ local 'line=Number Start End Size Type File system Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=59
++ local i=0
++ (( 0 < 59 ))
++ local char=N
++ [[ -n '' ]]
++ word=N
++ [[ N = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 59 ))
++ local char=u
++ [[ -n '' ]]
++ word=Nu
++ [[ u = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word=Num
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 59 ))
++ local char=b
++ [[ -n '' ]]
++ word=Numb
++ [[ b = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Numbe
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Number
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 6 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Number '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Number ]]
++ let start=7-7
+++ echo 'Number '
+++ tr '[:upper:]' '[:lower:]'
++ word='number '
++ columns='number=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 9 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 59 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 14 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=14-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='number=0;start=8;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 59 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 17 < 59 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 18 < 59 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 19 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=20-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='number=0;start=8;end=16;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 22 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 23 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 24 < 59 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 25 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Si
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 26 < 59 ))
++ local char=z
++ [[ -n '' ]]
++ word=Siz
++ [[ z = \ ]]
++ wasspace=
++ let i++
++ (( 27 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Size
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 28 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Size '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Size ]]
++ let start=29-5
+++ echo 'Size '
+++ tr '[:upper:]' '[:lower:]'
++ word='size '
++ columns='number=0;start=8;end=16;size=24;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 30 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 31 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 32 < 59 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 34 < 59 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 35 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 36 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=37-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='number=0;start=8;end=16;size=24;type=32;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 40 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 41 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 59 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 46 < 59 ))
++ local char=s
++ [[ -n yes ]]
++ [[ s = \ ]]
++ word='File s'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 59 ))
++ local char=y
++ [[ -n '' ]]
++ word='File sy'
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word='File sys'
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 59 ))
++ local char=t
++ [[ -n '' ]]
++ word='File syst'
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 50 < 59 ))
++ local char=e
++ [[ -n '' ]]
++ word='File syste'
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 51 < 59 ))
++ local char=m
++ [[ -n '' ]]
++ word='File system'
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 59 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='File system '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 53 < 59 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n File system ]]
++ let start=53-12
+++ echo 'File system '
+++ tr '[:upper:]' '[:lower:]'
++ word='file system '
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 54 < 59 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 59 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 59 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 57 < 59 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 58 < 59 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 59 < 59 ))
++ let start=59-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='number=0;start=8;end=16;size=24;type=32;file system=41;flags=54;'
+++ grep -E '^[ ]*[0-9]' /tmp/rear.VNUmoOTxAW24793/tmp/parted
++ read line
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 32.3kB 107MB 107MB primary ext3 boot'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' number
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++ tr -d ' '
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 32.3kB 107MB 107MB primary ext3 boot' flags
+++ local 'line= 1 32.3kB 107MB 107MB primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='boot;'
+++ echo 'boot;'
++ flaglist=boot
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 107MB 15.8GB 15.7GB primary lvm'
++ [[ -n '' ]]
++ numberfield=number
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' number
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=number
+++ local value=
+++ for header in '$headers'
+++ tr -d ' '
++++ get_column_start number
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=number
++++ local hstart=0
++++ [[ number = \n\u\m\b\e\r ]]
++++ echo 0
+++ tr -d ';'
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size number
+++++ get_column_start number
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header number
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \n\u\m\b\e\r ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \n\u\m\b\e\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 8
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=8
++++ let local size=8-0
++++ echo 8
+++ local size=8
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 107MB 15.8GB 15.7GB primary lvm' flags
+++ local 'line= 2 107MB 15.8GB 15.7GB primary lvm'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
+++ tr -d ,
++++ local header=number
++++ local hstart=0
++++ [[ number = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=8
++++ [[ start = \f\l\a\g\s ]]
+++ tr -d ';'
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=16
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=size
++++ local hstart=24
++++ [[ size = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=32
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local 'header=file system'
++++ local hstart=41
++++ [[ file system = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=54
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 54
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=54
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ number = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ size = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ file system = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 54
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=54
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=number
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=number
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=8
+++++ [[ number = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=16
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=size
+++++ local hstart=24
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=size
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=32
+++++ [[ size = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local 'header=file system'
+++++ local hstart=41
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous='file system'
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=54
+++++ [[ file system = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value='lvm;'
+++ echo 'lvm;'
++ flaglist=lvm
++ flags=
++ for flag in '$flaglist'
++ [[ lvm = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=lvm,
++ [[ -z lvm, ]]
++ sed -i '/^2 /s/$/ lvm/' /tmp/rear.VNUmoOTxAW24793/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n '' ]]
++ read partition_nr size start type flags junk
++ partition_name=/dev/mapper/mpath0p1
+++ get_device_name /dev/mapper/mpath0p1
+++ local name=mapper/mpath0p1
+++ name=mapper/mpath0p1
+++ [[ -n mapper/mpath0p1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/mapper/mpath0p1 ]]
+++ name=mapper/mpath0p1
+++ echo /dev/mapper/mpath0p1
+++ return 1
++ echo 'part /dev/mapper/mpath0 106896384 unknown primary boot /dev/mapper/mpath0p1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/mapper/mpath0p2
+++ get_device_name /dev/mapper/mpath0p2
+++ local name=mapper/mpath0p2
+++ name=mapper/mpath0p2
+++ [[ -n mapper/mpath0p2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/mapper/mpath0p2 ]]
+++ name=mapper/mpath0p2
+++ echo /dev/mapper/mpath0p2
+++ return 1
++ echo 'part /dev/mapper/mpath0 15726735360 unknown primary lvm /dev/mapper/mpath0p2'
++ read partition_nr size start type flags junk
++ read dm_name junk
++ grep -q '^multipath' /var/lib/rear/layout/disklayout.conf
++ PROGS=("${PROGS[@]}" multipath kpartx multipathd)
++ COPY_AS_IS=("${COPY_AS_IS[@]}" /etc/multipath.conf /lib*/multipath)
++ LIB=("${PROGS[@]}" libaio*)
+ test 1
+ set +x
2013-04-18 10:31:14.508168000 Including layout/save/default/30_list_dependencies.sh
+ . /usr/share/rear/layout/save/default/30_list_dependencies.sh
++ generate_layout_dependencies
++ :
++ :
++ local type dev remainder name disk disks vgrp dm_vgrp lvol dm_lvol part mp fs bd nmp temp_nm
++ read type remainder
+++ cat /var/lib/rear/layout/disklayout.conf
++ case $type in
+++ echo '/dev/cciss/c0d0 0'
+++ cut -d ' ' -f 1
++ name=/dev/cciss/c0d0
++ add_component /dev/cciss/c0d0 disk
++ echo 'todo /dev/cciss/c0d0 disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 53687091200 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sda
++ add_component /dev/sda disk
++ echo 'todo /dev/sda disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 106896384 32256 primary boot /dev/sda1'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 106896384 32256 primary boot /dev/sda1'
+++ cut -d ' ' -f 6
++ name=/dev/sda1
++ add_dependency /dev/sda1 /dev/sda
++ echo '/dev/sda1 /dev/sda'
++ add_component /dev/sda1 part
++ echo 'todo /dev/sda1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 15726735360 106928640 primary lvm /dev/sda2'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 15726735360 106928640 primary lvm /dev/sda2'
+++ cut -d ' ' -f 6
++ name=/dev/sda2
++ add_dependency /dev/sda2 /dev/sda
++ echo '/dev/sda2 /dev/sda'
++ add_component /dev/sda2 part
++ echo 'todo /dev/sda2 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdb 161061273600 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdb
++ add_component /dev/sdb disk
++ echo 'todo /dev/sdb disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdb 69684539904 32256 primary boot /dev/sdb1'
+++ cut -d ' ' -f 1
++ disk=/dev/sdb
+++ echo '/dev/sdb 69684539904 32256 primary boot /dev/sdb1'
+++ cut -d ' ' -f 6
++ name=/dev/sdb1
++ add_dependency /dev/sdb1 /dev/sdb
++ echo '/dev/sdb1 /dev/sdb'
++ add_component /dev/sdb1 part
++ echo 'todo /dev/sdb1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdc 53687091200 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdc
++ add_component /dev/sdc disk
++ echo 'todo /dev/sdc disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdc 106896384 32256 primary boot /dev/sdc1'
+++ cut -d ' ' -f 1
++ disk=/dev/sdc
+++ echo '/dev/sdc 106896384 32256 primary boot /dev/sdc1'
+++ cut -d ' ' -f 6
++ name=/dev/sdc1
++ add_dependency /dev/sdc1 /dev/sdc
++ echo '/dev/sdc1 /dev/sdc'
++ add_component /dev/sdc1 part
++ echo 'todo /dev/sdc1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdc 15726735360 106928640 primary lvm /dev/sdc2'
+++ cut -d ' ' -f 1
++ disk=/dev/sdc
+++ echo '/dev/sdc 15726735360 106928640 primary lvm /dev/sdc2'
+++ cut -d ' ' -f 6
++ name=/dev/sdc2
++ add_dependency /dev/sdc2 /dev/sdc
++ echo '/dev/sdc2 /dev/sdc'
++ add_component /dev/sdc2 part
++ echo 'todo /dev/sdc2 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdd 161061273600 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdd
++ add_component /dev/sdd disk
++ echo 'todo /dev/sdd disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdd 69684539904 32256 primary boot /dev/sdd1'
++ disk=/dev/sdd
+++ echo '/dev/sdd 69684539904 32256 primary boot /dev/sdd1'
+++ cut -d ' ' -f 6
++ name=/dev/sdd1
++ add_dependency /dev/sdd1 /dev/sdd
++ echo '/dev/sdd1 /dev/sdd'
++ add_component /dev/sdd1 part
++ echo 'todo /dev/sdd1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sde 53687091200 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sde
++ add_component /dev/sde disk
++ echo 'todo /dev/sde disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sde 106896384 32256 primary boot /dev/sde1'
+++ cut -d ' ' -f 1
++ disk=/dev/sde
+++ echo '/dev/sde 106896384 32256 primary boot /dev/sde1'
+++ cut -d ' ' -f 6
++ name=/dev/sde1
++ add_dependency /dev/sde1 /dev/sde
++ echo '/dev/sde1 /dev/sde'
++ add_component /dev/sde1 part
++ echo 'todo /dev/sde1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sde 15726735360 106928640 primary lvm /dev/sde2'
+++ cut -d ' ' -f 1
++ disk=/dev/sde
+++ cut -d ' ' -f 6
+++ echo '/dev/sde 15726735360 106928640 primary lvm /dev/sde2'
++ name=/dev/sde2
++ add_dependency /dev/sde2 /dev/sde
++ echo '/dev/sde2 /dev/sde'
++ add_component /dev/sde2 part
++ echo 'todo /dev/sde2 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdf 161061273600 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdf
++ add_component /dev/sdf disk
++ echo 'todo /dev/sdf disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdf 69684539904 32256 primary boot /dev/sdf1'
+++ cut -d ' ' -f 1
++ disk=/dev/sdf
+++ echo '/dev/sdf 69684539904 32256 primary boot /dev/sdf1'
+++ cut -d ' ' -f 6
++ name=/dev/sdf1
++ add_dependency /dev/sdf1 /dev/sdf
++ echo '/dev/sdf1 /dev/sdf'
++ add_component /dev/sdf1 part
++ echo 'todo /dev/sdf1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdg 53687091200 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdg
++ add_component /dev/sdg disk
++ echo 'todo /dev/sdg disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdg 106896384 32256 primary boot /dev/sdg1'
+++ cut -d ' ' -f 1
++ disk=/dev/sdg
+++ echo '/dev/sdg 106896384 32256 primary boot /dev/sdg1'
+++ cut -d ' ' -f 6
++ name=/dev/sdg1
++ add_dependency /dev/sdg1 /dev/sdg
++ echo '/dev/sdg1 /dev/sdg'
++ add_component /dev/sdg1 part
++ echo 'todo /dev/sdg1 part'
++ read type remainder
++ case $type in
+++ cut -d ' ' -f 1
+++ echo '/dev/sdg 15726735360 106928640 primary lvm /dev/sdg2'
++ disk=/dev/sdg
+++ echo '/dev/sdg 15726735360 106928640 primary lvm /dev/sdg2'
+++ cut -d ' ' -f 6
++ name=/dev/sdg2
++ add_dependency /dev/sdg2 /dev/sdg
++ echo '/dev/sdg2 /dev/sdg'
++ add_component /dev/sdg2 part
++ echo 'todo /dev/sdg2 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sdh 161061273600 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sdh
++ add_component /dev/sdh disk
++ echo 'todo /dev/sdh disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sdh 69684539904 32256 primary boot /dev/sdh1'
+++ cut -d ' ' -f 1
++ disk=/dev/sdh
+++ echo '/dev/sdh 69684539904 32256 primary boot /dev/sdh1'
+++ cut -d ' ' -f 6
++ name=/dev/sdh1
++ add_dependency /dev/sdh1 /dev/sdh
++ echo '/dev/sdh1 /dev/sdh'
++ add_component /dev/sdh1 part
++ echo 'todo /dev/sdh1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root /dev/mpath/mpath0p2 RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM 30716280'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root /dev/mpath/mpath0p2 RMb70v-BUnQ-0Nhy-9Lpy-R8zd-s7Uh-19idnM 30716280'
+++ cut -d ' ' -f 2
++ part=/dev/mpath/mpath0p2
++ add_dependency /dev/vg_root pv:/dev/mpath/mpath0p2
++ echo '/dev/vg_root pv:/dev/mpath/mpath0p2'
++ add_dependency pv:/dev/mpath/mpath0p2 /dev/mpath/mpath0p2
++ echo 'pv:/dev/mpath/mpath0p2 /dev/mpath/mpath0p2'
++ add_component pv:/dev/mpath/mpath0p2 lvmdev
++ echo 'todo pv:/dev/mpath/mpath0p2 lvmdev'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root 32768 468 15335424'
+++ cut -d ' ' -f 1
++ name=/dev/vg_root
++ add_component /dev/vg_root lvmgrp
++ echo 'todo /dev/vg_root lvmgrp'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_root 62 4063232'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_root 62 4063232'
+++ cut -d ' ' -f 2
++ lvol=lv_root
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_root
++ add_dependency /dev/mapper/vg_root-lv_root /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_root /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_root lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_root lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_tmp 31 2031616'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_tmp 31 2031616'
+++ cut -d ' ' -f 2
++ lvol=lv_tmp
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_tmp
++ add_dependency /dev/mapper/vg_root-lv_tmp /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_tmp /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_tmp lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_tmp lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_opt 46 3014656'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_opt 46 3014656'
+++ cut -d ' ' -f 2
++ lvol=lv_opt
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_opt
++ add_dependency /dev/mapper/vg_root-lv_opt /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_opt /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_opt lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_opt lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_autosys 15 983040'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_autosys 15 983040'
+++ cut -d ' ' -f 2
++ lvol=lv_autosys
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_autosys
++ add_dependency /dev/mapper/vg_root-lv_autosys /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_autosys /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_autosys lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_autosys lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_var 156 10223616'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_var 156 10223616'
+++ cut -d ' ' -f 2
++ lvol=lv_var
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_var
++ add_dependency /dev/mapper/vg_root-lv_var /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_var /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_var lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_var lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_home 3 196608'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_home 3 196608'
+++ cut -d ' ' -f 2
++ lvol=lv_home
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_home
++ add_dependency /dev/mapper/vg_root-lv_home /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_home /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_home lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_home lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_usr 78 5111808'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_usr 78 5111808'
+++ cut -d ' ' -f 2
++ lvol=lv_usr
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_usr
++ add_dependency /dev/mapper/vg_root-lv_usr /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_usr /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_usr lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_usr lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/vg_root lv_tivoli 62 4063232'
+++ cut -d ' ' -f 1
++ vgrp=/dev/vg_root
+++ echo '/dev/vg_root lv_tivoli 62 4063232'
+++ cut -d ' ' -f 2
++ lvol=lv_tivoli
++ dm_vgrp=/dev/vg_root
++ dm_lvol=lv_tivoli
++ add_dependency /dev/mapper/vg_root-lv_tivoli /dev/vg_root
++ echo '/dev/mapper/vg_root-lv_tivoli /dev/vg_root'
++ add_component /dev/mapper/vg_root-lv_tivoli lvmvol
++ echo 'todo /dev/mapper/vg_root-lv_tivoli lvmvol'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_root / ext3 uuid=d492b1d1-a56a-41df-9541-870f2e03c992 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_root
+++ echo '/dev/mapper/vg_root-lv_root / ext3 uuid=d492b1d1-a56a-41df-9541-870f2e03c992 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/
++ add_dependency fs:/ /dev/mapper/vg_root-lv_root
++ echo 'fs:/ /dev/mapper/vg_root-lv_root'
++ add_component fs:/ fs
++ echo 'todo fs:/ fs'
++ read fs bd nmp junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' '' '!=' / ']'
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_tmp /tmp ext3 uuid=d69dc609-67c8-41ad-9da6-f04b81e43828 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_tmp
+++ echo '/dev/mapper/vg_root-lv_tmp /tmp ext3 uuid=d69dc609-67c8-41ad-9da6-f04b81e43828 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/tmp
++ add_dependency fs:/tmp /dev/mapper/vg_root-lv_tmp
++ echo 'fs:/tmp /dev/mapper/vg_root-lv_tmp'
++ add_component fs:/tmp fs
++ echo 'todo fs:/tmp fs'
++ read fs bd nmp junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' tmp '!=' /tmp ']'
++ '[' /tmp '!=' / ']'
++ add_dependency fs:/tmp fs:/
++ echo 'fs:/tmp fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /tmp '!=' /tmp ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_opt /opt ext3 uuid=576be55e-789d-48d7-8387-f51f06237826 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4093 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_opt
+++ echo '/dev/mapper/vg_root-lv_opt /opt ext3 uuid=576be55e-789d-48d7-8387-f51f06237826 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4093 options=rw'
+++ cut -d ' ' -f 2
++ mp=/opt
++ add_dependency fs:/opt /dev/mapper/vg_root-lv_opt
++ echo 'fs:/opt /dev/mapper/vg_root-lv_opt'
++ add_component fs:/opt fs
++ echo 'todo fs:/opt fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' opt '!=' /opt ']'
++ '[' /opt '!=' / ']'
++ add_dependency fs:/opt fs:/
++ echo 'fs:/opt fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /opt '!=' /opt ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_autosys /opt/CA ext3 uuid=a0a70ce7-7e40-4ea8-9555-5976079397a5 label= blocksize=1024 reserved_blocks=5% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_autosys
+++ echo '/dev/mapper/vg_root-lv_autosys /opt/CA ext3 uuid=a0a70ce7-7e40-4ea8-9555-5976079397a5 label= blocksize=1024 reserved_blocks=5% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/opt/CA
++ add_dependency fs:/opt/CA /dev/mapper/vg_root-lv_autosys
++ echo 'fs:/opt/CA /dev/mapper/vg_root-lv_autosys'
++ add_component fs:/opt/CA fs
++ echo 'todo fs:/opt/CA fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' opt/CA '!=' /opt/CA ']'
++ '[' /opt/CA '!=' / ']'
++ add_dependency fs:/opt/CA fs:/
++ echo 'fs:/opt/CA fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' CA '!=' /opt/CA ']'
++ '[' /opt/CA '!=' /opt ']'
++ add_dependency fs:/opt/CA fs:/opt
++ echo 'fs:/opt/CA fs:/opt'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /opt/CA '!=' /opt/CA ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_var /var ext3 uuid=8bb95a92-d539-4343-a51d-133cc9ba1208 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_var
+++ echo '/dev/mapper/vg_root-lv_var /var ext3 uuid=8bb95a92-d539-4343-a51d-133cc9ba1208 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/var
++ add_dependency fs:/var /dev/mapper/vg_root-lv_var
++ echo 'fs:/var /dev/mapper/vg_root-lv_var'
++ add_component fs:/var fs
++ echo 'todo fs:/var fs'
++ read fs bd nmp junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' var '!=' /var ']'
++ '[' /var '!=' / ']'
++ add_dependency fs:/var fs:/
++ echo 'fs:/var fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_home /home ext3 uuid=8d615552-8aa2-4171-916e-b6bf511d1b71 label= blocksize=1024 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_home
+++ echo '/dev/mapper/vg_root-lv_home /home ext3 uuid=8d615552-8aa2-4171-916e-b6bf511d1b71 label= blocksize=1024 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/home
++ add_dependency fs:/home /dev/mapper/vg_root-lv_home
++ echo 'fs:/home /dev/mapper/vg_root-lv_home'
++ add_component fs:/home fs
++ echo 'todo fs:/home fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' home '!=' /home ']'
++ '[' /home '!=' / ']'
++ add_dependency fs:/home fs:/
++ echo 'fs:/home fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /home '!=' /home ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_usr /usr ext3 uuid=f4954e39-c2f3-419c-b86b-4b4fa2b605bd label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4093 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_usr
+++ echo '/dev/mapper/vg_root-lv_usr /usr ext3 uuid=f4954e39-c2f3-419c-b86b-4b4fa2b605bd label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4093 options=rw'
+++ cut -d ' ' -f 2
++ mp=/usr
++ add_dependency fs:/usr /dev/mapper/vg_root-lv_usr
++ echo 'fs:/usr /dev/mapper/vg_root-lv_usr'
++ add_component fs:/usr fs
++ echo 'todo fs:/usr fs'
++ read fs bd nmp junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' usr '!=' /usr ']'
++ '[' /usr '!=' / ']'
++ add_dependency fs:/usr fs:/
++ echo 'fs:/usr fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /usr '!=' /usr ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/vg_root-lv_tivoli /usr/monitoring/Tivoli ext3 uuid=d3f4b887-55cb-4cb9-929f-961ee6dd5d2d label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/vg_root-lv_tivoli
+++ echo '/dev/mapper/vg_root-lv_tivoli /usr/monitoring/Tivoli ext3 uuid=d3f4b887-55cb-4cb9-929f-961ee6dd5d2d label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4096 options=rw'
+++ cut -d ' ' -f 2
++ mp=/usr/monitoring/Tivoli
++ add_dependency fs:/usr/monitoring/Tivoli /dev/mapper/vg_root-lv_tivoli
++ echo 'fs:/usr/monitoring/Tivoli /dev/mapper/vg_root-lv_tivoli'
++ add_component fs:/usr/monitoring/Tivoli fs
++ echo 'todo fs:/usr/monitoring/Tivoli fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ add_dependency fs:/usr/monitoring/Tivoli fs:/
++ echo 'fs:/usr/monitoring/Tivoli fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ '[' /usr/monitoring/Tivoli '!=' /usr ']'
++ add_dependency fs:/usr/monitoring/Tivoli fs:/usr
++ echo 'fs:/usr/monitoring/Tivoli fs:/usr'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /usr/monitoring/Tivoli '!=' /usr/monitoring/Tivoli ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath0p1 /boot ext3 uuid=547ccc1a-0cb9-46af-aef8-186faa7bb44b label=/boot blocksize=1024 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4094 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/mpath0p1
+++ echo '/dev/mapper/mpath0p1 /boot ext3 uuid=547ccc1a-0cb9-46af-aef8-186faa7bb44b label=/boot blocksize=1024 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=4094 options=rw'
+++ cut -d ' ' -f 2
++ mp=/boot
++ add_dependency fs:/boot /dev/mapper/mpath0p1
++ echo 'fs:/boot /dev/mapper/mpath0p1'
++ add_component fs:/boot fs
++ echo 'todo fs:/boot fs'
++ read fs bd nmp junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' boot '!=' /boot ']'
++ '[' /boot '!=' / ']'
++ add_dependency fs:/boot fs:/
++ echo 'fs:/boot fs:/'
++ read fs bd nmp junk
++ '[' /tmp '!=' / ']'
++ temp_nmp=/tmp/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /opt '!=' / ']'
++ temp_nmp=/opt/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /opt/CA '!=' / ']'
++ temp_nmp=/opt/CA/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /home '!=' / ']'
++ temp_nmp=/home/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /usr '!=' / ']'
++ temp_nmp=/usr/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /usr/monitoring/Tivoli '!=' / ']'
++ temp_nmp=/usr/monitoring/Tivoli/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ '[' /boot '!=' / ']'
++ temp_nmp=/boot/
++ '[' /boot '!=' /boot ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath1p1 uuid= label=SWAP-mpath1p1'
+++ cut -d ' ' -f 1
++ dev=/dev/mapper/mpath1p1
++ add_dependency swap:/dev/mapper/mpath1p1 /dev/mapper/mpath1p1
++ echo 'swap:/dev/mapper/mpath1p1 /dev/mapper/mpath1p1'
++ add_component swap:/dev/mapper/mpath1p1 swap
++ echo 'todo swap:/dev/mapper/mpath1p1 swap'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath1 /dev/sdb,/dev/sdd,/dev/sdf,/dev/sdh'
+++ cut -d ' ' -f 1
++ name=/dev/mapper/mpath1
+++ echo '/dev/mapper/mpath1 /dev/sdb,/dev/sdd,/dev/sdf,/dev/sdh'
+++ cut -d ' ' -f 2
+++ tr , ' '
++ disks='/dev/sdb /dev/sdd /dev/sdf /dev/sdh'
++ add_component /dev/mapper/mpath1 multipath
++ echo 'todo /dev/mapper/mpath1 multipath'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath1 /dev/sdb
++ echo '/dev/mapper/mpath1 /dev/sdb'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath1 /dev/sdd
++ echo '/dev/mapper/mpath1 /dev/sdd'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath1 /dev/sdf
++ echo '/dev/mapper/mpath1 /dev/sdf'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath1 /dev/sdh
++ echo '/dev/mapper/mpath1 /dev/sdh'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath1 69684539904 unknown primary boot /dev/mapper/mpath1p1'
+++ cut -d ' ' -f 1
++ disk=/dev/mapper/mpath1
+++ echo '/dev/mapper/mpath1 69684539904 unknown primary boot /dev/mapper/mpath1p1'
+++ cut -d ' ' -f 6
++ name=/dev/mapper/mpath1p1
++ add_dependency /dev/mapper/mpath1p1 /dev/mapper/mpath1
++ echo '/dev/mapper/mpath1p1 /dev/mapper/mpath1'
++ add_component /dev/mapper/mpath1p1 part
++ echo 'todo /dev/mapper/mpath1p1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath0 /dev/sda,/dev/sdc,/dev/sde,/dev/sdg'
+++ cut -d ' ' -f 1
++ name=/dev/mapper/mpath0
+++ echo '/dev/mapper/mpath0 /dev/sda,/dev/sdc,/dev/sde,/dev/sdg'
+++ cut -d ' ' -f 2
+++ tr , ' '
++ disks='/dev/sda /dev/sdc /dev/sde /dev/sdg'
++ add_component /dev/mapper/mpath0 multipath
++ echo 'todo /dev/mapper/mpath0 multipath'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath0 /dev/sda
++ echo '/dev/mapper/mpath0 /dev/sda'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath0 /dev/sdc
++ echo '/dev/mapper/mpath0 /dev/sdc'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath0 /dev/sde
++ echo '/dev/mapper/mpath0 /dev/sde'
++ for disk in '$disks'
++ add_dependency /dev/mapper/mpath0 /dev/sdg
++ echo '/dev/mapper/mpath0 /dev/sdg'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath0 106896384 unknown primary boot /dev/mapper/mpath0p1'
+++ cut -d ' ' -f 1
++ disk=/dev/mapper/mpath0
+++ echo '/dev/mapper/mpath0 106896384 unknown primary boot /dev/mapper/mpath0p1'
+++ cut -d ' ' -f 6
++ name=/dev/mapper/mpath0p1
++ add_dependency /dev/mapper/mpath0p1 /dev/mapper/mpath0
++ echo '/dev/mapper/mpath0p1 /dev/mapper/mpath0'
++ add_component /dev/mapper/mpath0p1 part
++ echo 'todo /dev/mapper/mpath0p1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/mapper/mpath0 15726735360 unknown primary lvm /dev/mapper/mpath0p2'
+++ cut -d ' ' -f 1
++ disk=/dev/mapper/mpath0
+++ echo '/dev/mapper/mpath0 15726735360 unknown primary lvm /dev/mapper/mpath0p2'
+++ cut -d ' ' -f 6
++ name=/dev/mapper/mpath0p2
++ add_dependency /dev/mapper/mpath0p2 /dev/mapper/mpath0
++ echo '/dev/mapper/mpath0p2 /dev/mapper/mpath0'
++ add_component /dev/mapper/mpath0p2 part
++ echo 'todo /dev/mapper/mpath0p2 part'
++ read type remainder
+ test 1
+ set +x
2013-04-18 10:31:14.735776000 Including layout/save/default/31_include_exclude.sh
+ . /usr/share/rear/layout/save/default/31_include_exclude.sh
++ '[' 0 -gt 0 ']'
+ test 1
+ set +x
2013-04-18 10:31:14.738738000 Including layout/save/default/32_autoexclude.sh
+ . /usr/share/rear/layout/save/default/32_autoexclude.sh
++ '[' -n '' ']'
++ [[ -n /media ]]
++ for exclude in '"${AUTOEXCLUDE_PATH[@]}"'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs device mountpoint junk
++ [[ / != \/ ]]
++ read fs device mountpoint junk
++ [[ /tmp != \/\t\m\p ]]
++ read fs device mountpoint junk
++ [[ /opt != \/\o\p\t ]]
++ read fs device mountpoint junk
++ [[ /opt/CA != \/\o\p\t\/\C\A ]]
++ read fs device mountpoint junk
++ [[ /var != \/\v\a\r ]]
++ read fs device mountpoint junk
++ [[ /home != \/\h\o\m\e ]]
++ read fs device mountpoint junk
++ [[ /usr != \/\u\s\r ]]
++ read fs device mountpoint junk
++ [[ /usr/monitoring/Tivoli != \/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
++ read fs device mountpoint junk
++ [[ /boot != \/\b\o\o\t ]]
++ read fs device mountpoint junk
++ '[' -n y ']'
++ used_disks=()
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs device mountpoint junk
++ IsInArray /
++ local needle=/
++ shift
++ [[ / == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/ ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/
+++ get_parent_components fs:/ disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_root /dev/vg_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_root /dev/vg_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /tmp
++ local needle=/tmp
++ shift
++ [[ /tmp == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/tmp ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/tmp
+++ get_parent_components fs:/tmp disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/tmp
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\t\m\p ]]
+++ IsInArray /dev/mapper/vg_root-lv_tmp
+++ local needle=/dev/mapper/vg_root-lv_tmp
+++ shift
+++ [[ /dev/mapper/vg_root-lv_tmp == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\t\m\p ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_tmp
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_tmp
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tmp fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_tmp fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_tmp fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tmp fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_tmp fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_tmp
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_tmp ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /opt
++ local needle=/opt
++ shift
++ [[ /opt == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/opt ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/opt
+++ get_parent_components fs:/opt disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t ]]
+++ IsInArray /dev/mapper/vg_root-lv_opt
+++ local needle=/dev/mapper/vg_root-lv_opt
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_opt
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_opt
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_opt fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_opt fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_opt fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_opt fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_opt
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_opt ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /opt/CA
++ local needle=/opt/CA
++ shift
++ [[ /opt/CA == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/opt/CA ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/opt/CA
+++ get_parent_components fs:/opt/CA disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt/CA
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t\/\C\A ]]
+++ IsInArray /dev/mapper/vg_root-lv_autosys
+++ local needle=/dev/mapper/vg_root-lv_autosys
+++ shift
+++ [[ /dev/mapper/vg_root-lv_autosys == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t\/\C\A ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_autosys
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t\/\C\A ]]
+++ IsInArray fs:/opt /dev/mapper/vg_root-lv_autosys fs:/
+++ local needle=fs:/opt
+++ shift
+++ [[ fs:/opt == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ fs:/opt == \f\s\:\/ ]]
+++ shift
+++ [[ fs:/opt == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\o\p\t\/\C\A ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/mapper/vg_root-lv_autosys
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=fs:/opt
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t ]]
+++ IsInArray /dev/mapper/vg_root-lv_opt /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=/dev/mapper/vg_root-lv_opt
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_opt == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\o\p\t ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ fs:/ == \f\s\:\/ ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\o\p\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_opt
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_autosys fs:/ fs:/opt /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_opt pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\a\u\t\o\s\y\s ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/\o\p\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\o\p\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_autosys
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_autosys ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/opt
++++ grep -E '^[^ ]+ fs:/opt ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_opt
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_opt ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /var
++ local needle=/var
++ shift
++ [[ /var == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/var ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/var
+++ get_parent_components fs:/var disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/var
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray /dev/mapper/vg_root-lv_var
+++ local needle=/dev/mapper/vg_root-lv_var
+++ shift
+++ [[ /dev/mapper/vg_root-lv_var == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_var
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_var
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_var fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_var fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_var fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_var fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_var fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\v\a\r ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_var
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_var ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /home
++ local needle=/home
++ shift
++ [[ /home == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/home ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/home
+++ get_parent_components fs:/home disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/home
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\h\o\m\e ]]
+++ IsInArray /dev/mapper/vg_root-lv_home
+++ local needle=/dev/mapper/vg_root-lv_home
+++ shift
+++ [[ /dev/mapper/vg_root-lv_home == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\h\o\m\e ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_home
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\h\o\m\e ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_home
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_home fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_home fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_home fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_home fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_home fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\h\o\m\e ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_home
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_home ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /usr
++ local needle=/usr
++ shift
++ [[ /usr == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/usr ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/usr
+++ get_parent_components fs:/usr disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/usr
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r ]]
+++ IsInArray /dev/mapper/vg_root-lv_usr
+++ local needle=/dev/mapper/vg_root-lv_usr
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_usr
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_usr
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_usr fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_usr fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_usr fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_usr fs:/ /dev/vg_root /dev/mapper/vg_root-lv_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_usr
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_usr ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /usr/monitoring/Tivoli
++ local needle=/usr/monitoring/Tivoli
++ shift
++ [[ /usr/monitoring/Tivoli == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/usr/monitoring/Tivoli ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/usr/monitoring/Tivoli
+++ get_parent_components fs:/usr/monitoring/Tivoli disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/usr/monitoring/Tivoli
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ IsInArray /dev/mapper/vg_root-lv_tivoli
+++ local needle=/dev/mapper/vg_root-lv_tivoli
+++ shift
+++ [[ /dev/mapper/vg_root-lv_tivoli == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_tivoli
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ IsInArray fs:/usr /dev/mapper/vg_root-lv_tivoli fs:/
+++ local needle=fs:/usr
+++ shift
+++ [[ fs:/usr == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ fs:/usr == \f\s\:\/ ]]
+++ shift
+++ [[ fs:/usr == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\u\s\r\/\m\o\n\i\t\o\r\i\n\g\/\T\i\v\o\l\i ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/mapper/vg_root-lv_tivoli
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=fs:/usr
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r ]]
+++ IsInArray /dev/mapper/vg_root-lv_usr /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=/dev/mapper/vg_root-lv_usr
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_usr == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\u\s\r ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ fs:/ == \f\s\:\/ ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\u\s\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_usr
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr pv:/dev/mpath/mpath0p2
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_tivoli fs:/ fs:/usr /dev/vg_root /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_usr pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\i\v\o\l\i ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/\u\s\r ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\u\s\r ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_tivoli
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_tivoli ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/usr
++++ grep -E '^[^ ]+ fs:/usr ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_usr
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_usr ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks=
++ read fs device mountpoint junk
++ IsInArray /boot
++ local needle=/boot
++ shift
++ [[ /boot == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/boot ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/boot
+++ get_parent_components fs:/boot disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/boot
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\b\o\o\t ]]
+++ IsInArray /dev/mapper/mpath0p1
+++ local needle=/dev/mapper/mpath0p1
+++ shift
+++ [[ /dev/mapper/mpath0p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\b\o\o\t ]]
+++ IsInArray fs:/ /dev/mapper/mpath0p1
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\b\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/mpath0p1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ IsInArray /dev/mapper/mpath0 /dev/mapper/mpath0p1 fs:/
+++ local needle=/dev/mapper/mpath0
+++ shift
+++ [[ /dev/mapper/mpath0 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath0 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/mpath0 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/mpath0
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ IsInArray /dev/sda /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ IsInArray /dev/sdc /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda
+++ local needle=/dev/sdc
+++ shift
+++ [[ /dev/sdc == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/sdc == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sdc == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/sdc == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/sdc == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sdc == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ IsInArray /dev/sde /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda /dev/sdc
+++ local needle=/dev/sde
+++ shift
+++ [[ /dev/sde == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/sde == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sde == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/sde == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/sde == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sde == \/\d\e\v\/\s\d\c ]]
+++ shift
+++ [[ /dev/sde == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ IsInArray /dev/sdg /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda /dev/sdc /dev/sde
+++ local needle=/dev/sdg
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/sdg == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\s\d\c ]]
+++ shift
+++ [[ /dev/sdg == \/\d\e\v\/\s\d\e ]]
+++ shift
+++ [[ /dev/sdg == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 5 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda /dev/sdc /dev/sde /dev/sdg
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\s\d\c ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\s\d\e ]]
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\s\d\g ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 5 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 4 ))
+++ current=/dev/sdc
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\s\d\c ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 3 ))
+++ current=/dev/sde
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\s\d\e ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sdg
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\s\d\g ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda /dev/sdc /dev/sde /dev/sdg /dev/vg_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\c ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\e ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\g ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/mpath0p1 fs:/ /dev/mapper/mpath0 /dev/mapper/vg_root-lv_root /dev/sda /dev/sdc /dev/sde /dev/sdg /dev/vg_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0\p\1 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\c ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\e ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\s\d\g ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/mpath0p1
++++ grep -E '^[^ ]+ /dev/mapper/mpath0p1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/mpath0
++++ grep -E '^[^ ]+ /dev/mapper/mpath0 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=multipath
+++ [[ multipath != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mapper/vg_root-lv_root
++++ cut -d ' ' -f 3
++++ grep -E '^[^ ]+ /dev/mapper/vg_root-lv_root ' /var/lib/rear/layout/disktodo.conf
+++ type=lvmvol
+++ [[ lvmvol != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sdc
++++ grep -E '^[^ ]+ /dev/sdc ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sdc
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sde
++++ grep -E '^[^ ]+ /dev/sde ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sde
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sdg
++++ grep -E '^[^ ]+ /dev/sdg ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sdg
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/vg_root
++++ grep -E '^[^ ]+ /dev/vg_root ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmgrp
+++ [[ lvmgrp != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type pv:/dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ pv:/dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=lvmdev
+++ [[ lvmdev != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/mpath/mpath0p2
++++ grep -E '^[^ ]+ /dev/mpath/mpath0p2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=
+++ [[ '' != \d\i\s\k ]]
+++ continue
++ disks='/dev/sda
/dev/sdc
/dev/sde
/dev/sdg'
++ for disk in '$disks'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ used_disks=("${used_disks[@]}" "$disk")
++ for disk in '$disks'
++ IsInArray /dev/sdc /dev/sda
++ local needle=/dev/sdc
++ shift
++ [[ /dev/sdc == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdc == '' ]]
++ shift
++ return 1
++ used_disks=("${used_disks[@]}" "$disk")
++ for disk in '$disks'
++ IsInArray /dev/sde /dev/sda /dev/sdc
++ local needle=/dev/sde
++ shift
++ [[ /dev/sde == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sde == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sde == '' ]]
++ shift
++ return 1
++ used_disks=("${used_disks[@]}" "$disk")
++ for disk in '$disks'
++ IsInArray /dev/sdg /dev/sda /dev/sdc /dev/sde
++ local needle=/dev/sdg
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdg == '' ]]
++ shift
++ return 1
++ used_disks=("${used_disks[@]}" "$disk")
++ read fs device mountpoint junk
+++ grep '^disk' /var/lib/rear/layout/disklayout.conf
++ read disk name junk
++ IsInArray /dev/cciss/c0d0 /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/cciss/c0d0
++ shift
++ [[ /dev/cciss/c0d0 == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/cciss/c0d0 == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/cciss/c0d0 == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/cciss/c0d0 == \/\d\e\v\/\s\d\g ]]
++ shift
++ [[ /dev/cciss/c0d0 == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/cciss/c0d0 is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.099183000 Disk /dev/cciss/c0d0 is not used by any mounted filesystem. Excluding.'
2013-04-18 10:31:15.099183000 Disk /dev/cciss/c0d0 is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/cciss/c0d0
++ Debug 'Marking /dev/cciss/c0d0 as done.'
++ test 1
++ Log 'Marking /dev/cciss/c0d0 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.101223000 Marking /dev/cciss/c0d0 as done.'
2013-04-18 10:31:15.101223000 Marking /dev/cciss/c0d0 as done.
++ sed -i 's;todo\ /dev/cciss/c0d0\ ;done\ /dev/cciss/c0d0\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/cciss/c0d0
+++ get_child_components /dev/cciss/c0d0
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/cciss/c0d0
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\c\c\i\s\s\/\c\0\d\0 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
++ read disk name junk
++ IsInArray /dev/sda /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read disk name junk
++ IsInArray /dev/sdb /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdb
++ shift
++ [[ /dev/sdb == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdb == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdb == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdb == \/\d\e\v\/\s\d\g ]]
++ shift
++ [[ /dev/sdb == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/sdb is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.108252000 Disk /dev/sdb is not used by any mounted filesystem. Excluding.'
2013-04-18 10:31:15.108252000 Disk /dev/sdb is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/sdb
++ Debug 'Marking /dev/sdb as done.'
++ test 1
++ Log 'Marking /dev/sdb as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.110293000 Marking /dev/sdb as done.'
2013-04-18 10:31:15.110293000 Marking /dev/sdb as done.
++ sed -i 's;todo\ /dev/sdb\ ;done\ /dev/sdb\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/sdb
+++ get_child_components /dev/sdb
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/sdb
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\b ]]
+++ IsInArray /dev/sdb1
+++ local needle=/dev/sdb1
+++ shift
+++ [[ /dev/sdb1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\b ]]
+++ IsInArray /dev/mapper/mpath1 /dev/sdb1
+++ local needle=/dev/mapper/mpath1
+++ shift
+++ [[ /dev/mapper/mpath1 == \/\d\e\v\/\s\d\b\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\b ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sdb1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\b\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ IsInArray /dev/mapper/mpath1p1 /dev/sdb1 /dev/mapper/mpath1
+++ local needle=/dev/mapper/mpath1p1
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\b\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ IsInArray swap:/dev/mapper/mpath1p1 /dev/sdb1 /dev/mapper/mpath1 /dev/mapper/mpath1p1
+++ local needle=swap:/dev/mapper/mpath1p1
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\b\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=swap:/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sdb1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1p1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo swap:/dev/mapper/mpath1p1
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/sdb1 as done (dependent on /dev/sdb)'
++ test 1
++ Log 'Marking /dev/sdb1 as done (dependent on /dev/sdb)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.128816000 Marking /dev/sdb1 as done (dependent on /dev/sdb)'
2013-04-18 10:31:15.128816000 Marking /dev/sdb1 as done (dependent on /dev/sdb)
++ mark_as_done /dev/sdb1
++ Debug 'Marking /dev/sdb1 as done.'
++ test 1
++ Log 'Marking /dev/sdb1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.130905000 Marking /dev/sdb1 as done.'
2013-04-18 10:31:15.130905000 Marking /dev/sdb1 as done.
++ sed -i 's;todo\ /dev/sdb1\ ;done\ /dev/sdb1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdb)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdb)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.134450000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdb)'
2013-04-18 10:31:15.134450000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdb)
++ mark_as_done /dev/mapper/mpath1
++ Debug 'Marking /dev/mapper/mpath1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.136443000 Marking /dev/mapper/mpath1 as done.'
2013-04-18 10:31:15.136443000 Marking /dev/mapper/mpath1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1\ ;done\ /dev/mapper/mpath1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.140454000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
2013-04-18 10:31:15.140454000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdb)
++ mark_as_done /dev/mapper/mpath1p1
++ Debug 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.142482000 Marking /dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.142482000 Marking /dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1p1\ ;done\ /dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.146504000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdb)'
2013-04-18 10:31:15.146504000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdb)
++ mark_as_done swap:/dev/mapper/mpath1p1
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.148645000 Marking swap:/dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.148645000 Marking swap:/dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ swap:/dev/mapper/mpath1p1\ ;done\ swap:/dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ read disk name junk
++ IsInArray /dev/sdc /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdc
++ shift
++ [[ /dev/sdc == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdc == \/\d\e\v\/\s\d\c ]]
++ return 0
++ read disk name junk
++ IsInArray /dev/sdd /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdd
++ shift
++ [[ /dev/sdd == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdd == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdd == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdd == \/\d\e\v\/\s\d\g ]]
++ shift
++ [[ /dev/sdd == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/sdd is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.152922000 Disk /dev/sdd is not used by any mounted filesystem. Excluding.'
2013-04-18 10:31:15.152922000 Disk /dev/sdd is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/sdd
++ Debug 'Marking /dev/sdd as done.'
++ test 1
++ Log 'Marking /dev/sdd as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.155140000 Marking /dev/sdd as done.'
2013-04-18 10:31:15.155140000 Marking /dev/sdd as done.
++ sed -i 's;todo\ /dev/sdd\ ;done\ /dev/sdd\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/sdd
+++ get_child_components /dev/sdd
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/sdd
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\d ]]
+++ IsInArray /dev/sdd1
+++ local needle=/dev/sdd1
+++ shift
+++ [[ /dev/sdd1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\d ]]
+++ IsInArray /dev/mapper/mpath1 /dev/sdd1
+++ local needle=/dev/mapper/mpath1
+++ shift
+++ [[ /dev/mapper/mpath1 == \/\d\e\v\/\s\d\d\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\d ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sdd1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\d\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ IsInArray /dev/mapper/mpath1p1 /dev/sdd1 /dev/mapper/mpath1
+++ local needle=/dev/mapper/mpath1p1
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\d\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ IsInArray swap:/dev/mapper/mpath1p1 /dev/sdd1 /dev/mapper/mpath1 /dev/mapper/mpath1p1
+++ local needle=swap:/dev/mapper/mpath1p1
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\d\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=swap:/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sdd1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1p1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo swap:/dev/mapper/mpath1p1
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/sdd1 as done (dependent on /dev/sdd)'
++ test 1
++ Log 'Marking /dev/sdd1 as done (dependent on /dev/sdd)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.172239000 Marking /dev/sdd1 as done (dependent on /dev/sdd)'
2013-04-18 10:31:15.172239000 Marking /dev/sdd1 as done (dependent on /dev/sdd)
++ mark_as_done /dev/sdd1
++ Debug 'Marking /dev/sdd1 as done.'
++ test 1
++ Log 'Marking /dev/sdd1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.174187000 Marking /dev/sdd1 as done.'
2013-04-18 10:31:15.174187000 Marking /dev/sdd1 as done.
++ sed -i 's;todo\ /dev/sdd1\ ;done\ /dev/sdd1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdd)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdd)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.177657000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdd)'
2013-04-18 10:31:15.177657000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdd)
++ mark_as_done /dev/mapper/mpath1
++ Debug 'Marking /dev/mapper/mpath1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.179868000 Marking /dev/mapper/mpath1 as done.'
2013-04-18 10:31:15.179868000 Marking /dev/mapper/mpath1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1\ ;done\ /dev/mapper/mpath1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.183757000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
2013-04-18 10:31:15.183757000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdd)
++ mark_as_done /dev/mapper/mpath1p1
++ Debug 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.185879000 Marking /dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.185879000 Marking /dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1p1\ ;done\ /dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.189674000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdd)'
2013-04-18 10:31:15.189674000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdd)
++ mark_as_done swap:/dev/mapper/mpath1p1
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.192045000 Marking swap:/dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.192045000 Marking swap:/dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ swap:/dev/mapper/mpath1p1\ ;done\ swap:/dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ read disk name junk
++ IsInArray /dev/sde /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sde
++ shift
++ [[ /dev/sde == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sde == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sde == \/\d\e\v\/\s\d\e ]]
++ return 0
++ read disk name junk
++ IsInArray /dev/sdf /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdf
++ shift
++ [[ /dev/sdf == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdf == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdf == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdf == \/\d\e\v\/\s\d\g ]]
++ shift
++ [[ /dev/sdf == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/sdf is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.196552000 Disk /dev/sdf is not used by any mounted filesystem. Excluding.'
2013-04-18 10:31:15.196552000 Disk /dev/sdf is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/sdf
++ Debug 'Marking /dev/sdf as done.'
++ test 1
++ Log 'Marking /dev/sdf as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.198734000 Marking /dev/sdf as done.'
2013-04-18 10:31:15.198734000 Marking /dev/sdf as done.
++ sed -i 's;todo\ /dev/sdf\ ;done\ /dev/sdf\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/sdf
+++ get_child_components /dev/sdf
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/sdf
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\f ]]
+++ IsInArray /dev/sdf1
+++ local needle=/dev/sdf1
+++ shift
+++ [[ /dev/sdf1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\f ]]
+++ IsInArray /dev/mapper/mpath1 /dev/sdf1
+++ local needle=/dev/mapper/mpath1
+++ shift
+++ [[ /dev/mapper/mpath1 == \/\d\e\v\/\s\d\f\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\f ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sdf1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\f\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ IsInArray /dev/mapper/mpath1p1 /dev/sdf1 /dev/mapper/mpath1
+++ local needle=/dev/mapper/mpath1p1
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\f\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ IsInArray swap:/dev/mapper/mpath1p1 /dev/sdf1 /dev/mapper/mpath1 /dev/mapper/mpath1p1
+++ local needle=swap:/dev/mapper/mpath1p1
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\f\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=swap:/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sdf1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1p1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo swap:/dev/mapper/mpath1p1
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/sdf1 as done (dependent on /dev/sdf)'
++ test 1
++ Log 'Marking /dev/sdf1 as done (dependent on /dev/sdf)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.216605000 Marking /dev/sdf1 as done (dependent on /dev/sdf)'
2013-04-18 10:31:15.216605000 Marking /dev/sdf1 as done (dependent on /dev/sdf)
++ mark_as_done /dev/sdf1
++ Debug 'Marking /dev/sdf1 as done.'
++ test 1
++ Log 'Marking /dev/sdf1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.218536000 Marking /dev/sdf1 as done.'
2013-04-18 10:31:15.218536000 Marking /dev/sdf1 as done.
++ sed -i 's;todo\ /dev/sdf1\ ;done\ /dev/sdf1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdf)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdf)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.221975000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdf)'
2013-04-18 10:31:15.221975000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdf)
++ mark_as_done /dev/mapper/mpath1
++ Debug 'Marking /dev/mapper/mpath1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.223951000 Marking /dev/mapper/mpath1 as done.'
2013-04-18 10:31:15.223951000 Marking /dev/mapper/mpath1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1\ ;done\ /dev/mapper/mpath1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.227558000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
2013-04-18 10:31:15.227558000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdf)
++ mark_as_done /dev/mapper/mpath1p1
++ Debug 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.229500000 Marking /dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.229500000 Marking /dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1p1\ ;done\ /dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.233034000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdf)'
2013-04-18 10:31:15.233034000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdf)
++ mark_as_done swap:/dev/mapper/mpath1p1
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.235002000 Marking swap:/dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.235002000 Marking swap:/dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ swap:/dev/mapper/mpath1p1\ ;done\ swap:/dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ read disk name junk
++ IsInArray /dev/sdg /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdg
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdg == \/\d\e\v\/\s\d\g ]]
++ return 0
++ read disk name junk
++ IsInArray /dev/sdh /dev/sda /dev/sdc /dev/sde /dev/sdg
++ local needle=/dev/sdh
++ shift
++ [[ /dev/sdh == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/sdh == \/\d\e\v\/\s\d\c ]]
++ shift
++ [[ /dev/sdh == \/\d\e\v\/\s\d\e ]]
++ shift
++ [[ /dev/sdh == \/\d\e\v\/\s\d\g ]]
++ shift
++ [[ /dev/sdh == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/sdh is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.239006000 Disk /dev/sdh is not used by any mounted filesystem. Excluding.'
2013-04-18 10:31:15.239006000 Disk /dev/sdh is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/sdh
++ Debug 'Marking /dev/sdh as done.'
++ test 1
++ Log 'Marking /dev/sdh as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.241014000 Marking /dev/sdh as done.'
2013-04-18 10:31:15.241014000 Marking /dev/sdh as done.
++ sed -i 's;todo\ /dev/sdh\ ;done\ /dev/sdh\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/sdh
+++ get_child_components /dev/sdh
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/sdh
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\h ]]
+++ IsInArray /dev/sdh1
+++ local needle=/dev/sdh1
+++ shift
+++ [[ /dev/sdh1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\h ]]
+++ IsInArray /dev/mapper/mpath1 /dev/sdh1
+++ local needle=/dev/mapper/mpath1
+++ shift
+++ [[ /dev/mapper/mpath1 == \/\d\e\v\/\s\d\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\h ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sdh1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\s\d\h\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ IsInArray /dev/mapper/mpath1p1 /dev/sdh1 /dev/mapper/mpath1
+++ local needle=/dev/mapper/mpath1p1
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ /dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ IsInArray swap:/dev/mapper/mpath1p1 /dev/sdh1 /dev/mapper/mpath1 /dev/mapper/mpath1p1
+++ local needle=swap:/dev/mapper/mpath1p1
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\s\d\h\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ shift
+++ [[ swap:/dev/mapper/mpath1p1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$child")
+++ children=("${children[@]}" "$child")
+++ read child parent junk
+++ [[ /dev/sdb = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=swap:/dev/mapper/mpath1p1
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mpath/mpath0p2 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/opt = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/usr = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdb = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdd = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdf = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdh = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sda = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdc = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sde = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/sdg = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1\p\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sdh1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/mpath1p1
+++ for component in '"${children[@]}"'
+++ [[ -n '' ]]
+++ echo swap:/dev/mapper/mpath1p1
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/sdh1 as done (dependent on /dev/sdh)'
++ test 1
++ Log 'Marking /dev/sdh1 as done (dependent on /dev/sdh)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.257879000 Marking /dev/sdh1 as done (dependent on /dev/sdh)'
2013-04-18 10:31:15.257879000 Marking /dev/sdh1 as done (dependent on /dev/sdh)
++ mark_as_done /dev/sdh1
++ Debug 'Marking /dev/sdh1 as done.'
++ test 1
++ Log 'Marking /dev/sdh1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.260497000 Marking /dev/sdh1 as done.'
2013-04-18 10:31:15.260497000 Marking /dev/sdh1 as done.
++ sed -i 's;todo\ /dev/sdh1\ ;done\ /dev/sdh1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdh)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done (dependent on /dev/sdh)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.264423000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdh)'
2013-04-18 10:31:15.264423000 Marking /dev/mapper/mpath1 as done (dependent on /dev/sdh)
++ mark_as_done /dev/mapper/mpath1
++ Debug 'Marking /dev/mapper/mpath1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.266536000 Marking /dev/mapper/mpath1 as done.'
2013-04-18 10:31:15.266536000 Marking /dev/mapper/mpath1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1\ ;done\ /dev/mapper/mpath1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.270634000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
2013-04-18 10:31:15.270634000 Marking /dev/mapper/mpath1p1 as done (dependent on /dev/sdh)
++ mark_as_done /dev/mapper/mpath1p1
++ Debug 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking /dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.272743000 Marking /dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.272743000 Marking /dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ /dev/mapper/mpath1p1\ ;done\ /dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ for component in '$(get_child_components "$1")'
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.276817000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdh)'
2013-04-18 10:31:15.276817000 Marking swap:/dev/mapper/mpath1p1 as done (dependent on /dev/sdh)
++ mark_as_done swap:/dev/mapper/mpath1p1
++ Debug 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1
++ Log 'Marking swap:/dev/mapper/mpath1p1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.279163000 Marking swap:/dev/mapper/mpath1p1 as done.'
2013-04-18 10:31:15.279163000 Marking swap:/dev/mapper/mpath1p1 as done.
++ sed -i 's;todo\ swap:/dev/mapper/mpath1p1\ ;done\ swap:/dev/mapper/mpath1p1\ ;' /var/lib/rear/layout/disktodo.conf
++ read disk name junk
++ read multipath device slaves junk
+++ grep '^multipath' /var/lib/rear/layout/disklayout.conf
++ devices=()
++ local -a devices
++ OIFS='
'
++ IFS=,
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ IFS='
'
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdb.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.284971000 Excluding multipath slave /dev/sdb.'
2013-04-18 10:31:15.284971000 Excluding multipath slave /dev/sdb.
++ mark_as_done /dev/sdb
++ Debug 'Marking /dev/sdb as done.'
++ test 1
++ Log 'Marking /dev/sdb as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.286965000 Marking /dev/sdb as done.'
2013-04-18 10:31:15.286965000 Marking /dev/sdb as done.
++ sed -i 's;todo\ /dev/sdb\ ;done\ /dev/sdb\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sdb$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sdb1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ mark_as_done /dev/sdb1
++ Debug 'Marking /dev/sdb1 as done.'
++ test 1
++ Log 'Marking /dev/sdb1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.292041000 Marking /dev/sdb1 as done.'
2013-04-18 10:31:15.292041000 Marking /dev/sdb1 as done.
++ sed -i 's;todo\ /dev/sdb1\ ;done\ /dev/sdb1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdd.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.295604000 Excluding multipath slave /dev/sdd.'
2013-04-18 10:31:15.295604000 Excluding multipath slave /dev/sdd.
++ mark_as_done /dev/sdd
++ Debug 'Marking /dev/sdd as done.'
++ test 1
++ Log 'Marking /dev/sdd as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.297639000 Marking /dev/sdd as done.'
2013-04-18 10:31:15.297639000 Marking /dev/sdd as done.
++ sed -i 's;todo\ /dev/sdd\ ;done\ /dev/sdd\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sdd$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sdd1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ mark_as_done /dev/sdd1
++ Debug 'Marking /dev/sdd1 as done.'
++ test 1
++ Log 'Marking /dev/sdd1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.302799000 Marking /dev/sdd1 as done.'
2013-04-18 10:31:15.302799000 Marking /dev/sdd1 as done.
++ sed -i 's;todo\ /dev/sdd1\ ;done\ /dev/sdd1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdf.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.306373000 Excluding multipath slave /dev/sdf.'
2013-04-18 10:31:15.306373000 Excluding multipath slave /dev/sdf.
++ mark_as_done /dev/sdf
++ Debug 'Marking /dev/sdf as done.'
++ test 1
++ Log 'Marking /dev/sdf as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.308361000 Marking /dev/sdf as done.'
2013-04-18 10:31:15.308361000 Marking /dev/sdf as done.
++ sed -i 's;todo\ /dev/sdf\ ;done\ /dev/sdf\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sdf$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sdf1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ mark_as_done /dev/sdf1
++ Debug 'Marking /dev/sdf1 as done.'
++ test 1
++ Log 'Marking /dev/sdf1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.313511000 Marking /dev/sdf1 as done.'
2013-04-18 10:31:15.313511000 Marking /dev/sdf1 as done.
++ sed -i 's;todo\ /dev/sdf1\ ;done\ /dev/sdf1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdh.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.317229000 Excluding multipath slave /dev/sdh.'
2013-04-18 10:31:15.317229000 Excluding multipath slave /dev/sdh.
++ mark_as_done /dev/sdh
++ Debug 'Marking /dev/sdh as done.'
++ test 1
++ Log 'Marking /dev/sdh as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.319372000 Marking /dev/sdh as done.'
2013-04-18 10:31:15.319372000 Marking /dev/sdh as done.
++ sed -i 's;todo\ /dev/sdh\ ;done\ /dev/sdh\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
+++ grep '/dev/sdh$' /var/lib/rear/layout/diskdeps.conf
++ [[ /dev/sdh1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ mark_as_done /dev/sdh1
++ Debug 'Marking /dev/sdh1 as done.'
++ test 1
++ Log 'Marking /dev/sdh1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.324795000 Marking /dev/sdh1 as done.'
2013-04-18 10:31:15.324795000 Marking /dev/sdh1 as done.
++ sed -i 's;todo\ /dev/sdh1\ ;done\ /dev/sdh1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\1 ]]
++ read child parent junk
++ read multipath device slaves junk
++ devices=()
++ local -a devices
++ OIFS='
'
++ IFS=,
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ for slave in '$slaves'
++ devices=("${devices[@]}" "$slave")
++ IFS='
'
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sda.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.329429000 Excluding multipath slave /dev/sda.'
2013-04-18 10:31:15.329429000 Excluding multipath slave /dev/sda.
++ mark_as_done /dev/sda
++ Debug 'Marking /dev/sda as done.'
++ test 1
++ Log 'Marking /dev/sda as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.331688000 Marking /dev/sda as done.'
2013-04-18 10:31:15.331688000 Marking /dev/sda as done.
++ sed -i 's;todo\ /dev/sda\ ;done\ /dev/sda\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
+++ grep '/dev/sda$' /var/lib/rear/layout/diskdeps.conf
++ [[ /dev/sda1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sda1
++ Debug 'Marking /dev/sda1 as done.'
++ test 1
++ Log 'Marking /dev/sda1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.337303000 Marking /dev/sda1 as done.'
2013-04-18 10:31:15.337303000 Marking /dev/sda1 as done.
++ sed -i 's;todo\ /dev/sda1\ ;done\ /dev/sda1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/sda2 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sda2
++ Debug 'Marking /dev/sda2 as done.'
++ test 1
++ Log 'Marking /dev/sda2 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.341331000 Marking /dev/sda2 as done.'
2013-04-18 10:31:15.341331000 Marking /dev/sda2 as done.
++ sed -i 's;todo\ /dev/sda2\ ;done\ /dev/sda2\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath0 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdc.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.345293000 Excluding multipath slave /dev/sdc.'
2013-04-18 10:31:15.345293000 Excluding multipath slave /dev/sdc.
++ mark_as_done /dev/sdc
++ Debug 'Marking /dev/sdc as done.'
++ test 1
++ Log 'Marking /dev/sdc as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.347743000 Marking /dev/sdc as done.'
2013-04-18 10:31:15.347743000 Marking /dev/sdc as done.
++ sed -i 's;todo\ /dev/sdc\ ;done\ /dev/sdc\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sdc$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sdc1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sdc1
++ Debug 'Marking /dev/sdc1 as done.'
++ test 1
++ Log 'Marking /dev/sdc1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.352777000 Marking /dev/sdc1 as done.'
2013-04-18 10:31:15.352777000 Marking /dev/sdc1 as done.
++ sed -i 's;todo\ /dev/sdc1\ ;done\ /dev/sdc1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/sdc2 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sdc2
++ Debug 'Marking /dev/sdc2 as done.'
++ test 1
++ Log 'Marking /dev/sdc2 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.356476000 Marking /dev/sdc2 as done.'
2013-04-18 10:31:15.356476000 Marking /dev/sdc2 as done.
++ sed -i 's;todo\ /dev/sdc2\ ;done\ /dev/sdc2\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath0 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sde.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.360032000 Excluding multipath slave /dev/sde.'
2013-04-18 10:31:15.360032000 Excluding multipath slave /dev/sde.
++ mark_as_done /dev/sde
++ Debug 'Marking /dev/sde as done.'
++ test 1
++ Log 'Marking /dev/sde as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.362042000 Marking /dev/sde as done.'
2013-04-18 10:31:15.362042000 Marking /dev/sde as done.
++ sed -i 's;todo\ /dev/sde\ ;done\ /dev/sde\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sde$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sde1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sde1
++ Debug 'Marking /dev/sde1 as done.'
++ test 1
++ Log 'Marking /dev/sde1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.367149000 Marking /dev/sde1 as done.'
2013-04-18 10:31:15.367149000 Marking /dev/sde1 as done.
++ sed -i 's;todo\ /dev/sde1\ ;done\ /dev/sde1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/sde2 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sde2
++ Debug 'Marking /dev/sde2 as done.'
++ test 1
++ Log 'Marking /dev/sde2 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.370712000 Marking /dev/sde2 as done.'
2013-04-18 10:31:15.370712000 Marking /dev/sde2 as done.
++ sed -i 's;todo\ /dev/sde2\ ;done\ /dev/sde2\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath0 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ read child parent junk
++ for slave in '"${devices[@]}"'
++ Log 'Excluding multipath slave /dev/sdg.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.374373000 Excluding multipath slave /dev/sdg.'
2013-04-18 10:31:15.374373000 Excluding multipath slave /dev/sdg.
++ mark_as_done /dev/sdg
++ Debug 'Marking /dev/sdg as done.'
++ test 1
++ Log 'Marking /dev/sdg as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.376322000 Marking /dev/sdg as done.'
2013-04-18 10:31:15.376322000 Marking /dev/sdg as done.
++ sed -i 's;todo\ /dev/sdg\ ;done\ /dev/sdg\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '/dev/sdg$' /var/lib/rear/layout/diskdeps.conf
++ read child parent junk
++ [[ /dev/sdg1 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sdg1
++ Debug 'Marking /dev/sdg1 as done.'
++ test 1
++ Log 'Marking /dev/sdg1 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.381298000 Marking /dev/sdg1 as done.'
2013-04-18 10:31:15.381298000 Marking /dev/sdg1 as done.
++ sed -i 's;todo\ /dev/sdg1\ ;done\ /dev/sdg1\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/sdg2 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ mark_as_done /dev/sdg2
++ Debug 'Marking /dev/sdg2 as done.'
++ test 1
++ Log 'Marking /dev/sdg2 as done.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S.%N '
++ echo '2013-04-18 10:31:15.385049000 Marking /dev/sdg2 as done.'
2013-04-18 10:31:15.385049000 Marking /dev/sdg2 as done.
++ sed -i 's;todo\ /dev/sdg2\ ;done\ /dev/sdg2\ ;' /var/lib/rear/layout/disktodo.conf
++ read child parent junk
++ [[ /dev/mapper/mpath0 != \/\d\e\v\/\m\a\p\p\e\r\/\m\p\a\t\h\0 ]]
++ read child parent junk
++ read multipath device slaves junk
++ [[ -n '' ]]
+ test 1
+ set +x
2013-04-18 10:31:15.389376000 Including layout/save/default/33_remove_exclusions.sh
+ . /usr/share/rear/layout/save/default/33_remove_exclusions.sh
++ '[' -s /var/lib/rear/layout/disktodo.conf ']'
++ read done name type junk
+++ grep '^done' /var/lib/rear/layout/disktodo.conf
++ case $type in
++ remove_component disk /dev/cciss/c0d0
++ sed -i 's|^disk /dev/cciss/c0d0 |\#disk /dev/cciss/c0d0 |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sda
++ sed -i 's|^disk /dev/sda |\#disk /dev/sda |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sda1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sda
++ remove_component part /dev/sda
++ sed -i 's|^part /dev/sda |\#part /dev/sda |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sda2 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sda
++ remove_component part /dev/sda
++ sed -i 's|^part /dev/sda |\#part /dev/sda |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdb
++ sed -i 's|^disk /dev/sdb |\#disk /dev/sdb |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdb1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdb
++ remove_component part /dev/sdb
++ sed -i 's|^part /dev/sdb |\#part /dev/sdb |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdc
++ sed -i 's|^disk /dev/sdc |\#disk /dev/sdc |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdc1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdc
++ remove_component part /dev/sdc
++ sed -i 's|^part /dev/sdc |\#part /dev/sdc |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdc2 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdc
++ remove_component part /dev/sdc
++ sed -i 's|^part /dev/sdc |\#part /dev/sdc |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdd
++ sed -i 's|^disk /dev/sdd |\#disk /dev/sdd |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdd1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdd
++ remove_component part /dev/sdd
++ sed -i 's|^part /dev/sdd |\#part /dev/sdd |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sde
++ sed -i 's|^disk /dev/sde |\#disk /dev/sde |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sde1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sde
++ remove_component part /dev/sde
++ sed -i 's|^part /dev/sde |\#part /dev/sde |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sde2 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sde
++ remove_component part /dev/sde
++ sed -i 's|^part /dev/sde |\#part /dev/sde |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdf
++ sed -i 's|^disk /dev/sdf |\#disk /dev/sdf |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ cut -d ' ' -f 2
+++ grep '^/dev/sdf1 ' /var/lib/rear/layout/diskdeps.conf
++ name=/dev/sdf
++ remove_component part /dev/sdf
++ sed -i 's|^part /dev/sdf |\#part /dev/sdf |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdg
++ sed -i 's|^disk /dev/sdg |\#disk /dev/sdg |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdg1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdg
++ remove_component part /dev/sdg
++ sed -i 's|^part /dev/sdg |\#part /dev/sdg |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdg2 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdg
++ remove_component part /dev/sdg
++ sed -i 's|^part /dev/sdg |\#part /dev/sdg |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/sdh
++ sed -i 's|^disk /dev/sdh |\#disk /dev/sdh |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/sdh1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/sdh
++ remove_component part /dev/sdh
++ sed -i 's|^part /dev/sdh |\#part /dev/sdh |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ name=/dev/mapper/mpath1p1
++ remove_component swap /dev/mapper/mpath1p1
++ sed -i 's|^swap /dev/mapper/mpath1p1 |\#swap /dev/mapper/mpath1p1 |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
++ remove_component multipath /dev/mapper/mpath1
++ sed -i 's|^multipath /dev/mapper/mpath1 |\#multipath /dev/mapper/mpath1 |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
++ case $type in
+++ grep '^/dev/mapper/mpath1p1 ' /var/lib/rear/layout/diskdeps.conf
+++ cut -d ' ' -f 2
++ name=/dev/mapper/mpath1
++ remove_component part /dev/mapper/mpath1
++ sed -i 's|^part /dev/mapper/mpath1 |\#part /dev/mapper/mpath1 |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
+++ grep -E '^done [^ ]+ lvmgrp' /var/lib/rear/layout/disktodo.conf
++ read status name junk
+ test 1
+ set +x
2013-04-18 10:31:15.468419000 Including layout/save/default/34_generate_mountpoint_device.sh
+ . /usr/share/rear/layout/save/default/34_generate_mountpoint_device.sh
++ excluded_mountpoints=()
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs device mountpoint junk
+++ get_parent_components fs:/
+++ sort -u
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mapper/vg_root-lv_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_root
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ IsInArray pv:/dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_root /dev/vg_root
+++ local needle=pv:/dev/mpath/mpath0p2
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=pv:/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ IsInArray /dev/mpath/mpath0p2 /dev/mapper/vg_root-lv_root /dev/vg_root pv:/dev/mpath/mpath0p2
+++ local needle=/dev/mpath/mpath0p2
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ shift
+++ [[ /dev/mpath/mpath0p2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \p\v\:\/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/mpath/mpath0p2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\p\a\t\h\/\m\p\a\t\h\0\p\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mapper/vg_root-lv_root
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/vg_root
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo pv:/dev/mpath/mpath0p2
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/mpath/mpath0p2
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/mapper/vg_root-lv_root
++ local needle=/dev/mapper/vg_root-lv_root
++ shift
++ [[ /dev/mapper/vg_root-lv_root == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/mpath/mpath0p2
++ local needle=/dev/mpath/mpath0p2
++ shift
++ [[ /dev/mpath/mpath0p2 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/vg_root
++ local needle=/dev/vg_root
++ shift
++ [[ /dev/vg_root == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray pv:/dev/mpath/mpath0p2
++ local needle=pv:/dev/mpath/mpath0p2
++ shift
++ [[ pv:/dev/mpath/mpath0p2 == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/tmp
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/tmp
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ sort -u
+++ [[ fs:/tmp = \f\s\:\/\t\m\p ]]
+++ IsInArray /dev/mapper/vg_root-lv_tmp
+++ local needle=/dev/mapper/vg_root-lv_tmp
+++ shift
+++ [[ /dev/mapper/vg_root-lv_tmp == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/\t\m\p ]]
+++ IsInArray fs:/ /dev/mapper/vg_root-lv_tmp
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/\t\m\p ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/mapper/vg_root-lv_tmp
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ IsInArray /dev/vg_root /dev/mapper/vg_root-lv_tmp fs:/
+++ local needle=/dev/vg_root
+++ shift
+++ [[ /dev/vg_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/vg_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/vg_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/tmp = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/home = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ fs:/boot = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sde2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdf1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdg2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sdh1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/vg_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ pv:/dev/mpath/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_root = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_autosys = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/vg_root-lv_tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/mapper/vg_root-lv_root /dev/mapper/vg_root-lv_tmp fs:/ /dev/vg_root
+++ local needle=/dev/mapper/vg_root-lv_root
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\m\a\p\p\e\r\/\v\g\_\r\o\o\t\-\l\v\_\t\m\p ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ shift
+++ [[ /dev/mapper/vg_root-lv_root == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/tmp = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/CA = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/home = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/usr/monitoring/Tivoli = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/boot = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath1p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/mapper/mpath0p2 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/vg_root
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdb1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdc2 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [[ /dev/sdd1 = \/\d\e\v\/\v\g\_\r\o\o\t ]]
+++ read child parent junk
+++ [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment