Partitionen mounten - fehlgeschlagen

ich muß mal kurz weg.
Wenn /mnt tatsächlichnicht mehr da ist, versuch mal umount /mnt
Ich fürchte, du kannst da gar nicht mehr aushängen, denn wie soll das gehen, wenn dein mountpoint nicht mehr da ist.
Dann kannst du ein umount -a versuchen und danach wieder mount -a, mal sehen.
Dann würde ich probieren, einen neuen mountpoint anzulegen und nicht /mnt zu nutzen. Der könnte von irgendwelchen Diensten gebraucht werden. Doch das passierte dir ja auch bei /media, nun, jedenfalls würde ich es mal mit einem neuen, unbefleckten Verzeichnis probieren.

Bin mal gespannt, ob wir da was finden.
 
ok....

Code:
# ls -l /
ls: mnt: Bad file descriptor
total 47
-rw-r--r--   2 root  wheel      801  6 Jan  2008 .cshrc
-rw-r--r--   2 root  wheel      251  6 Jan  2008 .profile
drwxrwxr-x   2 root  operator   512  8 Apr 23:06 .snap
-r--r--r--   1 root  wheel     6192  6 Jan  2008 COPYRIGHT
drwxr-xr-x   2 root  wheel     1024  6 Jan  2008 bin
drwxr-xr-x   7 root  wheel      512 10 Apr 11:11 boot
drwxr-xr-x   2 root  wheel      512 10 Okt  2007 cdrom
lrwxr-xr-x   1 root  wheel       10  6 Jan  2008 compat -> usr/compat
dr-xr-xr-x   4 root  wheel      512  1 Jan  1970 dev
drwxr-xr-x  18 root  wheel     2048 11 Apr 18:30 etc
lrwxr-xr-x   1 root  wheel        8  6 Jan  2008 home -> usr/home
drwxr-xr-x   3 root  wheel     1024  6 Jan  2008 lib
drwxr-xr-x   2 root  wheel      512  6 Jan  2008 libexec
drwxrwxr-t   2 root  wheel      512 11 Apr 15:10 media
dr-xr-xr-x   1 root  wheel        0 11 Apr 20:38 proc
drwxr-xr-x   2 root  wheel     2560  6 Jan  2008 rescue
drwxr-xr-x   7 root  wheel      512 11 Apr 18:44 root
drwxr-xr-x   2 root  wheel     2560  6 Jan  2008 sbin
lrwxr-xr-x   1 root  wheel       11  6 Jan  2008 sys -> usr/src/sys
drwxr-xr-x   2 root  wheel      512 11 Apr 20:37 test
drwxrwxrwt  12 root  wheel     1024 11 Apr 20:38 tmp
drwxr-xr-x  20 root  wheel      512 10 Apr 11:07 usr
drwxr-xr-x  25 root  wheel      512 11 Apr 18:41 var



Aushängen konnte ich es nicht mehr... deswegen starte ich mein system immer wieder neu....

Code:
# umount /mnt
umount: unmount of /mnt failed: Device busy

# umount umount -a
umount: umount: statfs: No such file or directory
umount: umount: unknown file system
umount: -a: statfs: No such file or directory
umount: -a: unknown file system

Und ja, ich habe DesktopBSD 1.6 installiert... also FreeBSD 6.3
mit Konqueror 3.5.8 und KDE 3.5.8

Okay... nun habe ich ein neues Verzeichnis angelegt /test.


Code:
# mount -t ext2fs /dev/ad4s6 /test

[b]# df[/b]
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ad4s4a    253678   72512   160872    31%    /
devfs               1       1        0   100%    /dev
/dev/ad4s4d    507630  140630   326390    30%    /var
/dev/ad4s4e  13856570 4196482  8551564    33%    /usr
/usr/tmp     13856570 4196482  8551564    33%    /tmp
procfs              4       4        0   100%    /proc
linprocfs           4       4        0   100%    /usr/compat/linux/proc
/dev/ad4s6   76726652  658196 72201616     1%    /test

[b]# ls /test[/b]
ls: /test: Bad file descriptor

[b]# mount | grep ext2[/b]
/dev/ad4s6 on /test (ext2fs, local)

[b]# dmesg[/b]
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RC2 #30: Sun Jan  6 01:54:42 UTC 2008
    root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/SMP
acpi_alloc_wakeup_handler: can't alloc wake memory
ACPI APIC Table: <DELL   M08    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz (2194.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fa  Stepping = 10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 2145984512 (2046 MB)
avail memory = 2081812480 (1985 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Jan  6 2008 01:54:15)
acpi0: <DELL M08    > on motherboard
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce 8600M GT> port 0xdf00-0xdf7f mem 0xfd000000-0xfdffffff,0xe0000000-0xefffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <UHCI (generic) USB controller> port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pcm0: <Intel 82801H High Definition Audio Controller> mem 0xfebfc000-0xfebfffff irq 21 at device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci11: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci12: <ACPI PCI bus> on pcib3
pci12: <network> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci13: <ACPI PCI bus> on pcib4
uhci2: <UHCI (generic) USB controller> port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0
uhci2: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0
uhci3: [GIANT-LOCKED]
usb4: <UHCI (generic) USB controller> on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4: <UHCI (generic) USB controller> port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0
uhci4: [GIANT-LOCKED]
usb5: <UHCI (generic) USB controller> on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: <EHCI (generic) USB 2.0 controller> on ehci1
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ugen0: OmniVision Technologies, Inc. -2640-07.07.20.3 Laptop Integrated Webcam, rev 2.00/1.00, addr 2
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib5
bfe0: <Broadcom BCM4401-B0 Fast Ethernet> mem 0xf9bfe000-0xf9bfffff irq 17 at device 0.0 on pci3
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:1c:23:91:b4:9f
fwohci0: <1394 Open Host Controller Interface> mem 0xf9bfd800-0xf9bfdfff irq 19 at device 1.0 on pci3
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 33:4f:c0:00:28:7d:10:70
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 32:4f:c0:7d:10:70
fwe0: Ethernet address: 32:4f:c0:7d:10:70
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci3: <base peripheral> at device 1.1 (no driver attached)
pci3: <base peripheral> at device 1.2 (no driver attached)
pci3: <base peripheral> at device 1.3 (no driver attached)
pci3: <base peripheral> at device 1.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ATA controller> port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eef,0xeff0-0xefff irq 17 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64,0x62,0x66 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcd7ff,0xcd800-0xcffff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhub7: Broadcom BCM2045B2, class 9/0, rev 2.00/1.00, addr 2
uhub7: 3 ports with 0 removable, bus powered
ugen1: Broadcom Corp BCM2045, rev 2.00/1.00, addr 3
ukbd0: Broadcom Corp product 0x4502, rev 2.00/1.00, addr 4, iclass 3/1
kbd2 at ukbd0
ums0: Broadcom Corp product 0x4503, rev 2.00/1.00, addr 5, iclass 3/1
ums0: 3 buttons.
ums1: Wacom Co.,Ltd. CTE-450, rev 2.00/1.13, addr 2, iclass 3/1
ums1: 3 buttons and Z dir.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
acd0: DVDR <PBDS DVD+/-RW DS-8W1P/BD1B> at ata0-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
ad4: 152627MB <Hitachi HTS541616J9SA00 SB4OC7KP> at ata2-master UDMA33
pcm0: <HDA Codec: Sigmatel (Unknown)>
pcm0: <HDA Driver Revision: 20071129_0050>
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <PBDS DVD+-RW DS-8W1P BD1B> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s4a
 
da hast du ganz definitiv kein korrektes Verhalten und ich weiß nicht, wie das erklärt werden kann.
Hattest du sowas auch mit anderen Dateisystemen und anderen Typen? Also etwa FAT oder FAT32 und dann natürlich auch UFS?
Sorry, da sehe ich im Augenblick nicht weiter.
Ich würde bei mir selbst versuchen, so wenig wie möglich Dienste laufen zu lassen und mit nur einem Minimalsystem zu sehen, wie dieses sich verhält.
Ich kenne auch keine neueren Versionen von Desktop-BSD, möglichweise haben die was laufen, das so ein Verhalten erklären könnte. Ich kann es nicht.
Das sieht vielleicht so aus, als hättest du gar keine Rechte an diesen mountpoints mehr, was aber nicht angeht, da du sie selbst erstellt hast.
Ganz ehrlich würde ich auf einen Fehler im Kernel tippen.
Aber, ich kenne mich da wirklich zu wenig aus.
Immerhin, vielleicht ein schwacher Trost für dich: du kannst nun gezielter nachfragen und suchen. Dein Problem lautet: nach erfolgreichem mount keinen Zugriff mehr auf die mountpoints.
 
okay... ich danke dir auf jeden Fall für deine Mühe... ich werde dann wohl erst mal suchen... ob dieses Problem schon mal bei jemandem aufgetreten und gelöst wurde... wenn ich nichts finde, dann probieren ich es wohl demnächst mit der aktuellesten Version von FreeBSD...

Ansonsten bin ich noch offen für weitere Lösungsvorschläge...

Edit: Ach und das mounten anderer Partitionen geht einwandfrei... also ntfs läuft, ufs2 läuft, fat32 läuft,
 
Zuletzt bearbeitet:
Hi,
was das ext3 angeht da gibt es eine Aenderrung seit einiger Zeit. Ext3 verwendet inzwischen 256Bit fuer die Inodes, der FreeBSD-Kernel geht von 128Bit aus.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/124621 war da imho ein passender Link zu.

Der Link zum (funktionierenden) Kernelpatch war imho:
http://pflog.net/~floyd/ext2fs.diff

Es ist bei mir zwar etwas her, das ich das Patch bei mir eingespielt habe, hat allerdings problemlos geklappt mounten geht dannn ganz normal mit type ext2fs und ro.

Wenn ich die Posts in der Mailingliste richtig in Erinnerung hab, funktioniert es mit dem Patch, wurde aber noch nicht in den Kernel eingepflegt weil noch keiner genau nachgeschaut hat wofuer Linux die zusaetlichen 128Bit verwendet, mit dem Patch werden die einfach ignoriert, es ist also "zu unstable".

Betrifft wohl alle ext3-Dateisysteme ab ext2fs-utils version > ?

Viel Spaß
surfer
 
aha... das hört sich schon mal positiv an... ich danke dir für die Info und die Links.... ich arbeite das mal durch und gucke, was ich bei mir machen kann... und ob ich es hinbekomme... Ich melde mich demnächst noch Mal, Danke...
 
bei meiner Platte: Inode size: 128
Deshalb geht es wohl bei mir, ich habe keine "frischen" Linux-Installationen und diese Platte ist als externes Austausch(Backup)medium zwischen einem busybox/Linux und einem FreeBSD-fileserver gedacht. Es könnte sogar sein, daß ich die mit FreeBSD formatiert hatte.
Jedenfalls passt das zu der Annahme.
Trotzdem ein merkwürdiges Verhalten. Mit dem Verschwinden von mountpoints hätte ich da nicht gerechnet und mount liefert keine Fehler... merkwürdig.
 
Zurück
Oben