You are not logged in.

#1 2014-08-30 11:12:18

remcohn
Member
Registered: 2014-04-02
Posts: 3

mount does nothing, no errors. dmesg looks ok

kernel version: 3.15, 3.16, 3.17.

when i do: `root@server /]# mount /dev/sda1 /boot` i get the following in dmesg:
--
[  887.783451] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[  887.785417] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
--

but /boot remains empty and the mount does not show in /proc/mounts or anywhere else.

im kinda lost here, what can i do/try? problem persists after reboot (intact, it started after a reboot)

Remco

note: it happens with ext3/4 and btrfs partitions

Last edited by remcohn (2014-08-30 11:18:03)

Offline

#2 2014-08-30 11:53:56

remcohn
Member
Registered: 2014-04-02
Posts: 3

Re: mount does nothing, no errors. dmesg looks ok

i can mount things if i boot with init=/bin/sh  doesn't help me much tho

Offline

#3 2014-08-30 12:42:30

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: mount does nothing, no errors. dmesg looks ok

Maybe /dev/sda1 is already mounted somewhere ?

please post the output of mount just afer booting.

the output of df -h might also be useful.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2014-08-30 13:20:03

andy123
Member
Registered: 2011-11-04
Posts: 169
Website

Re: mount does nothing, no errors. dmesg looks ok

You could also look into the systemd journal with journalctl.


i'm sorry for my poor english wirting skills…

Offline

#5 2014-08-30 13:30:21

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: mount does nothing, no errors. dmesg looks ok

in addition to what's already been mentioned by others, posting your /etc/fstab could be useful.

Last edited by ooo (2014-08-30 13:30:52)

Offline

#6 2014-08-30 15:08:07

remcohn
Member
Registered: 2014-04-02
Posts: 3

Re: mount does nothing, no errors. dmesg looks ok

Andy, thanks for the pointer, it is indeed a systemd issue. it quickly unmounts it. if i do `mount /data && df`, the mount does show up. i get this in the journal logs:
--
Aug 30 17:02:47 server kernel: EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
Aug 30 17:02:47 server kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
Aug 30 17:02:47 server systemd[1]: Unit boot.mount is bound to inactive service. Stopping, too.
Aug 30 17:02:47 server systemd[1]: Unmounting /boot...
Aug 30 17:02:47 server systemd[1]: Unmounted /boot.
--

Remco

Offline

#7 2014-08-30 15:31:37

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: mount does nothing, no errors. dmesg looks ok

 Systemd parses /etc/fstab to generate [mount] services, so follow ooo's suggestion. For more information read 'systemd-fstab-generator'.

Use [⁣code][⁣/code] tags to mark output of a command.

Last edited by emeres (2014-08-30 15:32:03)

Offline

#8 2014-09-09 20:17:50

zsurnz
Member
From: France
Registered: 2006-03-23
Posts: 18

Re: mount does nothing, no errors. dmesg looks ok

I have the same problem following last upgrade few days ago. Hard disk partitions /dev/sdax are mounted as expected from fstab, but I am unable to mount my USB stick whatever the filesystem on it. Mount does nothing, dmesg looks OK, and fstab contains no line referring to /dev/sdb (device associated with my USB stick).
I have no idea what to do. Did you solve you problem, remcohn ?

Offline

#9 2014-09-09 20:37:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: mount does nothing, no errors. dmesg looks ok

Does fstab have anything referencing your mount point?

In my fstab I have the line

LABEL=usbstuff	/mnt/usb	auto	defaults,noauto,noatime	0 0

But I regularly mounted other things to /mnt/usb with a full mount command. Since some recent update (I suspect systemd) mount would silently fail* to mount anything else to /mnt/usb but mounting the same things to eg. /mnt/test worked.

* dmesg said something about mounting with opts:(null) which definitely isn't right, but it's not exactly an explicit error either.

Last edited by alphaniner (2014-09-09 20:38:12)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#10 2014-09-10 19:39:45

zsurnz
Member
From: France
Registered: 2006-03-23
Posts: 18

Re: mount does nothing, no errors. dmesg looks ok

alphaniner,
you guessed right, simply renaming /mnt/usb solved the problem.
Thanks.

Offline

#11 2018-02-22 10:55:17

sshow
Member
Registered: 2017-04-02
Posts: 2

Re: mount does nothing, no errors. dmesg looks ok

I just had the same problem after re-encrypting a luks volume. When trying, messages in journal appeared:

kernel: EXT4-fs (dm-4): mounting ext2 file system using the ext4 subsystem
kernel: EXT4-fs (dm-4): mounted filesystem without journal. Opts: (null)
systemd[1]: boot.mount: Unit is bound to inactive unit dev-disk-by\x2duuid-222dd87e\x2d5abc\x2d1337\x2dab36\x2d82b500731fe1.device. Stopping, too.
systemd[1]: Unmounting /boot...
systemd[1]: Unmounted /boot.

After hints here about issues with systemd, a

systemctl daemon-reload

and

systemctl daemon-reexec

solved it for me.

Offline

#12 2018-02-22 11:04:33

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: mount does nothing, no errors. dmesg looks ok

Thanks for sharing. I'm going to go ahead and close this old thread now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB