summaryrefslogtreecommitdiffstats
path: root/wiki/src/bugs/persistent_volume_creation_fails_with_big_disks.mdwn
blob: 3c756ba132366a1d7b4cf6a9ac304f82d761642d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
USB Flash Kingston DataTraveller 32GB

When trying to create persistens volume.
It starts and after some time (about a minute) error comes.

    Persistence wizard - Persistence volume creation
    
    Failed
    
    org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible
    causes include: the remote application did not send a reply, the message
    bus security policy blocked the reply, the reply timeout expired, or the
    network connection was broken

After that flash becomes unbootable.

On a 2GB flash drive it's ok. Works fine. Tried different USB ports, stays the
same.

> Looks like udisks (or some other involved entity) has a timeout
> that's too short for our needs here, when huge USB sticks
> are involved.
>
> > It looks like the code already suport asynchronous DBus operations.
> > So either one operation is made synchronous and it should not be, or
> > the timeout for asynchronous operations (240 seconds?) is still
> > too low. [[!taglink todo/code]]

>>> Confirmed. Bumping the timeout to 10 minutes fixes this bug for
>>> one user. Done in tails-persistent-setup Git.

>>>> Not enough for 32 GB. Maybe there is a better fix, or we need to bump
>>>> the timeout again.

>>>>> Wow. 10 minutes not enough to mkfs 32GB. That must be a slow
>>>>> one. I bumped the timeout to 20 minutes in
>>>>> tails-persistence-setup Git.

[[!tag pending]]