View Issue Details

IDProjectCategoryView StatusLast Update
0015673CentOS-7-OTHERpublic2019-01-07 06:00
Reporterfebi881 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOS OS Version7.4.1708 (Core)
Product Version7.4.1708 
Target VersionFixed in Version 
Summary0015673: UUID based virtual file-system mounting issue
DescriptionIssue Description:
=================
We are using virtual file based file system in centos 6.5 and recently we have migrated few machines to centos 7 and found that UUID based mounting is not working. I have done some research and based on suggestions I have upgraded the following packages to the latest available in the Centos Repo, however the issue still persist.

libblkid-2.23.2-59.el7.x86_64.rpm
libguestfs-1.38.2-12.el7.x86_64.rpm
libmount-2.23.2-59.el7.x86_64.rpm
libsmartcols-2.23.2-59.el7.x86_64.rpm
libuuid-2.23.2-59.el7.x86_64.rpm

2. Steps I am following to create the Virtual File base FS:
     a. export DISK=/vdisk/vda1
      b. mkdir /vdisk; fallocate -l 10g ${DISK}
      c. mkfs.xfs -L VDISK ${DISK}
      d. eval $(/sbin/blkid /dev/${DISK}1 -o export)
      e. cp -a /etc/fstab /etc/fstab.pre
      f. echo "UUID=$UUID /disk1 xfs loop,rw 0 0" >> /etc/fstab
      g. mkdir /disk1
      h. mount /disk1

3. Observations:
    During the system boot, mounting the filesystems from fstab or a manual mount is performed using fstab( using mount -a),the virtual filesystem is not mounting as the mount command is referring the blkid.tab cache and could not find the specified file system UUID there. To resolve this, you need to run blkid command on virtual disk then the cache file is updated with the virtual disk details and then a mount -a command will mount the virtual filesystem associated with this v-disk.

4. Temporary Workaround:
     As a temp. workaround I have used disk name in fstab and which is working fine.


      
Steps To Reproduce2. Steps to reproduce the issue.
     a. export DISK=/vdisk/vda1
      b. mkdir /vdisk; fallocate -l 10g ${DISK}
      c. mkfs.xfs -L VDISK ${DISK}
      d. eval $(/sbin/blkid /dev/${DISK}1 -o export)
      e. cp -a /etc/fstab /etc/fstab.pre
      f. echo "UUID=$UUID /disk1 xfs loop,rw 0 0" >> /etc/fstab
      g. mkdir /disk1
      h.reboot the host
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-01-07 06:00 febi881 New Issue