Loading...
Loading...
Environment: Dell software: PowerPath for Linux (all release) Configuration: boot from SAN Non-Dell software: XFS is used as the file system type. The OS upgrade requires the "emcpbfs_linux remove" script to run. The script fails in Phase 2 ("Updating /etc/fstab"). Run the script in verbose mode by adding "set -v" at the beginning of the script. The output shows that the "mount /boot" command fails with "errno = 32" when the command uses the UUID instead of the pseudo device name. The "errno 32" value means EPIPE (broken pipe). + for boot_mount in '$(cat $FSTAB | grep -v "^[ \t]*#" | grep '\''\/boot'\'' | awk '\''{ print $2}'\'' )' + mount /boot + '[' 32 -ne 0 ']' When the mount is attempted manually, the following error is returned: [root@mycomputerr]# unmount /boot [root@mycomputerr]# mount /boot mount: wrong fs type, bad option, bad superblock on /dev/sdo1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Run "dmesg | tail." The output shows the following messages: [324415.326109] XFS (sdo1): Filesystem has duplicate UUID a62454e0-c20a-4adf-8cc3-283774a0be03 - can't mount [324777.492534] XFS (sdo1): Filesystem has duplicate UUID a62454e0-c20a-4adf-8cc3-283774a0be03 - can't mount [324871.730863] XFS (sdo1): Filesystem has duplicate UUID a62454e0-c20a-4adf-8cc3-283774a0be03 - can't mount
This system uses an XFS file system, and the system booted from a pseudo device. The root file system, /boot, and the swap space use this pseudo device. When the system mounts /boot by using the UUID, the system finds that other file systems already use the device. The system then returns the following error message: XFS (sdo1): Filesystem has duplicate UUID a62454e0-c20a-4adf-8cc3-283774a0be03 - can't mount The system performs this check to prevent a file system from being mounted twice with the same UUID.
If the root and /boot file systems use the XFS type, use one of the following methods: Assign a new UUID to the file system, and then mount /boot. Add the "-o nouuid" option to the "mount command" in the emcpbfs_linux script. To add the option, change the mount command in the emcpbfs_linux script as follows: if [[ ${STATUS%%:*} != Failed ]]; then for boot_mount in $(cat $FSTAB | grep -v "^[ \t]*#" | grep "${boot_par}" | awk '{ print $2}' ) do mount -o nouuid $boot_mount > /dev/null 2>&1 Note: This change is valid only for "XFS" boot file systems.
Click on a version to see all relevant bugs