Pokaż wyniki od 1 do 5 z 5

Temat: [+] Montowanie dysku zewnętrznego przez USB

  1. #1

    [+] Montowanie dysku zewnętrznego przez USB

    Witam.
    Raczej prosty problem, ale nie mogę sobie poradzić. Muszę skopiować zawartość dysku, przed oddaniem go do naprawy, a nie mogę go podłączyć ponieważ nie widzi go jako urządzenia sda.
    Polecenie:
    Kod:
    Heimdall:/# lsusb
    Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 004: ID 1058:1110 Western Digital Technologies, Inc.
    Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Mam 4 dyski więc sprawdzam kolejny podłączony na usb:
    Kod:
    Heimdall:/# fdisk /dev/sda5
    Unable to open /dev/sda5
    Sprawdzam hal:
    Kod:
    Heimdall:/# invoke-rc.d hal start
    Starting Hardware abstraction layer: hald/usr/sbin/hald already running.
    Niby wszystko w porządku tylko, że się nie podłącza jako sda, za to jest na liście urządzeń usb.
    Jakieś pomysły?
    Ostatnio edytowane przez fnmirk ; 06-09-2010 o 12:41

  2. #2
    Cytat Napisał cooleq
    nie mogę go podłączyć ponieważ nie widzi go jako urządzenia sda.
    A dlaczego się uparłeś, że musi być widoczny jako sda?

    Podepnij dysk i przedstaw wynik polecenia:
    Kod:
    dmesg | tail -n100

  3. #3
    Tak szukałem bo tak wyczytałem, że się dyski usb rozpoznaje.
    Proszę:
    Kod:
    [1;50r[0;10m[4l[?7h[?25h[?0c[39;49m[39;49m[0;10m[H[J[0;10;7m  GNU nano 2.0.7                                           File: dead.letter                                                                                             [48;79H[ Nowy plik ]
    [49d^G[0;10m Pomoc[49;29H[0;10;7m^O[0;10m Zapisz[49;57H[0;10;7m^R[0;10m Wczytaj plik[49;85H[0;10;7m^Y[0;10m Poprz.str.[49;113H[0;10;7m^K[0;10m Wytnij[49;141H[0;10;7m^C[0;10m Bież.poz.
    [50d[0;10;7m^X[0;10m Wyjdź[50;29H[0;10;7m^J[0;10m Wyjustuj[50;57H[0;10;7m^W[0;10m Wyszukaj[50;85H[0;10;7m^V[0;10m Nast.str.[50;113H[0;10;7m^U[0;10m UnCut Text[50;141H[0;10;7m^T[0;10m Pisownia
    [3d[49d[J[50;169H[50;1H
    [240027.196814]  disk 0, o:1, dev:sda4
    [240027.196814]  disk 1, o:1, dev:sdb4
    [240027.196814]  disk 2, o:1, dev:sdc4
    [240027.196814]  disk 3, o:1, dev:sdd4
    [363424.332886] usb 2-1.3: new high speed USB device using ehci_hcd and address 3
    [363424.427626] usb 2-1.3: configuration #1 chosen from 1 choice
    [363424.427626] usb 2-1.3: New USB device found, idVendor=1058, idProduct=1110
    [363424.427626] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [363424.427626] usb 2-1.3: Product: My Book 1110
    [363424.427626] usb 2-1.3: Manufacturer: Western Digital
    [363424.427626] usb 2-1.3: SerialNumber: 574341563534323231343335
    [363424.753910] Initializing USB Mass Storage driver...
    [363424.753910] scsi4 : SCSI emulation for USB Mass Storage devices
    [363424.759729] usb-storage: device found at 3
    [363424.759729] usb-storage: waiting for device to settle before scanning
    [363424.753910] usbcore: registered new interface driver usb-storage
    [363424.753910] USB Mass Storage support registered.
    [363429.758097] usb-storage: device scan complete
    [363429.758948] scsi 4:0:0:0: Direct-Access     WD       My Book 1110     1032 PQ: 0 ANSI: 4
    [363429.759769] scsi 4:0:0:1: CD-ROM            WD       Virtual CD 1110  1032 PQ: 0 ANSI: 4
    [363429.760479] scsi 4:0:0:2: Enclosure         WD       SES Device       1032 PQ: 0 ANSI: 4
    [363429.768396] sd 4:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [363429.770225] sd 4:0:0:0: [sde] Write Protect is off
    [363429.770225] sd 4:0:0:0: [sde] Mode Sense: 23 00 10 00
    [363429.770225] sd 4:0:0:0: [sde] Assuming drive cache: write through
    [363429.771579] sd 4:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [363429.773348] sd 4:0:0:0: [sde] Write Protect is off
    [363429.773348] sd 4:0:0:0: [sde] Mode Sense: 23 00 10 00
    [363429.773348] sd 4:0:0:0: [sde] Assuming drive cache: write through
    [363429.773348]  sde: sde1
    [363437.356094] sd 4:0:0:0: [sde] Attached SCSI disk
    [363437.356094] sd 4:0:0:0: Attached scsi generic sg5 type 0
    [363437.359242] sr1: scsi3-mmc drive: 51x/51x caddy
    [363437.359358] sr 4:0:0:1: Attached scsi CD-ROM sr1
    [363437.359424] sr 4:0:0:1: Attached scsi generic sg6 type 5
    [363437.360055] scsi 4:0:0:2: Attached scsi generic sg7 type 13
    [363437.506226] Driver 'ses' needs updating - please use bus_type methods
    [363437.506226] ses 4:0:0:2: Attached Enclosure device
    [364673.053777] usb 2-1.3: USB disconnect, address 3
    [364687.009530] usb 2-1.3: new high speed USB device using ehci_hcd and address 4
    [364687.103532] usb 2-1.3: configuration #1 chosen from 1 choice
    [364687.105282] scsi5 : SCSI emulation for USB Mass Storage devices
    [364687.105282] usb-storage: device found at 4
    [364687.105282] usb-storage: waiting for device to settle before scanning
    [364687.105282] usb 2-1.3: New USB device found, idVendor=1058, idProduct=1110
    [364687.105282] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [364687.105282] usb 2-1.3: Product: My Book 1110
    [364687.105282] usb 2-1.3: Manufacturer: Western Digital
    [364687.105282] usb 2-1.3: SerialNumber: 574341563534323231343335
    [364692.111434] usb-storage: device scan complete
    [364692.112140] scsi 5:0:0:0: Direct-Access     WD       My Book 1110     1032 PQ: 0 ANSI: 4
    [364692.112854] scsi 5:0:0:1: CD-ROM            WD       Virtual CD 1110  1032 PQ: 0 ANSI: 4
    [364692.113445] scsi 5:0:0:2: Enclosure         WD       SES Device       1032 PQ: 0 ANSI: 4
    [364692.114979] sd 5:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [364692.116791] sd 5:0:0:0: [sde] Write Protect is off
    [364692.116791] sd 5:0:0:0: [sde] Mode Sense: 23 00 10 00
    [364692.116791] sd 5:0:0:0: [sde] Assuming drive cache: write through
    [364692.117778] sd 5:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [364692.123995] sd 5:0:0:0: [sde] Write Protect is off
    [364692.123995] sd 5:0:0:0: [sde] Mode Sense: 23 00 10 00
    [364692.123995] sd 5:0:0:0: [sde] Assuming drive cache: write through
    [364692.123995]  sde: sde1
    [364699.661179] sd 5:0:0:0: [sde] Attached SCSI disk
    [364699.661179] sd 5:0:0:0: Attached scsi generic sg5 type 0
    [364699.671752] sr1: scsi3-mmc drive: 51x/51x caddy
    [364699.671752] sr 5:0:0:1: Attached scsi CD-ROM sr1
    [364699.671752] sr 5:0:0:1: Attached scsi generic sg6 type 5
    [364699.671752] ses 5:0:0:2: Attached Enclosure device
    [364699.671752] ses 5:0:0:2: Attached scsi generic sg7 type 13
    [365299.011804] usb 2-1.3: USB disconnect, address 4
    [365334.346920] usb 2-1.3: new high speed USB device using ehci_hcd and address 5
    [365334.440738] usb 2-1.3: configuration #1 chosen from 1 choice
    [365334.450025] scsi6 : SCSI emulation for USB Mass Storage devices
    [365334.455013] usb-storage: device found at 5
    [365334.455013] usb-storage: waiting for device to settle before scanning
    [365334.450025] usb 2-1.3: New USB device found, idVendor=1058, idProduct=1110
    [365334.450025] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [365334.450025] usb 2-1.3: Product: My Book 1110
    [365334.450025] usb 2-1.3: Manufacturer: Western Digital
    [365334.450025] usb 2-1.3: SerialNumber: 574341563534323231343335
    [365339.465426] usb-storage: device scan complete
    [365339.465426] scsi 6:0:0:0: Direct-Access     WD       My Book 1110     1032 PQ: 0 ANSI: 4
    [365339.466268] scsi 6:0:0:1: CD-ROM            WD       Virtual CD 1110  1032 PQ: 0 ANSI: 4
    [365339.466965] scsi 6:0:0:2: Enclosure         WD       SES Device       1032 PQ: 0 ANSI: 4
    [365339.470318] sd 6:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [365339.472061] sd 6:0:0:0: [sde] Write Protect is off
    [365339.472061] sd 6:0:0:0: [sde] Mode Sense: 23 00 10 00
    [365339.472061] sd 6:0:0:0: [sde] Assuming drive cache: write through
    [365339.473005] sd 6:0:0:0: [sde] 1952151552 512-byte hardware sectors (999502 MB)
    [365339.475089] sd 6:0:0:0: [sde] Write Protect is off
    [365339.475089] sd 6:0:0:0: [sde] Mode Sense: 23 00 10 00
    [365339.475089] sd 6:0:0:0: [sde] Assuming drive cache: write through
    [365339.475089]  sde: sde1
    [365339.500441] sd 6:0:0:0: [sde] Attached SCSI disk
    [365339.500512] sd 6:0:0:0: Attached scsi generic sg5 type 0
    [365339.504973] sr1: scsi3-mmc drive: 51x/51x caddy
    [365339.504973] sr 6:0:0:1: Attached scsi CD-ROM sr1
    [365339.504973] sr 6:0:0:1: Attached scsi generic sg6 type 5
    [365339.504973] ses 6:0:0:2: Attached Enclosure device
    [365339.504973] ses 6:0:0:2: Attached scsi generic sg7 type 13
    Czyli mam go podłączyć np.
    Kod:
    mount -t vfat /dev/scsi4 /media/WD
    ?

  4. #4
    Z dmesg wynika, że Twój dysk to sde. Czyli:
    Kod:
    mount -t vfat /dev/sde1 /media/WD
    Pokaż jeszcze co pokazuje
    Kod:
    fdisk -l
    po podłączeniu dysku.
    Poziomki powstają przez przewracanie pionków

  5. #5
    Kod:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00065c15
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1          30      240943+  fd  Linux raid autodetect
    /dev/sda2            3648        4255     4883760   82  Linux swap / Solaris
    /dev/sda3            4256       60801   454205745   fd  Linux raid autodetect
    /dev/sda4              31        3647    29053552+  fd  Linux raid autodetect
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0007c0fe
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1          30      240943+  fd  Linux raid autodetect
    /dev/sdb2            3648        4255     4883760   82  Linux swap / Solaris
    /dev/sdb3            4256       60801   454205745   fd  Linux raid autodetect
    /dev/sdb4              31        3647    29053552+  fd  Linux raid autodetect
    
    Partition table entries are not in disk order
    
    Disk /dev/sdc: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00090b5f
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1          30      240943+  fd  Linux raid autodetect
    /dev/sdc2            3648        4255     4883760   82  Linux swap / Solaris
    /dev/sdc3            4256       60801   454205745   fd  Linux raid autodetect
    /dev/sdc4              31        3647    29053552+  fd  Linux raid autodetect
    
    Partition table entries are not in disk order
    
    Disk /dev/sdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000a7775
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1               1          30      240943+  fd  Linux raid autodetect
    /dev/sdd2            3648        4255     4883760   82  Linux swap / Solaris
    /dev/sdd3            4256       60801   454205745   fd  Linux raid autodetect
    /dev/sdd4              31        3647    29053552+  fd  Linux raid autodetect
    
    Partition table entries are not in disk order
    
    Disk /dev/md0: 246 MB, 246611968 bytes
    2 heads, 4 sectors/track, 60208 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/md0 doesn't contain a valid partition table
    
    Disk /dev/md2: 1395.3 GB, 1395319701504 bytes
    2 heads, 4 sectors/track, 340654224 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/md2 doesn't contain a valid partition table
    
    Disk /dev/md1: 89.2 GB, 89252167680 bytes
    2 heads, 4 sectors/track, 21790080 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/md1 doesn't contain a valid partition table
    
    Disk /dev/sde: 999.5 GB, 999501594624 bytes
    255 heads, 63 sectors/track, 121515 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0002ae3f
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sde1               1      121516   976074752    7  HPFS/NTFS
    No faktycznie masz rację. Jeszcze tylko inny system plików i hula. Dziękować!

Podobne wątki

  1. Montowanie zewnętrznego dysku e-sata
    By polnasa in forum Hardware
    Odpowiedzi: 8
    Ostatni post/ autor: 22-04-2012, 11:29
  2. Odpowiedzi: 8
    Ostatni post/ autor: 22-08-2011, 19:20
  3. Montowanie dysku zewnętrznego przez port USB
    By Antzuch in forum Hardware
    Odpowiedzi: 1
    Ostatni post/ autor: 06-08-2011, 23:51
  4. [+] montowanie dysku zewnętrznego usb fstab
    By nightmare in forum Software
    Odpowiedzi: 0
    Ostatni post/ autor: 07-11-2010, 12:56
  5. montowanie zewnętrznego dysku sieciowego
    By pysiek in forum Serwer
    Odpowiedzi: 1
    Ostatni post/ autor: 17-07-2010, 23:13

Zakładki

Uprawnienia

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •