Bug 1341273 - blivet.errors.FSError: mount failed: 16
Summary: blivet.errors.FSError: mount failed: 16
Keywords:
Status: CLOSED DUPLICATE of bug 1330820
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0081a77191b51dc72a62ad27837...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-31 15:59 UTC by Steven Usdansky
Modified: 2016-05-31 19:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-31 19:45:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.38 MB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: anaconda.log (91.67 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: environ (589 bytes, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: journalctl (353.22 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: lsblk_output (4.82 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: nmcli_dev_list (1.57 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: os_info (449 bytes, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: program.log (237.09 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: storage.log (625.87 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details
File: ifcfg.log (6.20 KB, text/plain)
2016-05-31 15:59 UTC, Steven Usdansky
no flags Details

Description Steven Usdansky 2016-05-31 15:59:16 UTC
Description of problem:
Tried to install F24 Mate (nightly 0531 x86_64) over an old F20 on external drive

Version-Release number of selected component:
anaconda-core-24.13.5-1.fc24.x86_64

The following was filed automatically by anaconda:
anaconda 24.13.5-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/tasks/fsmount.py", line 123, in doTask
    raise FSError("mount failed: %s" % rc)
  File "/usr/lib/python3.5/site-packages/blivet/formats/fs.py", line 645, in _setup
    self._mount.doTask(chrootedMountpoint, options=options)
  File "/usr/lib/python3.5/site-packages/blivet/formats/__init__.py", line 483, in setup
    self._setup(**kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 632, in mountFilesystems
    chroot=rootPath)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 1407, in mountFilesystems
    readOnly=readOnly, skipRoot=skipRoot)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1105, in turnOnFilesystems
    storage.mountFilesystems()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
blivet.errors.FSError: mount failed: 16

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-MATE-Live-24-20160531-n-0 rd.live.image rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.5-300.fc24.x86_64
other involved packages: system-python-libs-3.5.1-7.fc24.x86_64, python3-blivet-1.20.3-1.fc24.noarch
product:        Fedora
release:        Fedora release 24 (Twenty Four)
reproducible:   Not sure how to reproduce the problem
type:           anaconda
version:        24

Potential duplicate: bug 1253481

Comment 1 Steven Usdansky 2016-05-31 15:59:23 UTC
Created attachment 1163287 [details]
File: anaconda-tb

Comment 2 Steven Usdansky 2016-05-31 15:59:25 UTC
Created attachment 1163288 [details]
File: anaconda.log

Comment 3 Steven Usdansky 2016-05-31 15:59:26 UTC
Created attachment 1163289 [details]
File: environ

Comment 4 Steven Usdansky 2016-05-31 15:59:28 UTC
Created attachment 1163290 [details]
File: journalctl

Comment 5 Steven Usdansky 2016-05-31 15:59:29 UTC
Created attachment 1163291 [details]
File: lsblk_output

Comment 6 Steven Usdansky 2016-05-31 15:59:30 UTC
Created attachment 1163292 [details]
File: nmcli_dev_list

Comment 7 Steven Usdansky 2016-05-31 15:59:31 UTC
Created attachment 1163293 [details]
File: os_info

Comment 8 Steven Usdansky 2016-05-31 15:59:33 UTC
Created attachment 1163294 [details]
File: program.log

Comment 9 Steven Usdansky 2016-05-31 15:59:36 UTC
Created attachment 1163295 [details]
File: storage.log

Comment 10 Steven Usdansky 2016-05-31 15:59:37 UTC
Created attachment 1163296 [details]
File: ifcfg.log

Comment 11 Steven Usdansky 2016-05-31 16:23:05 UTC
Downgraded to:
libbytesize-0.3-1.fc24.x86_64.rpm
python3-blivet-1.20.1-1.fc24.noarch.rpm
python3-bytesize-0.3-1.fc24.x86_64.rpm

installation appears to be proceeding

Comment 12 Brian Lane 2016-05-31 19:45:55 UTC
I'm not sure that the downgrade would have anything to do with this:

May 31 11:40:17 localhost udisksd[1046]: Mounted /dev/sdh2 at /run/media/liveuser/Boot on behalf of uid 1000
May 31 11:40:18 localhost udisksd[1046]: Mounted /dev/sdh1 at /run/media/liveuser/FreeAgent GoFlex Drive on behalf of uid 1000
May 31 11:40:18 localhost ntfs-3g[2038]: Version 2016.2.22 integrated FUSE 27
May 31 11:40:18 localhost ntfs-3g[2038]: Mounted /dev/sdh1 (Read-Write, label "FreeAgent GoFlex Drive", NTFS 3.1)
May 31 11:40:18 localhost ntfs-3g[2038]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=1000,uhelper=udisks2
May 31 11:40:18 localhost ntfs-3g[2038]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdh1,blkdev,blksize=4096


10:53:03,000 INFO program: Running... mount -t ntfs -o default,ro /dev/sdh1 /mnt/sysimage/mnt/GoFlex
10:53:03,023 INFO program: stderr:
10:53:03,024 INFO program: b'Mount is denied because the NTFS volume is already exclusively opened.'
10:53:03,025 INFO program: b'The volume may be already mounted, or another software may use it which'
10:53:03,025 INFO program: b"could be identified for example by the help of the 'fuser' command."
10:53:03,026 DEBUG program: Return code: 16

Something (udisks) mounted it and it wasn't unmounted before installing.

My fix for bug 1330820 should help prevent situations like this.

*** This bug has been marked as a duplicate of bug 1330820 ***


Note You need to log in before you can comment on or make changes to this bug.