Solved: external drive no longer mounts on boot
|
1st Jun, 2014, 07:37 AM
Post: #1
|
|||
|
|||
external drive no longer mounts on boot
I have been using a btrfs external drive for some time now without issues, but I just pulled whatever updates were released within the last few days with apt-get update && apt-get upgrade and now my external drive no longer mounts automatically. Here is my fstab:
Terminal /dev/mmcblk0p1 /boot xbian rw,nobootwait 0 1 /dev/root /home xbian subvol=home/@,noatime,nobootwait 0 0 /dev/root /lib/modules xbian subvol=modules/@,noatime,nobootwait 0 0 /dev/root / xbian noatime,nobootwait 0 0 none /run/lock tmpfs noauto 0 0 none /run/shm tmpfs noauto 0 0 none /run/user tmpfs noauto 0 0 UUID=bb663b44-7e4f-45b2-bb5f-01a7b7bfac10 /mnt/jurassic xbian rw,compress=lzo,noatime,nodiratime,nodev,noexec,space_cache 0 0 What I don't understand is why when I do a "mount /mnt/jurassic" (which to my knowledge calls on /etc/fstab to figure out what should be mounted there) it mounts just fine. xbian tends to hang on the "network started" portion of the boot, but I have never been able to figure out how to get rid of the pretty graphics to see what is actually going on and my dmesg doesn't communicate anything relevant. Any ideas what would be causing this and how I would go about diagnosing this issue? |
|||
1st Jun, 2014, 10:21 AM
Post: #2
|
|||
|
|||
RE: [Problem] external drive no longer mounts on boot
I figured out why it doesn't work now, but I don't understand why it worked before.
I changed Terminal UUID=bb663b44-7e4f-45b2-bb5f-01a7b7bfac10 /mnt/jurassic xbian rw,compress=lzo,noatime,nodiratime,nodev,noexec,space_cache 0 0 Terminal UUID=bb663b44-7e4f-45b2-bb5f-01a7b7bfac10 /mnt/jurassic btrfs rw,compress=lzo,noatime,nodiratime,nodev,noexec,space_cache 0 0 I thought that "xbian" was specifying that the device was being mounted by user xbian, where that space should have contained the filesystem type. What I do not understand is why it worked until I updated. Can anybody offer an explanation? |
|||
25th Jun, 2014, 06:33 AM
Post: #3
|
|||
|
|||
RE: external drive no longer mounts on boot
before it was working due to a less optimum boot process. by default drives are mounted on boot via special mountall process which is started early in the boot and running until all known partitions / disks are not mounted. although it is quite robust in functionality, it's use for embedded system is not 100% optimal. it is designed to mount disks out of order solely based on real hierarchical dependency of mount points. this is great in general but quite lazy on slower system systems. that's why xbian is injecting it's start process and is mounting essential volumes on its own by, only when those are mounted, control is passed on to other jobs.
and now the point. xbian early in the boot mounting "xbian" type fileystems. mountall started just after to emit events needed for other things to be processed. apparently this was taking before exactly such time period in which your drisk was recognised and because the early xbian's process mounting "xbian" type filesystems was still running - it mounted also you disk. with one of latest updates that process has become shorter at about 3s which is not enough anymore for your drive be up & recognised by the system. because we use the other mountall process just for notifications, it was'nt mounting your drive as well, but that's fine because all such disks are supposed to be mounted ad hock via hotplug mounter. unfortunately that mounter is not allowed to mount "xbian" type. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Jul, 2014, 07:51 PM
Post: #4
|
|||
|
|||
RE: external drive no longer mounts on boot
guys, i fistly aplogise for being quite new ... But after updating now my external USb drive no longer shows up on the network... any help?
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Samba not sharing external USB drive | Deep6 | 5 | 17,597 |
6th Aug, 2014 11:14 AM Last Post: mk01 |
|
USB hard drive no longer mounting | cliverlong | 9 | 29,570 |
17th Jul, 2014 09:23 PM Last Post: cliverlong |
|
Fail to Boot from USB stick when a USB External HD attached at the same time | snowf0x | 2 | 10,789 |
12th May, 2013 07:06 AM Last Post: mk01 |