Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/08/2007, à 19:12

B@rtounet

Disque externe usb qui ne se monte pas au demmarage

Bonsoir,
je suis sous ubuntu serveur.

les disques sont les suivants:

root@serveur:~# fdisk -l

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4791    38483676   83  Linux
/dev/hda2            4792        4998     1662727+   5  Extended
/dev/hda5            4792        4998     1662696   82  Linux swap / Solaris

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       24321   195358401    c  W95 FAT32 (LBA)

Pourquoi à chaque reboot mon disque usb ne se monte pas automatiquement malgré mon fstab ??

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sda1       /media/BARTOUNET     vfat    defaults,rw,utf8,umask=000,auto    0       1

Hors ligne

#2 Le 08/08/2007, à 21:10

Jelly

Re : Disque externe usb qui ne se monte pas au demmarage

hi,

/dev/sda1       /media/BARTOUNET     vfat    defaults,rw,utf8,umask=000,auto    0       1

Ici tu as ton disque avec la même priorité de montage que "/". Pas sûre que ce soit la cause directe du pb, mais dans tout les cas c'est à éviter. Si tu remplaces "1" par "2", ça passe mieux?

Hors ligne

#3 Le 08/08/2007, à 23:48

B@rtounet

Re : Disque externe usb qui ne se monte pas au demmarage

Non malheureusement ca ne change rien...

Le pire dans tout ca c'est qu'il me suffit de faire mount -a au demmarage pour qu'il se monte; sachant que mount -a est la commande qui monte tout ce qu'il y a dans le fstab, ca fait un peu mal sad

Hors ligne

#4 Le 08/08/2007, à 23:56

belga

Re : Disque externe usb qui ne se monte pas au demmarage

c'est peut être le module usb qui n'est pas lancé au démarrage.

Dernière modification par belga (Le 08/08/2007, à 23:57)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#5 Le 09/08/2007, à 00:15

HymnToLife

Re : Disque externe usb qui ne se monte pas au demmarage

Regarde dans ton dmesg, tu dois avoir un message d'erreur quand le système essaie de monter /dev/sda1 au boot.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#6 Le 09/08/2007, à 07:18

stopher

Re : Disque externe usb qui ne se monte pas au demmarage

Salut ,
Je me souviens m'etre deja debatu dans le fstab pour monter mes disques amovibles au demarrage ...

Je ne peux que te conseiller cette page qui explique vraiment bien les options possible du fstab ...

http://lea-linux.org/cached/index/Fstab.html

good luck !

Hors ligne

#7 Le 09/08/2007, à 08:33

B@rtounet

Re : Disque externe usb qui ne se monte pas au demmarage

J'ai bien lu la doc, mais rien ne précise pourquoi ce disque ne se monte pas au demmarage, la seule explication je pense est que le chargement du module usb doit se faire après les montage des partitions du fstab

Pour l'instant la seule facon que j'ai trouvé est de placé un script au demarrage qui execute un mount -a

Dernière modification par B@rtounet (Le 09/08/2007, à 08:38)

Hors ligne

#8 Le 09/08/2007, à 08:36

HymnToLife

Re : Disque externe usb qui ne se monte pas au demmarage

Encore une fois, j'ai l'impression de parler dans le vide... La raison pour laquelle ton disque ne se monte pas se trouve forcément dans le dmesg.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#9 Le 09/08/2007, à 08:39

B@rtounet

Re : Disque externe usb qui ne se monte pas au demmarage

Non tu ne parle pas dans le vide, j'ai bien regardé le demesg et rien de parle de montage...
de plus l'usb à l'air de bien se charger

