Questo contenuto non è disponibile nella lingua selezionata.
Chapter 16. Troubleshooting volume management in GNOME
Following are some common errors of volume management in GNOME and ways to resolve them.
16.1. Troubleshooting access to GVFS locations from non-GIO clients Copia collegamentoCollegamento copiato negli appunti!
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.
Prerequisites
The
gvfs-fusepackage is installed.yum install gvfs-fuse
$ yum install gvfs-fuseCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure
Ensure that
gvfs-fuseis running.ps ax | grep gvfsd-fuse
$ ps ax | grep gvfsd-fuseCopy to Clipboard Copied! Toggle word wrap Toggle overflow If
gvfs-fuseis not running, log out and log back in. Red Hat does not recommend startinggvfs-fusemanually.Find the system user ID (UID) for the
/run/user/UID/gvfs/path.The
gvfsd-fusedaemon requires a path where it can expose its services. When the/run/user/UID/gvfs/path is unavailable,gvfsd-fuseuses the~/.gvfspath.id -u
$ id -uCopy to Clipboard Copied! Toggle word wrap Toggle overflow If
gvfsd-fuseis still not running, start thegvfsd-fusedaemon:/usr/libexec/gvfsd-fuse -f /run/user/_UID_/gvfs
$ /usr/libexec/gvfsd-fuse -f /run/user/_UID_/gvfsCopy to Clipboard Copied! Toggle word wrap Toggle overflow 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~/.gvfslocations.
16.2. Troubleshooting an invisible connected USB disk Copia collegamentoCollegamento copiato negli appunti!
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.
16.3. Troubleshooting unknown or unwanted partitions listed in Files Copia collegamentoCollegamento copiato negli appunti!
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 .
16.5. Troubleshooting a busy disk in GNOME Copia collegamentoCollegamento copiato negli appunti!
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
iotoputility is installed:yum install iotop
# yum install iotopCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure
Examine the list of open files.
-
Run the
lsofcommand to get the list of open files. -
If
lsofis not available, run theps axcommand. - 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
killcommand. - 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