You are not logged in.

#1 2009-10-09 13:30:14

aliov
Member
Registered: 2009-02-13
Posts: 19

fstab entry not auto mounted at boot time

Hi,

I have the following setup.

rc.conf
DAEMONS=(syslog-ng network netfs crond alsa !iptables dbus hal sshd denyhosts httpd ddclient cups)

fstab
UUID=d219f1cc-19f1-4b85-9d57-9385ac22273c /mnt/data reiserfs defaults 0 0

The device is not mounted at boot time, i can add the mount stuff to a local rc.d file but i wonder why isn't already exists.

Offline

#2 2009-10-09 15:03:50

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: fstab entry not auto mounted at boot time

phhtt

Last edited by Gen2ly (2009-10-09 17:30:27)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2009-10-09 15:16:20

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: fstab entry not auto mounted at boot time

Is it mounted after running "mount -a", if not, is the UUID correct?

Offline

#4 2009-10-09 15:23:44

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: fstab entry not auto mounted at boot time

Yes it is mounted after running mount -a. the UUID is correct.

Offline

#5 2009-10-09 16:48:10

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: fstab entry not auto mounted at boot time

What device is the partion located on?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2009-10-09 17:31:23

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: fstab entry not auto mounted at boot time

Oy, was tired.  Meant to write:

Output of:

ls -l /dev/disk/by-uuid/

?


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#7 2009-10-09 17:55:48

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: fstab entry not auto mounted at boot time

Mr.Elendig wrote:

What device is the partion located on?

/dev/sdb1 this is my external backup USB hard drive.

Offline

#8 2009-10-09 18:38:34

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: fstab entry not auto mounted at boot time

Your usb drive might not be ready by the time the init scripts calls mount -a. You could mount it when it becomes available using udev instead.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2009-10-09 19:18:54

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: fstab entry not auto mounted at boot time

Mr.Elendig wrote:

Your usb drive might not be ready by the time the init scripts calls mount -a. You could mount it when it becomes available using udev instead.

How would someone go about doing this for say an sd card reader? My friend has his /home directory on an SD card and wants it to mount correctly.

Offline

#10 2009-10-09 19:31:41

aliov
Member
Registered: 2009-02-13
Posts: 19

Re: fstab entry not auto mounted at boot time

The thing is that if i disconnect the drive before booting, i got a message complaining about device with UUID=..... no connected, anyway i think i will add a mount for it at the end of the init scripts.

Last edited by aliov (2009-10-10 03:52:27)

Offline

Board footer

Powered by FluxBB