Find the answer to your Linux question:
Results 1 to 3 of 3
i'm trying to copy, cp -upR, a tree of folders with million+ files from /dev/sda1 to /dev/hdb1 hdb is a new disk, seagate es.2 , bought it yesterday after a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    cp -> read only fs


    i'm trying to copy, cp -upR, a tree of folders with million+ files from /dev/sda1 to /dev/hdb1
    hdb is a new disk, seagate es.2 , bought it yesterday

    after a while:
    end_request: I/O error, dev hdb, sector 362948927
    end_request: I/O error, dev hdb, sector 362949423
    ...
    & long series of
    cp: writing `./a/b/c': Read-only file system

    i unmount disk, try to mount it back
    mount: you must specify the filesystem type

    fsck /dev/hdb1
    fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/hdb1
    Could this be a zero-length partition?

    hdb magically starts working after i reboot pc and boot linux from it, then i boot back to hda. so far i did that 5 times

    smartctl -l selftest /dev/hdb
    Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
    # 1 Extended offline Completed without error 00% 8 -


    any ideas what could be wrong, should i try to return this disk ?



    hdparm -tT
    /dev/sda1:
    Timing cached reads: 16184 MB in 2.00 seconds = 8099.27 MB/sec
    Timing buffered disk reads: 218 MB in 3.01 seconds = 72.41 MB/sec

    /dev/hdb1:
    Timing cached reads: 15948 MB in 2.00 seconds = 7981.33 MB/sec
    Timing buffered disk reads: 12 MB in 3.20 seconds = 3.76 MB/sec

    i'm also curious why does one disk have name sd*, while other hd*,
    they are both SATA drives, hdb "buffered disk reads" just 3.7 MB/s ?

  2. #2
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30
    what filesystem is your Seagate drive using. New hard disks usually come with a FAT filesyste so if your trying to copy from a linux ext3 filesystem to a FAT filesystem, those are the sort of errors that might crop up. Try formatting your new drive to the same fs as the old one

  3. #3
    Just Joined! beaker15's Avatar
    Join Date
    Sep 2007
    Posts
    30
    what filesystem is your Seagate drive using? New hard disks usually come with a FAT filesystem and if your trying to copy from a linux ext3 filesystem to a FAT filesystem, those are the sort of errors that might come up. Try formatting your new drive to the same fs as the old one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •