• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Merkwürdiges Problem mit USB Festplatte

Hallo zusammen!

Ich habe eine 160G USB Festplatte (eine einzige NTFS Partition). Ich konnte sogar SuSE 9.1 von ihr installieren, was ich drauf liegen habe. Boot-CD rein und die externe Festplatte wurde sofort erkannt.
Auch Nachinstallieren von Software funzt einwandfrei.

Aber ich kann "so" auf die Festplatte nicht zugreifen.
Sie wird normal erkannt und erscheint unter file:/media/
als usb-storage-DEF908A72A5E:0:0:0p1

Jemand eine Idee?
Hier noch fdisk -l

linux:~ # fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 20321 10241406 7 HPFS/NTFS
/dev/hda2 20321 148315 64509007+ f W95 Ext'd (LBA)
/dev/hda3 148316 149355 524160 82 Linux swap
/dev/hda4 149356 158816 4768344 83 Linux
/dev/hda5 20321 148315 64508976 7 HPFS/NTFS

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 19929 160079661 7 HPFS/NTFS
 
OP
S

sportbilly

Newbie
In /var/log/messages kommen diese Meldungen, nachdem die Festplatte angeschlossen wird:

Sep 24 11:00:58 linux kernel: usb 6-1: new high speed USB device using address 3
Sep 24 11:00:58 linux kernel: usb 6-1: Product: USB2.0 Storage Device
Sep 24 11:00:58 linux kernel: usb 6-1: Manufacturer: Cypress Semiconductor
Sep 24 11:00:58 linux kernel: usb 6-1: SerialNumber: DEF908A72A5E
Sep 24 11:00:58 linux kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 24 11:00:58 linux /etc/hotplug/usb.agent[6611]: need a device for this command
Sep 24 11:01:10 linux kernel: Vendor: Maxtor 6 Model: Y160P0 Rev: 0 0
Sep 24 11:01:10 linux kernel: Type: Direct-Access ANSI SCSI revision: 02
Sep 24 11:01:10 linux kernel: SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
Sep 24 11:01:10 linux kernel: sda: assuming drive cache: write through
Sep 24 11:01:10 linux kernel: sda: sda1
Sep 24 11:01:10 linux kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Sep 24 11:01:10 linux kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
Sep 24 11:01:10 linux kernel: USB Mass Storage device found at 3
Sep 24 11:01:11 linux /etc/hotplug/block.agent[6709]: new block device /block/sda
Sep 24 11:01:11 linux /etc/hotplug/block.agent[6732]: waiting for /var/lock/block.agent.lock, process 6709 holds it
Sep 24 11:01:15 linux /etc/hotplug/block.agent[6732]: new block device /block/sda/sda1
Sep 24 11:01:16 linux /etc/hotplug/block.agent[6732]: mount by-path/usb-storage-DEF908A72A5E:0:0:0p1
Sep 24 11:01:23 linux submountd: mount failure, Invalid argument
Sep 24 11:01:23 linux kernel: NTFS-fs warning (device sda1): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in th
e future.
Sep 24 11:01:23 linux kernel: NTFS-fs error (device sda1): parse_options(): Unrecognized mount option .
Sep 24 11:01:23 linux kernel: subfs: unsuccessful attempt to mount media (256)
Sep 24 11:01:23 linux submountd: mount failure, Invalid argument
Sep 24 11:01:23 linux kernel: NTFS-fs warning (device sda1): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in th
e future.
Sep 24 11:01:23 linux kernel: NTFS-fs error (device sda1): parse_options(): Unrecognized mount option .
Sep 24 11:01:23 linux kernel: subfs: unsuccessful attempt to mount media (256)
Sep 24 11:01:23 linux submountd: mount failure, Invalid argument
Sep 24 11:01:23 linux kernel: NTFS-fs warning (device sda1): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in th
e future.
Sep 24 11:01:23 linux kernel: NTFS-fs error (device sda1): parse_options(): Unrecognized mount option .
Sep 24 11:01:23 linux kernel: subfs: unsuccessful attempt to mount media (256)
 
A

Anonymous

Gast
Poste doch auch mal die fstab.

Vielleicht solltest du alle verfügbaren Patches über YOU einspielen.

Allerdings ist mein bester Tip in jedem Fall der Verzicht auf submount!
 
OP
S

sportbilly

Newbie
hier die fstab


/dev/hda4 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
 
A

Anonymous

Gast
Komisch, ich dachte Hotplug erzeugt einen Eintrag in der fstab, aber da steht ja gar nichts drin.

Dann mach das Ganze doch wirklich mal von Hand, wie in

http://portal.suse.com/sdb/de/2004/05/hmeyer_91_revert_from_subfs.html

Der fstab Eintrag müsste dann etwa so aussehen:

/dev/sda1 /media/sda1 auto(oder ntfs) noauto,users,rw,umask=0002,exec 0 0
 

oc2pus

Ultimate Guru
wenn die usb Platte NICHT gemountet ist ..

ls -al /media/sda1
ggfl musst du diesen Mountpoint mit chmod 777 für alle lesen/schreiben setzen

und dann wer mountet die usb-Platte ? ein user oder root?
 
OP
S

sportbilly

Newbie
Das Problem habe ich mit mount -a gelöst.
Mit mount alleine wurde fstab nicht ausgelesen. Erst mit mount -a ging alles richtig.

Gibt es eine Möglichkeit dies zu automatisieren und gib es eine Möglichkeit, NTFS-Platten auch beschreiben zu können?

Danke nochmal für bisherige Hilfe!
 

oc2pus

Ultimate Guru
sportbilly schrieb:
Das Problem habe ich mit mount -a gelöst.
Mit mount alleine wurde fstab nicht ausgelesen. Erst mit mount -a ging alles richtig.

Gibt es eine Möglichkeit dies zu automatisieren und gib es eine Möglichkeit, NTFS-Platten auch beschreiben zu können?

mount -a hat funktioniert?
wie sieht denn nun dein fstab Eintrag aus?

das mit dem NTFS ist ein anderes Thema ... es geht, aber nur mit speziellen Treibern (captive ...)
 
Oben