Chapter 13. Troubleshooting volume management in GNOME
Following are some common errors of volume management in GNOME and ways to resolve them.
13.1. Troubleshooting access to GVFS locations from non-GIO clients
If you have problems accessing GVFS locations from your application, it might mean that it is not native GIO client. Native GIO clients are typically all GNOME applications using GNOME libraries (glib
, gio
). The gvfs-fuse
service is provided as a fallback for non-GIO clients.
Prerequisite
The
gvfs-fuse
package is installed.$ dnf install gvfs-fuse
Procedure
Ensure that
gvfs-fuse
is running.$ ps ax | grep gvfsd-fuse
If
gvfs-fuse
is not running, log out and log back in. Red Hat does not recommend startinggvfs-fuse
manually.Find the system user ID (UID) for the
/run/user/UID/gvfs/
path.The
gvfsd-fuse
daemon requires a path where it can expose its services. When the/run/user/UID/gvfs/
path is unavailable,gvfsd-fuse
uses the~/.gvfs
path.$ id -u
If
gvfsd-fuse
is still not running, start thegvfsd-fuse
daemon:$ /usr/libexec/gvfsd-fuse -f /run/user/_UID_/gvfs
Now, the FUSE mount is available, and you can manually browse for the path in your application.
-
Find the GVFS mounts under the
/run/user/UID/gvfs/
or~/.gvfs
locations.
13.2. Troubleshooting an invisible connected USB disk
When you connect a flash drive, the GNOME Desktop might not display it. If your flash drive is not visible in Files, but you can see it in the Disks application, you can attempt to set the Show in user interface option in Disks.
Procedure
- Open the Disks application.
- Select the disk in the side bar.
- Below Volumes, click Additional partition options > Edit Mount Options
- Click Show in user interface.
- Confirm by clicking .
- If the flash drive is still not visible, you can try to physically remove the drive and try connecting it again.
13.3. Troubleshooting unknown or unwanted partitions listed in Files
You might see unknown or unwanted partitions when you plug a disk in. For example, when you plug in a flash disk, it is automatically mounted and its volumes are shown in the Files side bar. Some devices have a special partition with backups or help files, which you might not want to see each time you plug in the device.
Procedure
- Open the Disks application.
- Select the disk in the side bar.
- Below Volumes, click Additional partition options > Edit Mount Options
- Deselect Show in user interface.
- Confirm by clicking .
13.5. Troubleshooting a busy disk in GNOME
If you receive a notification about your disk being busy, determine the programs that are accessing the disk. Then, you can end the programs that are running. You can also use the System Monitor application to kill the programs forcefully.
Prerequisites
The
iotop
utility is installed:# dnf install iotop
Procedure
Examine the list of open files.
-
Run the
lsof
command to get the list of open files. -
If
lsof
is not available, run theps ax
command. - You can use System Monitor to display the running processes in a GUI.
-
Run the
When you have determined the programs, terminate them using any of the following methods:
-
On the command line, execute the
kill
command. - In System Monitor, right-click the line with the program process name, and click End or Kill from the context menu.
-
On the command line, execute the
Additional resources
-
kill
man page on your system