You are not logged in.

#1 2014-09-01 09:23:07

tangram
Member
From: 3City, Poland
Registered: 2013-01-21
Posts: 55

During system boot time out waiting for device

Hello all.
During boot, run lot of services.
One of them is fsck.*  which in my case takes longer as 80 sec. given through systemd,
After the time overrun fsck.* service is still not finished therefore folowing jobs, like mounting ( being chcecked partitions ) ends with error and fsck itself itself too.
Happily fsck.* does not run during each system boot.
I discovered issue, and found that in my case, fsck service runs for two filesystem, on two partitions, both on LVM, with different filesystem types: one ext4( /home), the other one reiserfs( /var).
I suppose that fsck.rejserfs needs more time to finish its job, therefore I will run it manually.
I am not sure how to do that in safe way.
My idea is:
1. Boot in rescue mode
2. Unmount both partitions: /home unmounting works, /var unmounting does not work, because it is in use.
With help of fuser or lsof, I will find what process uses it, stop these proces(es), and then try to unmount /var.
What do you thinking about, Is there another safe way to run manually fsck on filesystems of mounted LVM partitions, maybe ?

Cheers

Last edited by tangram (2014-09-05 09:00:54)

Offline

#2 2014-09-03 19:05:17

tangram
Member
From: 3City, Poland
Registered: 2013-01-21
Posts: 55

Re: During system boot time out waiting for device

Sorry all who read these partial nonsense.
I was wrong, it was not fsck on lvm partitions filesystems.
Output from this suspicious job is not journal logged.
During boot I see line with:
( 1/2 ) A job is running for /dev/_long_hex_uuid.device ( x min y s / 1 min 30s )
I suppose it has something to do with fstab entries, following errors contains:
"Dependency failed for /home"
"Dependency failed for local file systems"
"Dependency failed for file system check on".

My /etc/fstab:

# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>   <dump>  <pass>
# /dev/sda3
UUID=8927dc68-4eed-41f2-bef5-1fd7765e1814   /           ext4        rw,relatime,data=ordered    0 1

# /dev/sda2
UUID=7a129473-91b7-484e-9a48-4c8f7ee615dc   /boot       ext2        rw,relatime 0 2

# /dev/mapper/vg_sys-lv_var
UUID=2eb26183-b405-4ba2-984b-b33fdc0fdd04   /var        reiserfs    rw,relatime 0 2

# /dev/mapper/vg_sys-lv_home
UUID=d77c7074-1f99-4e23-8339-ef58ad7e0758   /home       ext4        rw,relatime,data=ordered    0 2

Thanks for any advice

Offline

#3 2014-09-04 19:06:06

tangram
Member
From: 3City, Poland
Registered: 2013-01-21
Posts: 55

Re: During system boot time out waiting for device

I'am not alone, with earlier versions of systemd and kernel.
Similiar issue

Offline

Board footer

Powered by FluxBB