[17179571.652000] NET: Registered protocol family 16
[17179571.652000] EISA bus registered
[17179571.652000] ACPI: bus type pci registered
[17179571.660000] PCI: PCI BIOS revision 2.10 entry at 0xfb4e0, last bus=1
[17179571.660000] ACPI: Subsystem revision 20051216
[17179571.676000] ACPI: Interpreter enabled
[17179571.676000] ACPI: Using IOAPIC for interrupt routing
[17179571.676000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[17179571.676000] PCI: Probing PCI hardware (bus 00)
[17179571.676000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[17179571.676000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:02.5
[17179571.676000] Boot video device is 0000:01:00.0
[17179571.676000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[17179571.692000] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[17179571.692000] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[17179571.692000] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[17179571.696000] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[17179571.696000] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[17179571.696000] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[17179571.696000] ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 7 9 10 11 12 14 15)
[17179571.696000] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[17179571.696000] Linux Plug and Play Support v0.97 (c) Adam Belay
[17179571.696000] pnp: PnP ACPI init
[17179571.700000] pnp: PnP ACPI: found 11 devices
[17179571.700000] PnPBIOS: Disabled by ACPI PNP
[17179571.700000] PCI: Using ACPI for IRQ routing
[17179571.700000] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[17179571.704000] PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0
[17179571.704000] PCI: Bridge: 0000:00:01.0
[17179571.704000]   IO window: d000-dfff
[17179571.704000]   MEM window: e1000000-e10fffff
[17179571.704000]   PREFETCH window: d8000000-dfffffff
[17179571.704000] audit: initializing netlink socket (disabled)
[17179571.704000] audit(1186645020.700:1): initialized
[17179571.704000] highmem bounce pool size: 64 pages
[17179571.704000] VFS: Disk quotas dquot_6.5.1
[17179571.704000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[17179571.704000] Initializing Cryptographic API
[17179571.704000] io scheduler noop registered
[17179571.704000] io scheduler anticipatory registered
[17179571.704000] io scheduler deadline registered
[17179571.708000] io scheduler cfq registered
[17179571.708000] isapnp: Scanning for PnP cards...
[17179572.060000] isapnp: No Plug & Play device found
[17179572.076000] Real Time Clock Driver v1.12
[17179572.076000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[17179572.608000] serio: i8042 AUX port at 0x60,0x64 irq 12
[17179572.612000] serio: i8042 KBD port at 0x60,0x64 irq 1
[17179572.612000] Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
[17179572.612000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179572.612000] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179572.612000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[17179572.612000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179572.612000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[17179572.612000] mice: PS/2 mouse device common for all mice
[17179572.620000] EISA: Probing bus 0 at eisa.0
[17179572.620000] Cannot allocate resource for EISA slot 1
[17179572.620000] Cannot allocate resource for EISA slot 4
[17179572.620000] EISA: Detected 0 cards.
[17179572.620000] NET: Registered protocol family 2
[17179572.660000] input: AT Translated Set 2 keyboard as /class/input/input0
[17179572.664000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[17179572.664000] TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
[17179572.668000] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[17179572.668000] TCP: Hash tables configured (established 131072 bind 65536)
[17179572.668000] TCP reno registered
[17179572.668000] TCP bic registered
[17179572.668000] NET: Registered protocol family 1
[17179572.672000] NET: Registered protocol family 8
[17179572.672000] NET: Registered protocol family 20
[17179572.672000] Using IPI No-Shortcut mode
[17179572.672000] ACPI wakeup devices:
[17179572.672000] FUTS PCI0 USB0 USB1 USB2 USB3 MAC0 AMR0 UAR1 PS2M PS2K
[17179572.672000] ACPI: (supports S0 S1 S4 S5)
[17179572.672000] Freeing unused kernel memory: 332k freed
[17179572.720000] vga16fb: initializing
[17179572.720000] vga16fb: mapped to 0xc00a0000
[17179572.800000] Console: switching to colour frame buffer device 80x25
[17179572.800000] fb0: VGA16 VGA frame buffer device
[17179572.808000] Capability LSM initialized
[17179572.840000] ACPI: Fan [FAN] (on)
[17179572.844000] ACPI: Thermal Zone [THRM] (34 C)
[17179573.248000] SIS5513: IDE controller at PCI slot 0000:00:02.5
[17179573.248000] ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 169
[17179573.248000] SIS5513: chipset revision 1
[17179573.248000] SIS5513: not 100% native mode: will probe irqs later
[17179573.248000] SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
[17179573.248000]     ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:pio
[17179573.248000]     ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:DMA
[17179573.248000] Probing IDE interface ide0...
[17179573.544000] hda: Maxtor 6K040L0, ATA DISK drive
[17179574.220000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179576.320000] Probing IDE interface ide1...
[17179577.340000] hdd: Memorex 48MAXX 1248AJ, ATAPI CD/DVD-ROM drive
[17179577.400000] ide1 at 0x170-0x177,0x376 on irq 15
[17179577.408000] hda: max request size: 128KiB
[17179577.420000] hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
[17179577.420000] hda: cache flushes supported
[17179577.420000]  hda: hda1 hda2 < hda5 >
[17179577.456000] hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
[17179577.456000] Uniform CD-ROM driver Revision: 3.20
[17179577.632000] usbcore: registered new driver usbfs
[17179577.632000] usbcore: registered new driver hub
[17179577.632000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[17179577.632000] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 177
[17179577.632000] ohci_hcd 0000:00:03.0: OHCI Host Controller
[17179577.664000] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
[17179577.664000] ohci_hcd 0000:00:03.0: irq 177, io mem 0xe1103000
[17179577.724000] hub 1-0:1.0: USB hub found
[17179577.724000] hub 1-0:1.0: 3 ports detected
[17179577.832000] ACPI: PCI Interrupt 0000:00:03.1[b] -> GSI 21 (level, low) -> IRQ 185
[17179577.832000] ohci_hcd 0000:00:03.1: OHCI Host Controller
[17179577.864000] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
[17179577.864000] ohci_hcd 0000:00:03.1: irq 185, io mem 0xe1100000
[17179577.924000] hub 2-0:1.0: USB hub found
[17179577.924000] hub 2-0:1.0: 3 ports detected
[17179578.032000] ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 193
[17179578.032000] ohci_hcd 0000:00:03.2: OHCI Host Controller
[17179578.064000] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
[17179578.064000] ohci_hcd 0000:00:03.2: irq 193, io mem 0xe1101000
[17179578.124000] hub 3-0:1.0: USB hub found
[17179578.124000] hub 3-0:1.0: 2 ports detected
[17179578.232000] ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 201
[17179578.232000] ehci_hcd 0000:00:03.3: EHCI Host Controller
[17179578.232000] PCI: cache line size of 64 is not supported by device 0000:00:03.3
[17179578.232000] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
[17179578.232000] ehci_hcd 0000:00:03.3: irq 201, io mem 0xe1102000
[17179578.232000] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[17179578.232000] hub 4-0:1.0: USB hub found
[17179578.232000] hub 4-0:1.0: 8 ports detected
[17179578.376000] Attempting manual resume
[17179578.412000] EXT3-fs: mounted filesystem with ordered data mode.
[17179578.416000] kjournald starting.  Commit interval 5 seconds
[17179578.636000] usb 4-3: new high speed USB device using ehci_hcd and address 2
[17179583.084000] Linux agpgart interface v0.101 (c) Dave Jones
[17179583.088000] agpgart: Detected SiS 741 chipset
[17179583.100000] agpgart: AGP aperture is 128M @ 0xd0000000
[17179583.128000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[17179583.140000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[17179583.380000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 209
[17179583.380000] 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
[17179583.380000] 0000:00:0a.0: 3Com PCI 3c905 Boomerang 100baseTx at 0001e800. Vers LK1.1.19
[17179583.600000] SCSI subsystem initialized
[17179583.688000] Initializing USB Mass Storage driver...
[17179583.688000] scsi0 : SCSI emulation for USB Mass Storage devices
[17179583.688000] usb-storage: device found at 2
[17179583.688000] usb-storage: waiting for device to settle before scanning
[17179583.688000] usbcore: registered new driver usb-storage
[17179583.688000] USB Mass Storage support registered.
[17179583.704000] ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 209
[17179583.728000] input: PC Speaker as /class/input/input1
[17179583.824000] Floppy drive(s): fd0 is 1.44M
[17179583.848000] FDC 0 is a post-1991 82077
[17179583.952000] logips2pp: Detected unknown logitech mouse model 85
[17179583.972000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 209
[17179584.012000] parport: PnPBIOS parport detected.
[17179584.012000] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[17179584.024000] intel8x0_measure_ac97_clock: measured 58736 usecs
[17179584.024000] intel8x0: clocking to 48000
[17179584.452000] input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
[17179584.684000] ts: Compaq touchscreen protocol output
[17179584.808000] lp0: using parport0 (interrupt-driven).
[17179584.936000] Adding 1662688k swap on /dev/hda5.  Priority:-1 extents:1 across:1662688k
[17179585.000000] EXT3 FS on hda1, internal journal
[17179585.232000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[17179585.232000] md: bitmap version 4.39
[17179585.720000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
[17179586.608000] cdrom: open failed.
[17179588.692000]   Vendor: WDC       Model: WD2000BB-00GUC0   Rev: 08.0
[17179588.692000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[17179588.700000] usb-storage: device scan complete
[17179588.744000] Driver 'sd' needs updating - please use bus_type methods
[17179588.744000] SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
[17179588.744000] sda: assuming drive cache: write through
[17179588.752000] SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
[17179588.752000] sda: assuming drive cache: write through
[17179588.756000]  sda: sda1
[17179588.768000] sd 0:0:0:0: Attached scsi disk sda
[17179588.788000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[17179590.880000] NET: Registered protocol family 10
[17179590.880000] lo: Disabled Privacy Extensions
[17179590.880000] IPv6 over IPv4 tunneling driver
[17179600.960000] eth0: no IPv6 routers present

Hors ligne

#10 Le 09/08/2007, à 08:55

HymnToLife

Re : Disque externe usb qui ne se monte pas au demmarage

Essaie d'ajouter ça à ton /etc/rc.local :

echo "Mounting USB disk..."

if mount /dev/sda1; then
        exit 0
else
        exit 1
fi

Dernière modification par HymnToLife (Le 09/08/2007, à 08:57)


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#11 Le 09/08/2007, à 09:08

magiksam

Re : Disque externe usb qui ne se monte pas au demmarage

Il me semble que il ya une option supermount pour le fstab


Simply funky

Hors ligne