/dev/sdb1 /storage ext4 noatime 0 2
Code: Select all
sudo mount -aCode: Select all
sudo mount /storageCode: Select all
sudo mount -aCode: Select all
sudo mount /storageCode: Select all
/dev/sdb1 /storage ext4 noatime,auto 0 2 There is no error on the console or in dmesg.Hu wrote:What is the error message when mount fails?
I'll try it the way you wrote it.armaoin wrote:Try to add the auto option.
Code: Select all
/dev/sdb1 /storage ext4 noatime,auto 0 2
The thread title says "mount failure". If mount failed, it should produce an error message. If there is no error message, then we need more details about what is not working. You said that sudo mount -a does not mount the volume. Does that mean that, even after the system is fully booted and all modules are loaded, the volume still does not mount via mount -a? When in the situation that mount -a does not mount the volume, what is the output of file -s /dev/sdb1 ; nl /proc/mounts; mount -a -v?bjlockie wrote:There is no error on the console or in dmesg.Hu wrote:What is the error message when mount fails?
/storage is not automounting on boot (and mount -a won't do it).Hu wrote:The thread title says "mount failure". If mount failed, it should produce an error message. If there is no error message, then we need more details about what is not working. You said that sudo mount -a does not mount the volume. Does that mean that, even after the system is fully booted and all modules are loaded, the volume still does not mount via mount -a? When in the situation that mount -a does not mount the volume, what is the output of file -s /dev/sdb1 ; nl /proc/mounts; mount -a -v?bjlockie wrote:There is no error on the console or in dmesg.Hu wrote:What is the error message when mount fails?
# file -s /dev/sdb1 ; nl /proc/mounts; mount -a -v
/dev/sdb1: DOS-executable (
1 rootfs / rootfs rw 0 0
2 /dev/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
3 devtmpfs /dev devtmpfs rw,relatime,size=4059272k,nr_inodes=1014818,mode=755 0 0
4 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
5 rc-svcdir /lib64/rc/init.d tmpfs rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0
6 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
7 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
8 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
9 /dev/sdb1 /storage ext4 rw,noatime,barrier=1,data=ordered 0 0
mount: /dev/sdb1 already mounted on /storage
mount: shm already mounted on /dev/shm
nothing was mounted
I'll run an fsck /dev/sdb1# file -s /dev/sdb1
/dev/sdb1: DOS-executable (
# file -s /dev/sda1
/dev/sda1: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, 1st sector stage2 0x31095151, code offset 0x48
Adding the explicitHu wrote:You provided the output of mount -a -v after it was already mounted. I would like to see the output when it is not yet mounted.
Code: Select all
auto