LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB writing problem with external drive (ext3) (http://www.linuxquestions.org/questions/linux-hardware-18/usb-writing-problem-with-external-drive-ext3-759395/)

ghost333 10-03-2009 06:19 AM

USB writing problem with external drive (ext3)
 
hallo
i have SUSE 11 and Linux mint on my laptop.
i aslo own a 1TB external drive which is formated on ext3
i use this HD for quite some time i had no problem with slackware when i backed up my files.
now i want to copy some more files on the external HD.
i have no problem reading the contents inside the external HD.
but when i try to copy on the External HD the system changes it to read-only or even umount it....
here some tests:
Quote:

markos-laptop markos # fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb5a9b5a9

Device Boot Start End Blocks Id System
/dev/sda1 1 13048 104808028+ 83 Linux
/dev/sda2 13049 13680 5076540 82 Linux swap / Solaris
/dev/sda3 * 14022 14593 4594590 c W95 FAT32 (LBA)
/dev/sda4 13681 14021 2739082+ b W95 FAT32

Partition table entries are not in disk order

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x24796452

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 121601 976760001 83 Linux

markos-laptop markos # mount -l

/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro) []
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/markos/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=markos)
/dev/sdb1 on /media/disk type ext3 (rw,nosuid,nodev,uhelper=hal) []

markos-laptop markos # cp -R /home/markos/
Display all 116 possibilities? (y or n)

markos-laptop markos # cp -R /home/markos/downloads/comic\ party/* /media/disk/Comic\ party/
cp: writing `/media/disk/Comic party/[LIME]_Comic_Party_Revolution_01_[DVD].mkv': Read-only file system
cp: cannot create regular file `/media/disk/Comic party/[LIME]_Comic_Party_Revolution_02_[DVD].mkv': Read-only file system


after that the exernal HD goes insane i need to turn it off to remount

just in case:
Quote:

markos-laptop markos # umount /dev/sdb1
markos-laptop markos # fsck.ext3 /dev/sdb1
e2fsck 1.41.4 (27-Jan-2009)
/dev/sdb1: clean, 26101/61054976 files, 117012374/244190000 blocks
gparted: http://i570.photobucket.com/albums/s...Screenshot.png

what the hell....

ghost333 10-03-2009 06:46 AM

some more info...

Code:

[  452.860109] usb-storage: device found at 15
[  452.860117] usb-storage: waiting for device to settle before scanning
[  457.860473] usb-storage: device scan complete
[  457.976124] usb 1-3: reset high speed USB device using ehci_hcd and address 15
[  458.116465] usb 1-3: device firmware changed
[  458.116605] usb 1-3: USB disconnect, address 15
[  458.232134] usb 1-3: new high speed USB device using ehci_hcd and address 16
[  463.365715] usb 1-3: configuration #1 chosen from 1 choice
[  463.366940] scsi12 : SCSI emulation for USB Mass Storage devices
[  463.369135] usb-storage: device found at 16
[  463.369141] usb-storage: waiting for device to settle before scanning
[  468.368521] usb-storage: device scan complete
[  468.484159] usb 1-3: reset high speed USB device using ehci_hcd and address 16
[  468.618031] scsi 12:0:0:0: Direct-Access    SAMSUNG  HD103UJ              PQ: 0 ANSI: 2 CCS
[  468.736172] usb 1-3: reset high speed USB device using ehci_hcd and address 16
[  468.870492] sd 12:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
[  468.871076] sd 12:0:0:0: [sdb] Write Protect is off
[  468.871083] sd 12:0:0:0: [sdb] Mode Sense: 00 38 00 00
[  468.871089] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[  468.871829] sd 12:0:0:0: [sdb] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
[  468.874093] sd 12:0:0:0: [sdb] Write Protect is off
[  468.874100] sd 12:0:0:0: [sdb] Mode Sense: 00 38 00 00
[  468.874106] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[  468.874115]  sdb: sdb1
[  468.878762] sd 12:0:0:0: [sdb] Attached SCSI disk
[  468.878906] sd 12:0:0:0: Attached scsi generic sg2 type 0
[  469.412095] usb 1-3: reset high speed USB device using ehci_hcd and address 16
[  474.544171] usb 1-3: device firmware changed
[  474.544243] usb 1-3: USB disconnect, address 16
[  474.544305] sd 12:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[  474.544316] end_request: I/O error, dev sdb, sector 495
[  474.544351] EXT3-fs: can't read group descriptor 53
[  474.721047] usb 1-3: new high speed USB device using ehci_hcd and address 17
[  474.863516] usb 1-3: configuration #1 chosen from 1 choice
[  474.892103] scsi13 : SCSI emulation for USB Mass Storage devices
[  474.893172] usb-storage: device found at 17
[  474.893175] usb-storage: waiting for device to settle before scanning
[  479.892336] usb-storage: device scan complete
[  486.100123] usb 1-3: reset high speed USB device using ehci_hcd and address 17
[  506.356084] usb 1-3: reset high speed USB device using ehci_hcd and address 17



Code:

Bus 001 Device 002: ID 046d:0892 Logitech, Inc. OrbiCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c518 Logitech, Inc. MX610 Laser Cordless Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


ongte 10-03-2009 07:17 AM

Probably something wrong with either the hard drive or the filesystem. Running
Code:

# fsck.ext3 /dev/sdb1
does not perform the fsck if the filesystem is marked clean. You will need to run
Code:

# fsck.ext3 -f /dev/sdb1

ghost333 10-05-2009 11:38 AM

still nothing happend
all cleared...


All times are GMT -5. The time now is 09:05 PM.