LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2010, 09:01 AM   #1
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Rep: Reputation: 15
Cannot copy my file to USB2 external hard disk


I plan to reformat & reinstall my linux (centos).
Before doing this, I got to backup my files into my USB external hard disk from Seagate (FreeAgent).

The problem I faced is that I could not copy file into the hard disk even I was in root user. It prompted me that it is only read-only. I just wonder why...

I have tested with my thumb drive. It worked.

May I know why I could not copy file to the USB FreeAgent hard disk. Due to file system?

FYI. the file is a tar file xx.tar


Is it because the USB Seagate FreeAgent hard disk got window system? I am not sure...

Last edited by casualzone; 01-25-2010 at 09:14 AM.
 
Old 01-25-2010, 09:36 AM   #2
timmytycoon
LQ Newbie
 
Registered: Jun 2009
Distribution: LFS
Posts: 11

Rep: Reputation: 1
Yes, it is most likely due to the filesystem. I recommend you run fsck with the command:
Quote:
sudo fsck /dev/XXX
This will correct any errors you may have in the filesystem. "fsck" should automatically detect the type of filesystem, by the way. If you can, please post the type of filesystem that is on the USB disk. Sometimes, NTFS formatted drives are mounted read-only. In this case, you should either force it to mount read-write (this may need to be enabled in the kernel), or just reformat the drive to a different filesystem. To reformat the drive as FAT32, use:
Quote:
sudo mkfs.vfat /dev/XXX
To format it as EXT3, use:
Quote:
sudo mkfs.ext3 /dev/XXX
Hope this helps!
 
Old 01-25-2010, 07:23 PM   #3
casualzone
Member
 
Registered: Jan 2010
Posts: 189

Original Poster
Rep: Reputation: 15
[root@circuit media]# mount
/dev/sda6 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda8 on /app type ext3 (rw)
/dev/sda3 on /mnt/win_c type fuseblk (rw,allow_other,blksize=4096)
/dev/sda5 on /mnt/win_f type fuseblk (rw,allow_other,blksize=4096)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /media/FreeAgent Drive type ntfs (rw,noexec,nosuid,nodev,umask=222)

----------------------------------------------

[root@circuit media]# /sbin/fsck /dev/sdb1
fsck 1.39 (29-May-2006)
fsck: fsck.ntfs: not found
/sbin/fsck: Error 2 while executing fsck.ntfs for /dev/sdb1

------------------------------------------------

So what does it mean? no write access in linux?

I have backed up all my window vista document to the freeagent hard disk. It works! But it does not work when copy from linux OS. Why so complicated...

PS: I dont want to format my external harddisk since I also backup my window doc

Last edited by casualzone; 01-25-2010 at 07:33 PM.
 
Old 01-25-2010, 07:33 PM   #4
timmytycoon
LQ Newbie
 
Registered: Jun 2009
Distribution: LFS
Posts: 11

Rep: Reputation: 1
Hmmm... Maybe you could try this website: http://www.linux-ntfs.org
There are some utilities for working with NTFS disks on that site. The RPM download available there is for Red Hat / Fedora, so it may not work with CentOS. You could still try it. Or, you could check your distribution's repository for the program: "ntfsprogs". These utilities should help you mount the disk properly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 12:41 AM
copy hard disk from xp to vdi file for virtualbox[zenwalk] deathalele Linux - Software 3 06-23-2009 06:26 PM
syslog flood using external hard drive through USB2 kaz2100 Linux - General 1 11-05-2006 12:57 PM
How can I copy files from my linux machine to an external hard disk? hello321_1999 Linux - Newbie 3 05-08-2006 02:00 PM
booting a Linux distro from an external USB2 disk roger64 Linux - General 3 01-02-2005 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration