Problème pour monter un disque Dur externe

Vous venez de déballer votre Raspberry Pi et vous vous posez des questions ? C'est ici que ça se passe !

Modérateur : Francois

Locs04
Messages : 12
Enregistré le : mer. 20 mai 2015 10:54

Re: Problème pour monter un disque Dur externe

Message par Locs04 » mar. 26 mai 2015 19:43

Le quatrième consiste à redémarrer ton RPI sans les disques allumés.

fdisk -l

Disk /dev/mmcblk0: 32.0 GB, 32026656768 bytes
4 heads, 16 sectors/track, 977376 cylinders, total 62552064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 62552063 31214592 83 Linux

mount

/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

dmesg | tail -n 50

[ 2.137897] dwc_otg: NAK holdoff enabled
[ 2.137910] dwc_otg: FIQ split-transaction FSM enabled
[ 2.137987] Module dwc_common_port init
[ 2.138625] usbcore: registered new interface driver usb-storage
[ 2.150674] mousedev: PS/2 mouse device common for all mice
[ 2.162553] bcm2835-cpufreq: min=700000 max=800000
[ 2.173081] sdhci: Secure Digital Host Controller Interface driver
[ 2.184745] sdhci: Copyright(c) Pierre Ossman
[ 2.194688] DMA channels allocated for the MMC driver
[ 2.233954] Load BCM2835 MMC driver
[ 2.248484] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.267989] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.279716] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.294034] usbcore: registered new interface driver usbhid
[ 2.305923] usbhid: USB HID core driver
[ 2.317743] TCP: cubic registered
[ 2.327673] Initializing XFRM netlink socket
[ 2.339505] Indeed it is in host mode hprt0 = 00021501
[ 2.350217] NET: Registered protocol family 17
[ 2.363937] Key type dns_resolver registered
[ 2.381213] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.405238] registered taskstats version 1
[ 2.424185] vc-sm: Videocore shared memory driver
[ 2.434699] mmc0: new high speed SDHC card at address 59b4
[ 2.453750] [vc_sm_connected_init]: start
[ 2.474443] mmcblk0: mmc0:59b4 29.8 GiB
[ 2.495303] [vc_sm_connected_init]: end - returning 0
[ 2.506043] mmcblk0: p1 p2
[ 2.548376] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.562359] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.576450] devtmpfs: mounted
[ 2.586152] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[ 2.633941] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.647349] Indeed it is in host mode hprt0 = 00001101
[ 2.864224] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.878000] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.894511] hub 1-1:1.0: USB hub found
[ 2.907437] hub 1-1:1.0: 5 ports detected
[ 3.194085] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.304437] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.320238] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.339130] smsc95xx v1.0.4
[ 3.421718] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
[ 4.434382] udevd[158]: starting version 175
[ 11.079717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.625227] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.813793] random: nonblocking pool is initialized
[ 22.763415] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 24.288405] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 30.264044] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS

tail -n 50 /var/log/syslog

May 26 19:18:45 raspberrypi kernel: [ 2.381213] mmc0: host does not support reading read-only switch, assuming write-enable
May 26 19:18:45 raspberrypi kernel: [ 2.405238] registered taskstats version 1
May 26 19:18:45 raspberrypi kernel: [ 2.424185] vc-sm: Videocore shared memory driver
May 26 19:18:45 raspberrypi kernel: [ 2.434699] mmc0: new high speed SDHC card at address 59b4
May 26 19:18:45 raspberrypi kernel: [ 2.453750] [vc_sm_connected_init]: start
May 26 19:18:45 raspberrypi kernel: [ 2.474443] mmcblk0: mmc0:59b4 29.8 GiB
May 26 19:18:45 raspberrypi kernel: [ 2.495303] [vc_sm_connected_init]: end - returning 0
May 26 19:18:45 raspberrypi kernel: [ 2.506043] mmcblk0: p1 p2
May 26 19:18:45 raspberrypi kernel: [ 2.548376] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
May 26 19:18:45 raspberrypi kernel: [ 2.562359] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
May 26 19:18:45 raspberrypi kernel: [ 2.576450] devtmpfs: mounted
May 26 19:18:45 raspberrypi kernel: [ 2.586152] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
May 26 19:18:45 raspberrypi kernel: [ 2.633941] usb 1-1: new high-speed USB device number 2 using dwc_otg
May 26 19:18:45 raspberrypi kernel: [ 2.647349] Indeed it is in host mode hprt0 = 00001101
May 26 19:18:45 raspberrypi kernel: [ 2.864224] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
May 26 19:18:45 raspberrypi kernel: [ 2.878000] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 26 19:18:45 raspberrypi kernel: [ 2.894511] hub 1-1:1.0: USB hub found
May 26 19:18:45 raspberrypi kernel: [ 2.907437] hub 1-1:1.0: 5 ports detected
May 26 19:18:45 raspberrypi kernel: [ 3.194085] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
May 26 19:18:45 raspberrypi kernel: [ 3.304437] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
May 26 19:18:45 raspberrypi kernel: [ 3.320238] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 26 19:18:45 raspberrypi kernel: [ 3.339130] smsc95xx v1.0.4
May 26 19:18:45 raspberrypi kernel: [ 3.421718] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
May 26 19:18:45 raspberrypi kernel: [ 11.079717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
May 26 19:18:45 raspberrypi kernel: [ 11.625227] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
May 26 19:18:45 raspberrypi kernel: [ 12.813793] random: nonblocking pool is initialized
May 26 19:18:45 raspberrypi kernel: [ 22.763415] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
May 26 19:18:45 raspberrypi kernel: [ 24.288405] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
May 26 19:18:46 raspberrypi /usr/sbin/cron[2054]: (CRON) INFO (pidfile fd = 3)
May 26 19:18:46 raspberrypi /usr/sbin/cron[2055]: (CRON) STARTUP (fork ok)
May 26 19:18:46 raspberrypi /usr/sbin/cron[2055]: (CRON) INFO (Running @reboot jobs)
May 26 19:18:48 raspberrypi kernel: [ 30.264044] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
May 26 19:18:55 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
May 26 19:18:55 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
May 26 19:18:55 raspberrypi polkitd[2275]: started daemon version 0.105 using authority implementation `local' version `0.105'
May 26 19:18:55 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
May 26 19:18:55 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
May 26 19:18:57 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
May 26 19:18:57 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.UPower'
May 26 19:18:58 raspberrypi ntpd[2364]: ntpd 4.2.6p5@1.2349-o Sun Apr 12 22:37:22 UTC 2015 (1)
May 26 19:18:58 raspberrypi ntpd[2366]: proto: precision = 1.000 usec
May 26 19:18:58 raspberrypi ntpd[2366]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: Listen normally on 1 lo 127.0.0.1 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: Listen normally on 2 eth0 192.168.1.31 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: peers refreshed
May 26 19:18:58 raspberrypi ntpd[2366]: Listening on routing socket on fd #19 for interface updates
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::' on line 38. Ignoring...
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::1' on line 42. Ignoring...
May 26 19:19:02 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
May 26 19:19:03 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.UDisks'

lsusb

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.


Le cinquième consiste à allumer tes disques durant le fonctionnement du RPI.

fdisk -l

Disk /dev/mmcblk0: 32.0 GB, 32026656768 bytes
4 heads, 16 sectors/track, 977376 cylinders, total 62552064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 62552063 31214592 83 Linux

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb306dfca

Device Boot Start End Blocks Id System
/dev/sda1 63 488392064 244196001 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6c7a8e79

Device Boot Start End Blocks Id System
/dev/sdb1 2048 490231807 245114880 7 HPFS/NTFS/exFAT

mount

/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /media/FILM_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)

dmesg | tail -n 50

[ 2.894511] hub 1-1:1.0: USB hub found
[ 2.907437] hub 1-1:1.0: 5 ports detected
[ 3.194085] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.304437] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.320238] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.339130] smsc95xx v1.0.4
[ 3.421718] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
[ 4.434382] udevd[158]: starting version 175
[ 11.079717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.625227] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.813793] random: nonblocking pool is initialized
[ 22.763415] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 24.288405] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 30.264044] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
[ 596.074631] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 596.179065] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
[ 596.179149] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 596.179175] usb 1-1.3: Product: USB to Serial-ATA bridge
[ 596.179195] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
[ 596.179215] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
[ 596.188738] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 596.190483] scsi host0: usb-storage 1-1.3:1.0
[ 597.189195] scsi 0:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ: 0 ANSI: 4
[ 597.194367] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 597.203145] sd 0:0:0:0: [sda] Write Protect is off
[ 597.203200] sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
[ 597.210686] sd 0:0:0:0: [sda] No Caching mode page found
[ 597.210736] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 597.240838] sda: sda1
[ 597.258635] sd 0:0:0:0: [sda] Attached SCSI disk
[ 597.325154] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 598.884938] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 598.986521] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
[ 598.986567] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 598.986586] usb 1-1.2: Product: USB 2.0 IDE DEVICE
[ 598.986604] usb 1-1.2: Manufacturer: Super Top
[ 598.986622] usb 1-1.2: SerialNumber: \xffffffe3\xffffff99\xffffff99\xffffff99\xffffff99\xffffffe4\xffffff98\xffffffb2\xffffff98\xffffffb2\xffffffe5\xffffff84\xffffffb3\xffffff84\xffffffb3\xffffffe4\xffffff95\xffffff91\xffffff95\xffffff91\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0
[ 598.996696] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 599.003841] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
[ 599.004119] scsi host1: usb-storage 1-1.2:1.0
[ 599.571200] fuse init (API version 7.23)
[ 600.006942] scsi 1:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ: 0 ANSI: 0
[ 600.012521] sd 1:0:0:0: [sdb] 490234752 512-byte logical blocks: (251 GB/233 GiB)
[ 600.013193] sd 1:0:0:0: [sdb] Write Protect is off
[ 600.013233] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 600.013822] sd 1:0:0:0: [sdb] No Caching mode page found
[ 600.013854] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 600.019084] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 600.041575] sdb: sdb1
[ 600.047111] sd 1:0:0:0: [sdb] Attached SCSI disk


tail -n 50 /var/log/syslog

May 26 19:18:58 raspberrypi ntpd[2366]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: Listen normally on 1 lo 127.0.0.1 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: Listen normally on 2 eth0 192.168.1.31 UDP 123
May 26 19:18:58 raspberrypi ntpd[2366]: peers refreshed
May 26 19:18:58 raspberrypi ntpd[2366]: Listening on routing socket on fd #19 for interface updates
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::' on line 38. Ignoring...
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::1' on line 42. Ignoring...
May 26 19:19:02 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
May 26 19:19:03 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.UDisks'
May 26 19:29:00 raspberrypi kernel: [ 596.074631] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
May 26 19:29:00 raspberrypi kernel: [ 596.179065] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
May 26 19:29:00 raspberrypi kernel: [ 596.179149] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 26 19:29:00 raspberrypi kernel: [ 596.179175] usb 1-1.3: Product: USB to Serial-ATA bridge
May 26 19:29:00 raspberrypi kernel: [ 596.179195] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
May 26 19:29:00 raspberrypi kernel: [ 596.179215] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
May 26 19:29:00 raspberrypi kernel: [ 596.188738] usb-storage 1-1.3:1.0: USB Mass Storage device detected
May 26 19:29:00 raspberrypi kernel: [ 596.190483] scsi host0: usb-storage 1-1.3:1.0
May 26 19:29:01 raspberrypi kernel: [ 597.189195] scsi 0:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ: 0 ANSI: 4
May 26 19:29:01 raspberrypi kernel: [ 597.194367] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
May 26 19:29:01 raspberrypi kernel: [ 597.203145] sd 0:0:0:0: [sda] Write Protect is off
May 26 19:29:01 raspberrypi kernel: [ 597.203200] sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
May 26 19:29:01 raspberrypi kernel: [ 597.210686] sd 0:0:0:0: [sda] No Caching mode page found
May 26 19:29:01 raspberrypi kernel: [ 597.210736] sd 0:0:0:0: [sda] Assuming drive cache: write through
May 26 19:29:01 raspberrypi kernel: [ 597.240838] sda: sda1
May 26 19:29:01 raspberrypi kernel: [ 597.258635] sd 0:0:0:0: [sda] Attached SCSI disk
May 26 19:29:01 raspberrypi kernel: [ 597.325154] sd 0:0:0:0: Attached scsi generic sg0 type 0
May 26 19:29:03 raspberrypi kernel: [ 598.884938] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
May 26 19:29:03 raspberrypi kernel: [ 598.986521] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
May 26 19:29:03 raspberrypi kernel: [ 598.986567] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
May 26 19:29:03 raspberrypi kernel: [ 598.986586] usb 1-1.2: Product: USB 2.0 IDE DEVICE
May 26 19:29:03 raspberrypi kernel: [ 598.986604] usb 1-1.2: Manufacturer: Super Top
May 26 19:29:03 raspberrypi kernel: [ 598.986622] usb 1-1.2: SerialNumber: 㙙䘲儳䕑††††††
May 26 19:29:03 raspberrypi kernel: [ 598.996696] usb-storage 1-1.2:1.0: USB Mass Storage device detected
May 26 19:29:03 raspberrypi kernel: [ 599.003841] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
May 26 19:29:03 raspberrypi kernel: [ 599.004119] scsi host1: usb-storage 1-1.2:1.0
May 26 19:29:03 raspberrypi kernel: [ 599.571200] fuse init (API version 7.23)
May 26 19:29:04 raspberrypi kernel: [ 600.006942] scsi 1:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ: 0 ANSI: 0
May 26 19:29:04 raspberrypi kernel: [ 600.012521] sd 1:0:0:0: [sdb] 490234752 512-byte logical blocks: (251 GB/233 GiB)
May 26 19:29:04 raspberrypi kernel: [ 600.013193] sd 1:0:0:0: [sdb] Write Protect is off
May 26 19:29:04 raspberrypi kernel: [ 600.013233] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
May 26 19:29:04 raspberrypi kernel: [ 600.013822] sd 1:0:0:0: [sdb] No Caching mode page found
May 26 19:29:04 raspberrypi kernel: [ 600.013854] sd 1:0:0:0: [sdb] Assuming drive cache: write through
May 26 19:29:04 raspberrypi kernel: [ 600.019084] sd 1:0:0:0: Attached scsi generic sg1 type 0
May 26 19:29:04 raspberrypi kernel: [ 600.041575] sdb: sdb1
May 26 19:29:04 raspberrypi kernel: [ 600.047111] sd 1:0:0:0: [sdb] Attached SCSI disk
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Version 2012.1.15AR.5 external FUSE 29
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Mounted /dev/sda1 (Read-Write, label "FILM_RASP", NTFS 3.1)
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Global ownership and permissions enforced, configuration type 7


lsusb

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
Bus 001 Device 004: ID 1bcf:0c31 Sunplus Innovation Technology Inc. SPIF30x Serial-ATA bridge


Le sixième consiste à couper les disques durant le fonctionnement du RPI.

fdisk -l


Disk /dev/mmcblk0: 32.0 GB, 32026656768 bytes
4 heads, 16 sectors/track, 977376 cylinders, total 62552064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 62552063 31214592 83 Linux

mount

/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)

dmesg | tail -n 50

[ 3.194085] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.304437] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.320238] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.339130] smsc95xx v1.0.4
[ 3.421718] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
[ 4.434382] udevd[158]: starting version 175
[ 11.079717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.625227] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.813793] random: nonblocking pool is initialized
[ 22.763415] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 24.288405] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 30.264044] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
[ 596.074631] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 596.179065] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
[ 596.179149] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 596.179175] usb 1-1.3: Product: USB to Serial-ATA bridge
[ 596.179195] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
[ 596.179215] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
[ 596.188738] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 596.190483] scsi host0: usb-storage 1-1.3:1.0
[ 597.189195] scsi 0:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ: 0 ANSI: 4
[ 597.194367] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 597.203145] sd 0:0:0:0: [sda] Write Protect is off
[ 597.203200] sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
[ 597.210686] sd 0:0:0:0: [sda] No Caching mode page found
[ 597.210736] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 597.240838] sda: sda1
[ 597.258635] sd 0:0:0:0: [sda] Attached SCSI disk
[ 597.325154] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 598.884938] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 598.986521] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
[ 598.986567] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 598.986586] usb 1-1.2: Product: USB 2.0 IDE DEVICE
[ 598.986604] usb 1-1.2: Manufacturer: Super Top
[ 598.986622] usb 1-1.2: SerialNumber: \xffffffe3\xffffff99\xffffff99\xffffff99\xffffff99\xffffffe4\xffffff98\xffffffb2\xffffff98\xffffffb2\xffffffe5\xffffff84\xffffffb3\xffffff84\xffffffb3\xffffffe4\xffffff95\xffffff91\xffffff95\xffffff91\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0
[ 598.996696] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 599.003841] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
[ 599.004119] scsi host1: usb-storage 1-1.2:1.0
[ 599.571200] fuse init (API version 7.23)
[ 600.006942] scsi 1:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ: 0 ANSI: 0
[ 600.012521] sd 1:0:0:0: [sdb] 490234752 512-byte logical blocks: (251 GB/233 GiB)
[ 600.013193] sd 1:0:0:0: [sdb] Write Protect is off
[ 600.013233] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 600.013822] sd 1:0:0:0: [sdb] No Caching mode page found
[ 600.013854] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 600.019084] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 600.041575] sdb: sdb1
[ 600.047111] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 791.191355] usb 1-1.2: USB disconnect, device number 5
[ 791.645925] usb 1-1.3: USB disconnect, device number 4

tail -n 50 /var/log/syslog

May 26 19:18:58 raspberrypi ntpd[2366]: peers refreshed
May 26 19:18:58 raspberrypi ntpd[2366]: Listening on routing socket on fd #19 for interface updates
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::' on line 38. Ignoring...
May 26 19:18:58 raspberrypi ntpd[2366]: restrict: error in address '::1' on line 42. Ignoring...
May 26 19:19:02 raspberrypi dbus[2114]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
May 26 19:19:03 raspberrypi dbus[2114]: [system] Successfully activated service 'org.freedesktop.UDisks'
May 26 19:29:00 raspberrypi kernel: [ 596.074631] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
May 26 19:29:00 raspberrypi kernel: [ 596.179065] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
May 26 19:29:00 raspberrypi kernel: [ 596.179149] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 26 19:29:00 raspberrypi kernel: [ 596.179175] usb 1-1.3: Product: USB to Serial-ATA bridge
May 26 19:29:00 raspberrypi kernel: [ 596.179195] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
May 26 19:29:00 raspberrypi kernel: [ 596.179215] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
May 26 19:29:00 raspberrypi kernel: [ 596.188738] usb-storage 1-1.3:1.0: USB Mass Storage device detected
May 26 19:29:00 raspberrypi kernel: [ 596.190483] scsi host0: usb-storage 1-1.3:1.0
May 26 19:29:01 raspberrypi kernel: [ 597.189195] scsi 0:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ: 0 ANSI: 4
May 26 19:29:01 raspberrypi kernel: [ 597.194367] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
May 26 19:29:01 raspberrypi kernel: [ 597.203145] sd 0:0:0:0: [sda] Write Protect is off
May 26 19:29:01 raspberrypi kernel: [ 597.203200] sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
May 26 19:29:01 raspberrypi kernel: [ 597.210686] sd 0:0:0:0: [sda] No Caching mode page found
May 26 19:29:01 raspberrypi kernel: [ 597.210736] sd 0:0:0:0: [sda] Assuming drive cache: write through
May 26 19:29:01 raspberrypi kernel: [ 597.240838] sda: sda1
May 26 19:29:01 raspberrypi kernel: [ 597.258635] sd 0:0:0:0: [sda] Attached SCSI disk
May 26 19:29:01 raspberrypi kernel: [ 597.325154] sd 0:0:0:0: Attached scsi generic sg0 type 0
May 26 19:29:03 raspberrypi kernel: [ 598.884938] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
May 26 19:29:03 raspberrypi kernel: [ 598.986521] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
May 26 19:29:03 raspberrypi kernel: [ 598.986567] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
May 26 19:29:03 raspberrypi kernel: [ 598.986586] usb 1-1.2: Product: USB 2.0 IDE DEVICE
May 26 19:29:03 raspberrypi kernel: [ 598.986604] usb 1-1.2: Manufacturer: Super Top
May 26 19:29:03 raspberrypi kernel: [ 598.986622] usb 1-1.2: SerialNumber: 㙙䘲儳䕑††††††
May 26 19:29:03 raspberrypi kernel: [ 598.996696] usb-storage 1-1.2:1.0: USB Mass Storage device detected
May 26 19:29:03 raspberrypi kernel: [ 599.003841] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
May 26 19:29:03 raspberrypi kernel: [ 599.004119] scsi host1: usb-storage 1-1.2:1.0
May 26 19:29:03 raspberrypi kernel: [ 599.571200] fuse init (API version 7.23)
May 26 19:29:04 raspberrypi kernel: [ 600.006942] scsi 1:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ: 0 ANSI: 0
May 26 19:29:04 raspberrypi kernel: [ 600.012521] sd 1:0:0:0: [sdb] 490234752 512-byte logical blocks: (251 GB/233 GiB)
May 26 19:29:04 raspberrypi kernel: [ 600.013193] sd 1:0:0:0: [sdb] Write Protect is off
May 26 19:29:04 raspberrypi kernel: [ 600.013233] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
May 26 19:29:04 raspberrypi kernel: [ 600.013822] sd 1:0:0:0: [sdb] No Caching mode page found
May 26 19:29:04 raspberrypi kernel: [ 600.013854] sd 1:0:0:0: [sdb] Assuming drive cache: write through
May 26 19:29:04 raspberrypi kernel: [ 600.019084] sd 1:0:0:0: Attached scsi generic sg1 type 0
May 26 19:29:04 raspberrypi kernel: [ 600.041575] sdb: sdb1
May 26 19:29:04 raspberrypi kernel: [ 600.047111] sd 1:0:0:0: [sdb] Attached SCSI disk
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Version 2012.1.15AR.5 external FUSE 29
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Mounted /dev/sda1 (Read-Write, label "FILM_RASP", NTFS 3.1)
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Mount options: rw,nosuid,nodev,uhelper=udisks,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda1,blkdev,blksize=4096
May 26 19:29:04 raspberrypi ntfs-3g[2698]: Global ownership and permissions enforced, configuration type 7
May 26 19:32:15 raspberrypi kernel: [ 791.191355] usb 1-1.2: USB disconnect, device number 5
May 26 19:32:15 raspberrypi kernel: [ 791.645925] usb 1-1.3: USB disconnect, device number 4
May 26 19:32:16 raspberrypi ntfs-3g[2698]: Unmounting /dev/sda1 (FILM_RASP)


lsusb

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.


Le dernier consiste à remettre ton système en fonction normal* par un petit reboot.
J'ai donc laissé les disques éteint à ce stade.

fdisk -l

Disk /dev/mmcblk0: 32.0 GB, 32026656768 bytes
4 heads, 16 sectors/track, 977376 cylinders, total 62552064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 62552063 31214592 83 Linux

mount

/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

dmesg | tail -n 50

[ 2.137878] dwc_otg: NAK holdoff enabled
[ 2.137891] dwc_otg: FIQ split-transaction FSM enabled
[ 2.137964] Module dwc_common_port init
[ 2.138599] usbcore: registered new interface driver usb-storage
[ 2.150636] mousedev: PS/2 mouse device common for all mice
[ 2.162527] bcm2835-cpufreq: min=700000 max=800000
[ 2.173065] sdhci: Secure Digital Host Controller Interface driver
[ 2.184720] sdhci: Copyright(c) Pierre Ossman
[ 2.194648] DMA channels allocated for the MMC driver
[ 2.233881] Load BCM2835 MMC driver
[ 2.248386] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.266826] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.278561] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.292727] usbcore: registered new interface driver usbhid
[ 2.304641] usbhid: USB HID core driver
[ 2.315453] TCP: cubic registered
[ 2.325358] Initializing XFRM netlink socket
[ 2.337238] Indeed it is in host mode hprt0 = 00021501
[ 2.347910] NET: Registered protocol family 17
[ 2.363867] Key type dns_resolver registered
[ 2.381140] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.404609] registered taskstats version 1
[ 2.424117] vc-sm: Videocore shared memory driver
[ 2.434602] mmc0: new high speed SDHC card at address 59b4
[ 2.453679] [vc_sm_connected_init]: start
[ 2.474369] mmcblk0: mmc0:59b4 29.8 GiB
[ 2.494934] [vc_sm_connected_init]: end - returning 0
[ 2.505675] mmcblk0: p1 p2
[ 2.547598] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.561591] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.575602] devtmpfs: mounted
[ 2.585355] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
[ 2.633860] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.647100] Indeed it is in host mode hprt0 = 00001101
[ 2.864124] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.877937] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.894439] hub 1-1:1.0: USB hub found
[ 2.907371] hub 1-1:1.0: 5 ports detected
[ 3.194017] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.304357] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.319838] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.338674] smsc95xx v1.0.4
[ 3.423968] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
[ 4.428989] udevd[158]: starting version 175
[ 11.053313] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.617963] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.617171] random: nonblocking pool is initialized
[ 22.784710] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 24.293132] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 30.629953] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS

tail -n 50 /var/log/syslog

May 26 19:35:00 raspberrypi kernel: [ 2.381140] mmc0: host does not support reading read-only switch, assuming write-enable
May 26 19:35:00 raspberrypi kernel: [ 2.404609] registered taskstats version 1
May 26 19:35:00 raspberrypi kernel: [ 2.424117] vc-sm: Videocore shared memory driver
May 26 19:35:00 raspberrypi kernel: [ 2.434602] mmc0: new high speed SDHC card at address 59b4
May 26 19:35:00 raspberrypi kernel: [ 2.453679] [vc_sm_connected_init]: start
May 26 19:35:00 raspberrypi kernel: [ 2.474369] mmcblk0: mmc0:59b4 29.8 GiB
May 26 19:35:00 raspberrypi kernel: [ 2.494934] [vc_sm_connected_init]: end - returning 0
May 26 19:35:00 raspberrypi kernel: [ 2.505675] mmcblk0: p1 p2
May 26 19:35:00 raspberrypi kernel: [ 2.547598] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
May 26 19:35:00 raspberrypi kernel: [ 2.561591] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
May 26 19:35:00 raspberrypi kernel: [ 2.575602] devtmpfs: mounted
May 26 19:35:00 raspberrypi kernel: [ 2.585355] Freeing unused kernel memory: 336K (c079a000 - c07ee000)
May 26 19:35:00 raspberrypi kernel: [ 2.633860] usb 1-1: new high-speed USB device number 2 using dwc_otg
May 26 19:35:00 raspberrypi kernel: [ 2.647100] Indeed it is in host mode hprt0 = 00001101
May 26 19:35:00 raspberrypi kernel: [ 2.864124] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
May 26 19:35:00 raspberrypi kernel: [ 2.877937] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 26 19:35:00 raspberrypi kernel: [ 2.894439] hub 1-1:1.0: USB hub found
May 26 19:35:00 raspberrypi kernel: [ 2.907371] hub 1-1:1.0: 5 ports detected
May 26 19:35:00 raspberrypi kernel: [ 3.194017] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
May 26 19:35:00 raspberrypi kernel: [ 3.304357] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
May 26 19:35:00 raspberrypi kernel: [ 3.319838] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 26 19:35:00 raspberrypi kernel: [ 3.338674] smsc95xx v1.0.4
May 26 19:35:00 raspberrypi kernel: [ 3.423968] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0b:88:4f
May 26 19:35:00 raspberrypi kernel: [ 11.053313] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
May 26 19:35:00 raspberrypi kernel: [ 11.617963] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
May 26 19:35:00 raspberrypi kernel: [ 12.617171] random: nonblocking pool is initialized
May 26 19:35:00 raspberrypi kernel: [ 22.784710] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
May 26 19:35:00 raspberrypi kernel: [ 24.293132] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
May 26 19:35:01 raspberrypi /usr/sbin/cron[2052]: (CRON) INFO (pidfile fd = 3)
May 26 19:35:01 raspberrypi /usr/sbin/cron[2053]: (CRON) STARTUP (fork ok)
May 26 19:35:01 raspberrypi /usr/sbin/cron[2053]: (CRON) INFO (Running @reboot jobs)
May 26 19:35:03 raspberrypi kernel: [ 30.629953] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
May 26 19:35:09 raspberrypi dbus[2108]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
May 26 19:35:09 raspberrypi dbus[2108]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
May 26 19:35:09 raspberrypi polkitd[2277]: started daemon version 0.105 using authority implementation `local' version `0.105'
May 26 19:35:09 raspberrypi dbus[2108]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
May 26 19:35:09 raspberrypi dbus[2108]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
May 26 19:35:13 raspberrypi dbus[2108]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
May 26 19:35:13 raspberrypi dbus[2108]: [system] Successfully activated service 'org.freedesktop.UPower'
May 26 19:35:13 raspberrypi ntpd[2348]: ntpd 4.2.6p5@1.2349-o Sun Apr 12 22:37:22 UTC 2015 (1)
May 26 19:35:13 raspberrypi ntpd[2350]: proto: precision = 1.000 usec
May 26 19:35:13 raspberrypi ntpd[2350]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
May 26 19:35:13 raspberrypi ntpd[2350]: Listen normally on 1 lo 127.0.0.1 UDP 123
May 26 19:35:13 raspberrypi ntpd[2350]: Listen normally on 2 eth0 192.168.1.31 UDP 123
May 26 19:35:13 raspberrypi ntpd[2350]: peers refreshed
May 26 19:35:13 raspberrypi ntpd[2350]: Listening on routing socket on fd #19 for interface updates
May 26 19:35:13 raspberrypi ntpd[2350]: restrict: error in address '::' on line 38. Ignoring...
May 26 19:35:13 raspberrypi ntpd[2350]: restrict: error in address '::1' on line 42. Ignoring...
May 26 19:35:15 raspberrypi dbus[2108]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
May 26 19:35:16 raspberrypi dbus[2108]: [system] Successfully activated service 'org.freedesktop.UDisks'

lsusb

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.

Bon courage !! Et merci pour le temps que tu consacre à mon problème !

maxty01
Modérateur
Messages : 790
Enregistré le : dim. 16 nov. 2014 20:53
Localisation : Charleroi - Belgique

Re: Problème pour monter un disque Dur externe

Message par maxty01 » mar. 26 mai 2015 21:04

Bonsoir,

Trouvé ... Ne vous cassez plus la tête à tous lire, j'ai les infos pour comprendre et expliquer ce qu'il se passe ...

Juste le te de le rédiger, et la réponse sera là.

à desuite ...
Il n'y a pas de question stupide, il n'y a que des imbéciles qui ne posent pas de question !
RaspBerry Pi : 1 x B+ Raspbian 1 x RPI2 MiniBian
Mieux me connaître ? Regarder mon LinkedIn

maxty01
Modérateur
Messages : 790
Enregistré le : dim. 16 nov. 2014 20:53
Localisation : Charleroi - Belgique

Re: Problème pour monter un disque Dur externe

Message par maxty01 » mar. 26 mai 2015 21:41

Voilà ...

Ce qu'il se passe est assez simple, le disque IDE ne se "démonte" car, j'ai l'impression, qu'il "n’avertis" pas le kernel de sa "disparition" ...
Cela peut paraître dingue, mais c'est en "gros" ce qu'il se passe ...
Ha oui, petit détail ... je ne pense pas que ce soit le Disque IDE qui pose problème, mais le convertisseur IDE -> USB.
Oui, je pense cela car, si je ne dis pas de bêtise, ce module a un certain age :

Code : Tout sélectionner

Bus 001 Device 004: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
Avec cette information, je suis tombé sur un article de 2007 ... je suis sur qu'en cherchant un peu, on peut trouver plus vieux.

Dans les détails :
Lors du premier exercice, tu as démarré ton RPI avec tes 2 disques.
Ici on voit la présence de tes 2 disques :
Via fdisk -l :

Code : Tout sélectionner

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6c7a8e79

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb306dfca
via le mount :

Code : Tout sélectionner

/dev/sda1 on /media/IDE_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /media/FILM_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
On voit les informations de ton disque via dmesg ou dans le /var/log/syslog :

Code : Tout sélectionner

[ 3.553956] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.695447] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
[ 3.709058] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber =2
[ 3.724673] usb 1-1.2: Product: USB 2.0 IDE DEVICE
[ 3.736462] usb 1-1.2: Manufacturer: Super Top
[ 3.747929] usb 1-1.2: SerialNumber: \xffffffe3\xffffff99\xffffff99\xffffff99 \xffffff99\xffffffe4\xffffff98\xffffffb2\xffffff98\xffffffb2\xffffffe5\xffffff84 \xffffffb3\xffffff84\xffffffb3\xffffffe4\xffffff95\xffffff91\xffffff95\xffffff91 \xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0 \xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2 \xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80 \xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0
[ 3.764412] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 3.780242] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
[ 3.795698] scsi host0: usb-storage 1-1.2:1.0
[ 3.893979] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[ 4.018457] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
[ 4.043913] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3
[ 4.070144] usb 1-1.3: Product: USB to Serial-ATA bridge
[ 4.093906] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
[ 4.123835] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
[ 4.146855] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 4.175352] scsi host1: usb-storage 1-1.3:1.0
[ 4.653182] udevd[165]: starting version 175
[ 4.815152] scsi 0:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ : 0 ANSI: 0
[ 4.855684] sd 0:0:0:0: [sda] 490234752 512-byte logical blocks: (251 GB/233 GiB)
[ 4.896559] sd 0:0:0:0: [sda] Write Protect is off
[ 4.933869] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 4.934464] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.963112] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.028612] sda: sda1
[ 5.064397] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.198467] scsi 1:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ : 0 ANSI: 4
[ 5.243894] sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 5.285387] sd 1:0:0:0: [sdb] Write Protect is off
[ 5.318205] sd 1:0:0:0: [sdb] Mode Sense: 38 00 00 00
[ 5.320602] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.332921] sd 1:0:0:0: [sdb] No Caching mode page found
[ 5.354692] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 5.495748] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 6.826107] random: nonblocking pool is initialized
[ 11.530082] sdb: sdb1
dans le /var/log/syslog, on remarque que la partition sdb1 est montée, mais pas la sda1, étrange mais bon, on sait qu'elle est montée, ... étrange ...

Code : Tout sélectionner

May 26 18:57:48 raspberrypi ntfs-3g[2656]: Mounted /dev/sdb1 (Read-Write, label "FILM_RASP", NTFS 3.1)
May 26 18:57:48 raspberrypi ntfs-3g[2656]: Cmdline options: rw,nosuid,nodev,uhel per=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
May 26 18:57:48 raspberrypi ntfs-3g[2656]: Mount options: rw,nosuid,nodev,uhelpe r=udisks,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdb1,blkd ev,blksize=4096
May 26 18:57:48 raspberrypi ntfs-3g[2656]: Global ownership and permissions enfo rced, configuration type 7
Lors du second exercice, tu as coupé tes disques.
Dans le /var/log/syslog, on y trouve la mention ou le system signale la disparition des 2 adaptateurs USB et qu'il a démonté automatiquement la partition sdb1, toujours aucune trace de sda1 ... étrange ...

Code : Tout sélectionner

May 26 19:11:20 raspberrypi kernel: [ 867.745722] usb 1-1.2: USB disconnect, device number 4
May 26 19:11:21 raspberrypi kernel: [ 868.249980] usb 1-1.3: USB disconnect, device number 5
May 26 19:11:21 raspberrypi ntfs-3g[2656]: Unmounting /dev/sdb1 (FILM_RASP)
Cependant, mount signale que le disque sda1 est toujours monté ... étrange ...

Code : Tout sélectionner

/dev/sda1 on /media/IDE_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
Là ou cela devient intéressant, c'est durant le troisième exercice ou tu rallumes tes disques.

On repère bien tes 2 disques, mais le sda s'est transformé en sdc :
On le voit via fdisk -l :

Code : Tout sélectionner

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb306dfca

Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6c7a8e79
On le voit également via dmesg :

Code : Tout sélectionner

[ 1014.687822] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[ 1014.792125] usb 1-1.3: New USB device found, idVendor=1bcf, idProduct=0c31
[ 1014.792174] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1014.792194] usb 1-1.3: Product: USB to Serial-ATA bridge
[ 1014.792218] usb 1-1.3: Manufacturer: Sunplus Innovation Technology
[ 1014.792236] usb 1-1.3: SerialNumber: FDF722525D000000FDF41FF8D990FF
[ 1014.801797] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 1014.823454] scsi host2: usb-storage 1-1.3:1.0
[ 1015.822413] scsi 2:0:0:0: Direct-Access HDT72252 5DLA380 0200 PQ: 0 ANSI: 4
[ 1015.827417] sd 2:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 1015.829933] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 1015.836167] sd 2:0:0:0: [sdb] Write Protect is off
[ 1015.836224] sd 2:0:0:0: [sdb] Mode Sense: 38 00 00 00
[ 1015.843666] sd 2:0:0:0: [sdb] No Caching mode page found
[ 1015.843720] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 1015.874378] sdb: sdb1
[ 1015.893528] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 1017.508039] usb 1-1.2: new high-speed USB device number 7 using dwc_otg
[ 1017.609589] usb 1-1.2: New USB device found, idVendor=14cd, idProduct=6600
[ 1017.609634] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 1017.609654] usb 1-1.2: Product: USB 2.0 IDE DEVICE
[ 1017.609672] usb 1-1.2: Manufacturer: Super Top
[ 1017.609688] usb 1-1.2: SerialNumber: \xffffffe3\xffffff99\xffffff99\xffffff99\xffffff99\xffffffe4\xffffff98\xffffffb2\xffffff98\xffffffb2\xffffffe5\xffffff84\xffffffb3\xffffff84\xffffffb3\xffffffe4\xffffff95\xffffff91\xffffff95\xffffff91\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0\xffffffe2\xffffff80\xffffffa0\xffffff80\xffffffa0
[ 1017.614326] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 1017.627860] usb-storage 1-1.2:1.0: Quirks match for vid 14cd pid 6600: 20
[ 1017.628199] scsi host3: usb-storage 1-1.2:1.0
[ 1018.629418] scsi 3:0:0:0: Direct-Access Maxtor 6 Y250P0 PQ: 0 ANSI: 0
[ 1018.634351] sd 3:0:0:0: [sdc] 490234752 512-byte logical blocks: (251 GB/233 GiB)
[ 1018.634975] sd 3:0:0:0: [sdc] Write Protect is off
[ 1018.635014] sd 3:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 1018.635582] sd 3:0:0:0: [sdc] No Caching mode page found
[ 1018.635617] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[ 1018.647889] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 1018.661911] sdc: sdc1
[ 1018.669624] sd 3:0:0:0: [sdc] Attached SCSI disk
Mais le sda1 est toujours monté, selon la commande mount, sdb1 est de nouveau monté correctement :

Code : Tout sélectionner

/dev/sda1 on /media/IDE_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /media/FILM_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
Conclusion, ton RPI n’apprécie pas le montage et le démontage à chaud de ton disque IDE.
Pour palier à cela, tu as trois solutions qui s'offrent à toi :
  • Soit tu achètes un nouveau disque sata et ton adaptateur USB.
  • Soit tu achètes un nouvel adaptateur IDE -> USB.
  • Soit tu élimines ton disque IDE.
Aussi, et pour finir, si tu n'utilises tes disques que sur ton RPI, je te conseil de les formater en EXT3 ou EXT4.
Le NTFS à tendance à bouffer beaucoup de ressources du RPI.
Voir le sujet : viewtopic.php?f=3&t=515&hilit=ntfs

Voila, j'espère avoir répondu à tes questions.

Bonne soirée,
Il n'y a pas de question stupide, il n'y a que des imbéciles qui ne posent pas de question !
RaspBerry Pi : 1 x B+ Raspbian 1 x RPI2 MiniBian
Mieux me connaître ? Regarder mon LinkedIn

Locs04
Messages : 12
Enregistré le : mer. 20 mai 2015 10:54

Re: Problème pour monter un disque Dur externe

Message par Locs04 » mar. 26 mai 2015 22:36

Woua! merci pour ta réponse détaillée, j'ai tous compris ! Et au passage j'ai appris quelques commandes.
L'interface est toutes neuves, mais c'est la moins chère de ldlc...donc probablement un vieux modèle.
Tant pis pour moi j'aurais du vérifier avant sa "compatibilité".

Il n'y a pas une commande qui peux envoyer l'info au kernel que le disque est démonté? umount ne permet pas cela ?
Sinon je prendrais une nouvelle interface IDE-USB en me renseignant mieux pour la choisir. J'ai pas mal de disque IDE d'un ancien PC, ça me permet de les réutiliser.

OK je ne savais pas que le NTFS avait cette effet sur le RASP. Je vais les formater en ext alors.

Merci encore pour ton aide !

Locs04
Messages : 12
Enregistré le : mer. 20 mai 2015 10:54

Re: Problème pour monter un disque Dur externe

Message par Locs04 » mar. 26 mai 2015 22:46

Bon j'ai testé pour le umount.
Ça fonctionne pour démonter.
Mais si j'éteint/rallume le disque à chaud : le mount ne passera pas.

Code : Tout sélectionner

pi@raspberrypi ~ $ mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /media/IDE_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /media/FILM_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
pi@raspberrypi ~ $ sudo umount /dev/sda1
pi@raspberrypi ~ $ mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=121200k,nr_inodes=30300,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25096k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50180k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /media/FILM_RASP type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
pi@raspberrypi ~ $ sudo fdisk -l

Disk /dev/mmcblk0: 32.0 GB, 32026656768 bytes
4 heads, 16 sectors/track, 977376 cylinders, total 62552064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            8192      122879       57344    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          122880    62552063    31214592   83  Linux

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb306dfca

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   488392064   244196001    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6c7a8e79

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048   490231807   245114880    7  HPFS/NTFS/exFAT
pi@raspberrypi ~ $ mount /dev/sda1 /media/IDE_RASP
mount: only root can do that
pi@raspberrypi ~ $ sudo mount /dev/sda1 /media/IDE_RASP
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

maxty01
Modérateur
Messages : 790
Enregistré le : dim. 16 nov. 2014 20:53
Localisation : Charleroi - Belgique

Re: Problème pour monter un disque Dur externe

Message par maxty01 » mar. 26 mai 2015 22:59

Bonsoir,

Le NTFS n'est visiblement pas fermé correctement,
ou alors, autre solution,
le NTFS pose quelques problèmes et il serait peu être temps de le brancher sur un Windows pour faire un "check file system" avant de continuer sous Linux.

Bonne soirée,

EDIT : Mais si tu format tes disques en EXT3 ou EXT4, tu ne devrais plus avoir de problème avec le NTFS ... logique implacable.
/!\ ATTENTION : Un formatage nuit gravement à la santé de vos données !
Il n'y a pas de question stupide, il n'y a que des imbéciles qui ne posent pas de question !
RaspBerry Pi : 1 x B+ Raspbian 1 x RPI2 MiniBian
Mieux me connaître ? Regarder mon LinkedIn

Répondre

Retourner vers « Débutants »