Question

I know mount and df lists all mounts. But I would like to list the mounts which failed to establish on boot, too. How do I get them?

Was it helpful?

Solution

There is no such command, since there is no list of "attempted mounts". You can compare the current mount list (/etc/mtab) to the list of shares registered to be mounted though (/etc/fstab).

Alternatively you could try to grep through the system log files to find failed mount attempts.

OTHER TIPS

You can use mount -a to mount all the mount points defined in the fstab.

If there is some kind of error mounting, you will get some warning. If the mount point is already mounted successfully, the command will do nothing with that mountpoint.

Mount errors should appear in dmesg.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top