External disk doesn't mount during boot

trebor33

I have external hard drive box(with external power) with 8TB disk inside it. I added it to /etc/fstab as follows:

/dev/sdc2 /big ext4 rw,nosuid,nodev,relatime,nofail,data=ordered 0 0

The disk dosn't mount during boot. And I can't mount it manualy using sudo mount /dev/sdc2 beacuse I don't see the disk in /dev/.

Please advise me, what should I do in order to mount the disk automatically. The disk can't be seen in lsusb neigher.

What I have already tried:

  1. I tried removing nofail keyword. This causes that during boot I get the following:

Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.

  1. I tried to replace /dev/sdc2 with UUID=..., but it doesn't have any impact.

  2. I tried turning the disk on and off using physical power button on the disk box. - This helped! The disk appeared in /dev, it was mounted automatically and it appeard in lsusb as:

    Bus 004 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge

I plan to use the computer with the disk remotely, so I need that it is mounted automatically and not manualy by turingn the switch on and off.

Thanks in advance.

EDIT2: I use the following hardware:

External box AKASA AK-TL3SEB-BK Lokstor X31, 3,5"

HDD Seagate Archive, 3,5", SATAIII, 128MB - 8TB

laptop Lenovo IdeaPad U410

EDIT3: I believe that external box was defective. I did tried to connect the enclosure to USB2.0 and it didn't work at all, I tried to connect the enclosure to other computers and to computer with windows and it didn't work. I thank to @LDJames, for his suggestion in comments, that the enclosure might be broken and for his suggestion to buy new enclosure. I brought new one and everything works perfectly. I marked his answer as accepted and I am very greatful.

L. D. James

It's possible the device isn't available during the boot process. You can address your real concern by having the disk available by adding a script to start it to your /etc/rc.local file... a file which is automatically run after the system comes up.

Just make a script such as /usr/local/bin/mountdrive.sh and add that line to the /etc/rc.local file.

/usr/local/bin/mountdrive.sh:

#!/bin/bash
mount /dev/sdc2

Alternatively, to avoid getting the already mounted error you could use this in your mountdrive.sh file:

#!/bin/bash
mountpoint -q /big && mount /big

Results of testing your fstab entry:

I attached a USB Seagate 4 Gig Drive and used the exact entry and got success. After this I modified the entry to use the UUID in case the drive specification changes. You can get the UUID of your /dev/sda1 partition with:

$ lsblk -o name,mountpoint,label,size,uuid,fstype

This is the modified fstab line that also works:

UUID=2a14ecf1-e4f6-45fb-8cb7-5c5317e3189e /big ext4 rw,nosuid,nodev,relatime,nofail,data=ordered 0 0

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Is it possible to MOUNT and entire external disk and not by partitions?

분류에서Dev

Unable to mount my external hard disk

분류에서Dev

Isn't /boot a separate mount?

분류에서Dev

Debian can't mount partition or external hd

분류에서Dev

Ubuntu doesn't boot!

분류에서Dev

Can't mount recently formated external hard drive

분류에서Dev

Converted disk to GPT, can't boot anymore

분류에서Dev

How do I automatically (after boot) mount an USB disk for the general user read/write/execute

분류에서Dev

How can I copy files from my internal drive to an external USB 3.0 drive if Windows doesn't boot up?

분류에서Dev

Collectionview doesn't show anything during runtime

분류에서Dev

ls -la doesn't display correct permission for a mount --bind folder

분류에서Dev

How to mount partition from disk

분류에서Dev

Easy USB disk mount command

분류에서Dev

Computer won't boot without external hard drive (now won't boot at all "Boot Device Not Found")

분류에서Dev

My external hard drive won't mount. I am using Ubuntu 14.10

분류에서Dev

Why doesn't kickstart for CentOS 7 use my disk configuration?

분류에서Dev

Why doesn't my disk get shared via NFS?

분류에서Dev

Why Doesn't my Bootable USB Boot

분류에서Dev

Ubuntu Studio doesn't boot properly

분류에서Dev

13.10 doesn't boot on Vaio Pro 13

분류에서Dev

Computer shutdown during disk scan

분류에서Dev

How To Mount A Disk Image On Android With Terminal?

분류에서Dev

Avoid flooding disk by copying to failed mount point

분류에서Dev

How to mount multiple folders to same hard disk?

분류에서Dev

Dual Boot : Disk Failing

분류에서Dev

Disk space full not changing after mount folder on other disk

분류에서Dev

NFS mount causes boot delay

분류에서Dev

How to auto mount / permanently mount external devices on NixOS

분류에서Dev

Windows 7 computer won't boot and recovery doesn't work

Related 관련 기사

  1. 1

    Is it possible to MOUNT and entire external disk and not by partitions?

  2. 2

    Unable to mount my external hard disk

  3. 3

    Isn't /boot a separate mount?

  4. 4

    Debian can't mount partition or external hd

  5. 5

    Ubuntu doesn't boot!

  6. 6

    Can't mount recently formated external hard drive

  7. 7

    Converted disk to GPT, can't boot anymore

  8. 8

    How do I automatically (after boot) mount an USB disk for the general user read/write/execute

  9. 9

    How can I copy files from my internal drive to an external USB 3.0 drive if Windows doesn't boot up?

  10. 10

    Collectionview doesn't show anything during runtime

  11. 11

    ls -la doesn't display correct permission for a mount --bind folder

  12. 12

    How to mount partition from disk

  13. 13

    Easy USB disk mount command

  14. 14

    Computer won't boot without external hard drive (now won't boot at all "Boot Device Not Found")

  15. 15

    My external hard drive won't mount. I am using Ubuntu 14.10

  16. 16

    Why doesn't kickstart for CentOS 7 use my disk configuration?

  17. 17

    Why doesn't my disk get shared via NFS?

  18. 18

    Why Doesn't my Bootable USB Boot

  19. 19

    Ubuntu Studio doesn't boot properly

  20. 20

    13.10 doesn't boot on Vaio Pro 13

  21. 21

    Computer shutdown during disk scan

  22. 22

    How To Mount A Disk Image On Android With Terminal?

  23. 23

    Avoid flooding disk by copying to failed mount point

  24. 24

    How to mount multiple folders to same hard disk?

  25. 25

    Dual Boot : Disk Failing

  26. 26

    Disk space full not changing after mount folder on other disk

  27. 27

    NFS mount causes boot delay

  28. 28

    How to auto mount / permanently mount external devices on NixOS

  29. 29

    Windows 7 computer won't boot and recovery doesn't work

뜨겁다태그

보관