[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ?: mount mountet manchmal nicht



Hallo Gregor,

On Sun, 11 Aug 2002 the mental interface of Gregor Zattler told:
.....


> > > root@pit:~# mount -a
> > > mount: special device LABEL=f-home does not exist
> > .....
> > 
> > Prüf mal Deine /etc/fstab und vergleiche sie nach mount -a mit der
> > /etc/mtab.
> 
> hier die relevanten Zeilen aus /etc/fstab:
> 0 pit:/tmp$ egrep -iv "noauto|^#|^$" /etc/fstab  
> /dev/hda3    /         ext3,ext2  defaults,errors=remount-ro 0 1
                         ^^^^^^^^^
Wenn Du zur Sicherheit Deine ext3 fs auch mit einem Kernel booten
willst, der kein ext3 unterstützt (Rescue Kernel) trage einfach auto
ein! Ein 2.2.20 ohne ext3 Unterstützung mountet dann als ext2. Geht
bei mir hervorragend!

.....
> LABEL=f-home /home     ext3,ext2  rw,auto,debug              0 2
  ^^^^^^^^^^^^ 
  Für was benötigst Du Diese Labels? Ich hab das noch nie gesehen
  oder in manpages gelesen. Warum trägst Du nicht entsprechend der
  mtab (s.u.), die den gemounteten Zustand beschreibt, ein:
/dev/hda5   /home auto  defaults  0 2

Aus der Manpage für mount:

defaults
     Use default options: rw, suid, dev, exec, auto,nouser, and async

wobei hier 
dev Interpret character or block special devices on the file system
für Dich interessant sein dürfte.

> und hier /etc/mtab
> 0 pit:/tmp$ cat /etc/mtab 
> /dev/hda3 / ext3,ext2 rw,errors=remount-ro 0 0
> proc /proc proc rw 0 0
> devpts /dev/pts devpts rw,gid=5,mode=620 0 0
> tmpfs /dev/shm tmpfs rw,size=777m 0 0
> /dev/hda5 /home ext3 rw,debug 0 0
                          ^^^^^
                          Unnötig!
.....

Probier es mal aus. Es sollte funktionieren!

Ciao

Elimar


-- 
    .~.
    /V\   L   I   N   U   X
   // \\ >Phear the Penguin<
  /(   )\
   ^^-^^
--

Attachment: pgp89sYGe1a1u.pgp
Description: PGP signature


Reply to: