trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2019

Re: [trinity-users] Konqueror mount error

From: Thierry de Coulon <tcoulon@...>
Date: Mon, 9 Sep 2019 16:48:55 +0200
On Monday 09 September 2019 13.58:29 Michele Calgaro via trinity-users wrote:

> Hi Thierry,
> a few questions to gather further info.
>
> 1) do you have policykit installed? I guess so, if you say some partitions
> on external drives can be mounted. 
Is installed
> 2) Does the disk have a valid partition 
> in sdg1?
Yes. ext4, mbr
> 3) is the disk in /etc/fstab?
No
> 4) what command do you use to mount the partition from CLI?
mount  /dev/sdx  /<mount directory>. As root.  sdx is usually sdg or sdi, 
depending on 
other connected drives.
> 5) if you retry from Konqueror, do you have a failure again?
I don't see what you want me to do. The error message appears when I plug in / 
switch on the external drive. If/when it works the drive gets mounted 
on /media/<user>/<drive> and konqueror opens a window on its content. If/when 
it fails nothing is mounted and I can't do it from Konqueror (or I don't know  
I can :).
> 6) what does "fdisk -l /dev/sdg" or "gdisk -l /dev/sdg" prints?

root@junior:/home/thierry# fdisk -l /dev/sdg
Disk /dev/sdg: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HD103SI
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb6bc5d97

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdg1          63 1953520064 1953520002 931.5G 83 Linux


root@junior:/home/thierry# gdisk -l /dev/sdg
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sdg: 1953525168 sectors, 931.5 GiB
Model: HD103SI
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 88036014-EE81-4D56-92FA-6212E6693E3C
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5099 sectors (2.5 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              63      1953520064   931.5 GiB   8300  Linux filesystem

Note that after running fdisk -l nothing happens, while after running gdisk 
the drive got mounted!

> 7) what happens if you try as root instead of normal user?
It found the drive OK, but did not open Konqueror, instead asked what to do 
(attachment).

> Additionally, do you have d-feet installed on your computer? That could
> help in troubleshooting since I see in your screenshot the error is
> reported by udisks2 dbus call.

I did not, I have now.

> Cheers
>   Michele
>

Also, I've noticed that "Safely remove" as user causes unmounting and 
immediate re-mounting, "unmount" correctly unmounts.

As root both work as expected.

Thanks,

Thierry

Attachments: