Re: funny 'systemd-analize time' issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Tanks for answering, i found something:

# systemctl --full list-jobs
 JOB UNIT                      TYPE            STATE
 313 dev-disk-by\x2dpartuuid-9bbff442\x2d1f6e\x2d4c35\x2d9db9\x2d976448ed6032.swap
start           running
 314 dev-disk-by\x2did-wwn\x2d0x50014ee056bd218a\x2dpart3.swap start
        running
 315 dev-disk-by\x2did-ata\x2dWDC_WD1001FALS\x2d00J7B1_WD\x2dWMATV2323736\x2dpart3.swap
start           running

# cat /etc/fstab |grep -i swap
UUID=f5dfeeca-11e8-4323-8092-efb717037c68 swap
swap    defaults        0 0
UUID=df7afb17-27de-49e9-90a0-23da399e65ab swap
swap    defaults        0 0

# udisks --dump

[...TRUNCATED...]

Showing information for /org/freedesktop/UDisks/devices/sdc3
  native-path:
/sys/devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sdc/sdc3
  device:                      8:35
  device-file:                 /dev/sdc3
    presentation:              /dev/sdc3
    by-id:
/dev/disk/by-id/ata-WDC_WD1001FALS-00J7B1_WD-WMATV2323736-part3
    by-id:                     /dev/disk/by-id/wwn-0x50014ee056bd218a-part3
    by-id:
/dev/disk/by-uuid/f5dfeeca-11e8-4323-8092-efb717037c68
  detected at:                 Tue 14 May 2013 07:00:08 PM ART
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Tue 14 May 2013 07:00:08 PM ART)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:
  presentation icon:
  automount hint:
  size:                        8589934592
  block size:                  512
  job underway:                no
  usage:                       other
  type:                        swap
  version:                     2
  uuid:                        f5dfeeca-11e8-4323-8092-efb717037c68
  label:
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdc
    scheme:                    gpt
    number:                    3
    type:                      0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
    flags:
    offset:                    32213303296
    alignment offset:          0
    size:                      8589934592
    label:                     Linux swap
    uuid:                      9BBFF442-1F6E-4C35-9DB9-976448ED6032

[...TRUNCATED...]

Showing information for /org/freedesktop/UDisks/devices/sdd3
  native-path:
/sys/devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/block/sdd/sdd3
  device:                      8:51
  device-file:                 /dev/sdd3
    presentation:              /dev/sdd3
    by-id:
/dev/disk/by-id/ata-WDC_WD1001FALS-00J7B1_WD-WMATV2202497-part3
    by-id:                     /dev/disk/by-id/wwn-0x50014ee0ac129e84-part3
    by-id:
/dev/disk/by-uuid/df7afb17-27de-49e9-90a0-23da399e65ab
  detected at:                 Tue 14 May 2013 07:00:08 PM ART
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Tue 14 May 2013 07:00:08 PM ART)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:
  presentation icon:
  automount hint:
  size:                        8589934592
  block size:                  512
  job underway:                no
  usage:                       other
  type:                        swap
  version:                     2
  uuid:                        df7afb17-27de-49e9-90a0-23da399e65ab
  label:
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdd
    scheme:                    gpt
    number:                    3
    type:                      0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
    flags:
    offset:                    32213303296
    alignment offset:          0
    size:                      8589934592
    label:                     Linux swap
    uuid:                      7C3B60A1-EA00-4EAD-91F2-521DC52DB63F
[...TRUNCATED...]

# systemctl list-units | grep -i sdc3
sys-devi...dc-sdc3.device loaded active   plugged         WDC_WD1001FALS-00J7B1
dev-sdc3.swap             loaded failed   failed          /dev/sdc3

]# systemctl list-units | grep -i sdd3
sys-devi...dd-sdd3.device loaded active   plugged         WDC_WD1001FALS-00J7B1

So it is something related to sdc3 (first swap). Since i have 16gb
ram, i have ever hardly used it.
There are two 8gb partitions, one on each disk, due to the fact that
the previous system had 8gb ram.
With that in mind, it seems i did not noticed this:

May 14 18:58:14 ulquiorra.espada swapon[1782]: swapon: /dev/sdc3:
swapon failed: Device or resource busy
May 14 18:58:14 ulquiorra.espada systemd[1]: dev-sdc3.swap swap
process exited, code=exited status=255
May 14 18:58:14 ulquiorra.espada systemd[1]: Unit dev-sdc3.swap
entered failed state.
May 14 18:58:14 ulquiorra.espada systemd[1]: Failed to reread
/proc/swaps: File exists

# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/sdd3                               partition       8388604 20      0
/dev/sdc3                               partition       8388604 20      0

Then i launched journalctl -f on a xterm and did a 'swappoff /dev/sdc3' and:

May 16 21:13:05 ulquiorra.espada systemd[1]: Startup finished in 3s
321ms 706us (kernel) + 1s 787ms 226us (initrd) + ...16us.

Then did a 'swapon /dev/sdc3', there was no error and nothing was
reported by journalct:

# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/sdd3                               partition       8388604 20      0
/dev/sdc3                               partition       8388604 0       -1

Could it be releated to that the two swap partitions where both
priority '0' or something else?


Cheers.

rtguille.

On Thu, May 16, 2013 at 8:28 PM, Lennart Poettering
<mzerqung@xxxxxxxxxxx> wrote:
> On Thu, 16.05.13 19:18, Reartes Guillermo (rtguille@xxxxxxxxx) wrote:
>
>> Hi, i just tried to compare my F17 system with F19 pre-release and found
>> something odd in my F17 system:
>>
>> # uptime
>> 19:08:26 up 2 days, 10 min,  5 users,  load average: 0.18, 0.28, 0.31
>>
>> # systemd-analyze time
>> Bootup is not yet finished. Please try again later.
>>
>> A very funny message. :-)
>> What does count for systemd/systemd-analize as 'booted''?
>
> When all jobs finished running. You might have some jobs still queued
> that never finished. Try "systemctl list-jobs".
>
> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux