sxfs: double sxfs entries when mounting a filesystem

Bug #1661018 reported by yerrysherry
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Skylable
New
Undecided
Unassigned

Bug Description

Hallo,

When creating a new filesystem with sxfx and the mountpoint is empty then you can mount the filesystem multiple times.

root@poc-s3-skylable-client-1:~# cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults 0 0
sx://poc-s3-skylable-client-1@mycluster/poc-s3-skylable-client-1-disk-1 /opt/tomcat fuse.sxfs _netdev,fsname=sxfs,use_queues 0 0

root@poc-s3-skylable-client-1:~# mount -a
*** It is recommended to always use --logfile together with --use-queues ***
Using default tempdir: /var/tmp/sxfs-20170201163835-BC7UXZ
*** It is recommended to always use --logfile when not running in the foreground ***
Using default cache size of 512M in '/var/tmp/sxfs-20170201163835-BC7UXZ'

root@poc-s3-skylable-client-1:~# mount | grep sxfs
sxfs on /opt/tomcat type fuse (rw,relatime,user_id=0,group_id=0)

root@poc-s3-skylable-client-1:~# mount -a
*** It is recommended to always use --logfile together with --use-queues ***
Using default tempdir: /var/tmp/sxfs-20170201163912-FYlVmY
*** It is recommended to always use --logfile when not running in the foreground ***
Using default cache size of 512M in '/var/tmp/sxfs-20170201163912-FYlVmY'

root@poc-s3-skylable-client-1:~# mount | grep sxfs
sxfs on /opt/tomcat type fuse (rw,relatime,user_id=0,group_id=0)
sxfs on /opt/tomcat type fuse (rw,relatime,user_id=0,group_id=0)

root@poc-s3-skylable-client-1:~# umount /opt/tomcat
root@poc-s3-skylable-client-1:~# mount | grep sxfs
sxfs on /opt/tomcat type fuse (rw,relatime,user_id=0,group_id=0)
root@poc-s3-skylable-client-1:~#

Regards,
Gerrit

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.