Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

mount error after upgrading to jessie

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
informant
Posts: 9
Joined: 2016-07-21 11:42

mount error after upgrading to jessie

#1 Post by informant »

Hi all, today i have upgrade my system from wheezy to jessie. after it comes following error:

Code: Select all

a start job is running for dev...
i have done following, check uuid in fstab with blkid, but uuid are the same. i have also use name for mount:b überein, weiterhin habe ich die UUID zum Test mal zum Namen geändert, also so (nach lsblk):

Code: Select all

# hdd 2
/dev/vdb /media/hdd-2 ext4 rw,relatime,data=ordered,barrier=0,grpjquota=aquota.group,jqfmt=vfsv0 0 0
# hdd-2 mount auf www
/media/hdd-2/www /var/www auto bind 0 0
# hdd-2 mount auf mail
/media/hdd-2/mail /var/mail auto bind 0 0
# hdd-2 mount auf sql
/media/hdd-2/mysql /var/lib/mysql auto bind 0 0
but error are the same.
can you help here please? i do not have more ideeas.

thanks and best regards
Last edited by informant on 2016-07-22 09:03, edited 1 time in total.

day
Posts: 56
Joined: 2015-03-03 00:00

Re: mount error after upgrading to jessie

#2 Post by day »

Code: Select all

apt-get install sysvinit-core

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: mount error after upgrading to jessie

#3 Post by GarryRicketson »

day wrote:

Code: Select all

apt-get install sysvinit-core
Unless the OP fully understands what this does, it may not be a good idea,....

@ informant
Please do not try this, wait and see what some others say, I am not sure
what more to say just now,
You can safely, use the -s option, to see what it would do,.

Code: Select all

man apt-get

Example:

Code: Select all

apt-get -s install sysvinit-core

Debian Jessie, is supposed to be using systemd, installing sysvinit-core might cause
even more problems, sysvinit and systemd are very different, this is part
of what makes upgrading from Debian Wheezy, to Debian 8 (Jessie) some what
complicated.
Anyway, I just wanted to warn you to wait and get some "second" opinions on this.

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#4 Post by informant »

Hi, i know. it´s only a workarround, but not a good and not a secured. i hope, anybody users have more ideas to fix this issue. i would wait for it.

regards

cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: mount error after upgrading to jessie

#5 Post by cronoik »

Maybe a duplicate uuid in /etc/fstab?
Please post the output of

Code: Select all

blkid
,

Code: Select all

cat /etc/fstab
and (use NoPaste for this one)

Code: Select all

journactl
.
Have a nice day!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: mount error after upgrading to jessie

#6 Post by Head_on_a_Stick »

day wrote:

Code: Select all

apt-get install sysvinit-core
This is moronic advice and will result in an un-bootable system -- *do not* run this command.

@OP: try using "nofail" or (preferably) "x-systemd.automount" as options for your mountpoints.

See systemd.mount(5) et al
deadbang

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#7 Post by informant »

hi, i have create pictures for you. regards

Image

Image

Image

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#8 Post by informant »

hi, "nofail" or (preferably) "x-systemd.automount" as options in fstab have the same error. i have test i already. does not work with this entrys.

regards

srq2625
Posts: 44
Joined: 2016-02-26 11:01

Re: mount error after upgrading to jessie

#9 Post by srq2625 »

I don't know if it's causing your error, but it appears (from looking at your fstab) that you are attempting to mount a CD /dev/sr0 at /media/cdrom0.

Do you, in fact, have a CD disk inserted into your CDROM drive? If not, you might consider commenting out that line in your /etc/fstab and running the command

Code: Select all

sudo mount -a

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#10 Post by informant »

hi, cdrom is set by noauto, this is not the problem. please read complete information, problem are
/dev/vda5 and /dev/vdb - no other.

regards

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: mount error after upgrading to jessie

#11 Post by Head_on_a_Stick »

informant wrote:hi, "nofail" or (preferably) "x-systemd.automount" as options in fstab have the same error. i have test i already. does not work with this entrys.
Please post your complete fstab
deadbang

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#12 Post by informant »

Hi, here complete fstab

Code: Select all

# system
/dev/vda1 /    ext4    errors=remount-ro   0   1
# swap
/dev/vda5   none    swap   sw   0    0
# hdd 2
/dev/vdb /media/hdd-2 ext4 rw,relatime,data=ordered,barrier=0,grpjquota=aquota.group,jqfmt=vfsv0 0 0
# hdd-2 mount auf www
/media/hdd-2/www /var/www auto bind 0 0
# hdd-2 mount auf mail
/media/hdd-2/mail /var/mail auto bind 0 0
# hdd-2 mount auf sql
/media/hdd-2/mysql /var/lib/mysql auto bind 0 0
i have test already following with same error:

Code: Select all

# system
/dev/vda1 /    ext4    errors=remount-ro   0   1
# swap
/dev/vda5   none    swap   sw,x-systemd.automount   0    0
# hdd 2
/dev/vdb /media/hdd-2 ext4 rw,relatime,data=ordered,barrier=0,grpjquota=aquota.group,jqfmt=vfsv0,x-systemd.automount 0 0
# hdd-2 mount auf www
/media/hdd-2/www /var/www auto bind 0 0
# hdd-2 mount auf mail
/media/hdd-2/mail /var/mail auto bind 0 0
# hdd-2 mount auf sql
/media/hdd-2/mysql /var/lib/mysql auto bind 0 0

what i have done today, i have add a 3rd partition in this vm, install debian jessie on this hdd and mount with same fstab /dev/vdb - works fine, but in upgraded debian version it does not work. i have clone me this vm for testing and have test with uuid, name, upgrade normal, upgrade from dvd and set new swap partiton, but everytime the same error with this 2 partitions. checkdisc do not found errors and in a fresh installed debian jessie it works fine, if i mount this partitions. i have no more ideas and hope. you can help. best regards

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: mount error after upgrading to jessie

#13 Post by kiyop »

Making a whole media (/dev/vdb) an ext4 filesystem seems unusual to me. But I am not sure if it is the cause of the error or not.

I wonder if /dev/vdb has some errors.
Get root privilege and execute the following and post the results:

Code: Select all

fsck.ext4 -f /dev/vdb
dd if=/dev/vdb bs=512 count=1 2>/dev/null|hd
And I am interested in
invalid key/value pair in file /lib/udev/rules.d/91-permissions.rules on line 93, starting at character 37 ('\n')
and the similar one.
Last edited by kiyop on 2016-07-24 12:05, edited 1 time in total.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#14 Post by informant »

Hi checkdisk was already run without errors, and i have wrote already, i can add partition in fresh installed jessie normal. only in upgraded systems i can not mount this partitions. this is a bug in upgrade routine i think.

regards

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: mount error after upgrading to jessie

#15 Post by kiyop »

Is there any relevant info in jessie release note, especially in "upgrading from wheezy" sections?
For example, https://www.debian.org/releases/stable/ ... ng.en.html
and https://www.debian.org/releases/stable/ ... on.en.html
and https://www.debian.org/releases/stable/ ... nit-system
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#16 Post by informant »

hi, i have use this upgrade steps and informations on update. same errors. regards

ps: its not a LXC container, i use KVM!

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: mount error after upgrading to jessie

#17 Post by kiyop »

I wonder if there is not /media/hdd-2, before udev starts, which is probably wrong. ;)

http://forums.debian.net/viewtopic.php? ... 62#p620701
informant wrote:Hi, here complete fstab

Code: Select all

# hdd 2
/dev/vdb /media/hdd-2 ext4 rw,relatime,data=ordered,barrier=0,grpjquota=aquota.group,jqfmt=vfsv0 0 0
Do you need all of "relatime,data=ordered,barrier=0,grpjquota=aquota.group,jqfmt=vfsv0"? If not, how about removing the unnecessary part of it?

http://forums.debian.net/viewtopic.php? ... 62#p620778
informant wrote:Hi checkdisk was already run without errors, and i have wrote already, i can add partition in fresh installed jessie normal.
http://forums.debian.net/viewtopic.php? ... 62#p620701
informant wrote:what i have done today, i have add a 3rd partition in this vm, install debian jessie on this hdd and mount with same fstab /dev/vdb - works fine, but in upgraded debian version it does not work. i have clone me this vm for testing and have test with uuid, name, upgrade normal, upgrade from dvd and set new swap partiton, but everytime the same error with this 2 partitions. checkdisc do not found errors
Indeed. Excuse me. I did not think that "checkdisc" is fsck.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

informant
Posts: 9
Joined: 2016-07-21 11:42

Re: mount error after upgrading to jessie

#18 Post by informant »

Hi, with checkdisc i mean fsck. in /dev/vdb i have test alreada defaults 0 0, same error. regards

what i have done today? i have test original wheezy to install systemd with force install. and upgrade after this to jessie. this works. but it is ok or not?
its a worarround, but if the correct i don´t know...

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: mount error after upgrading to jessie

#19 Post by kiyop »

informant wrote:Hi, with checkdisc i mean fsck. in /dev/vdb i have test alreada defaults 0 0, same error. regards
I see. Thanks.
How about "defaults,nofail 0 0"?
How about adding "rootdelay=10" or so to kernel command line?
informant wrote:what i have done today? i have test original wheezy to install systemd with force install. and upgrade after this to jessie. this works. but it is ok or not?
its a worarround, but if the correct i don´t know...
I do not like systemd, but I can get along with it.
I am not sure if what you have done is correct or not, but I have found https://wiki.debian.org/systemd and https://wiki.debian.org/Debate/initsystem/sysvinit and http://without-systemd.org/wiki/index.p ... stallation and https://devuan.org/

If I were you, I would comment out (add "#" at the start of the lines for) /dev/vdb, /media/hdd-2/www, /media/hdd-2/mail and /media/hdd-2/mysql and mount them after booting debian ;)
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

Post Reply