LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-30-2009, 10:31 PM   #1
baldurpet
Member
 
Registered: Dec 2008
Location: Iceland
Distribution: Ubuntu, freeBSD
Posts: 110

Rep: Reputation: 15
Can't write to HDD, really annoying


I just got a formatted 1TB hard disk, so I used gparted to make it into a ext4 partition. I have 2 questions:
  1. A file called lost+found was created there: This has happened to me many times, I don't know if this is some big deal but I can't delete this file unless I'm root.
  2. I can't write to the disk: This is the real reason why I posting here, and this as well is not the first time I've run into this little annoyance. No sooner had I partitioned the 1TB hard drive than I couldn't create new files on it or move files to it (without being root) so I guess that means the HDD is read-only? Why would that happen?! This is really annoying.
 
Old 09-30-2009, 10:48 PM   #2
TuPari
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by baldurpet View Post
I just got a formatted 1TB hard disk, so I used gparted to make it into a ext4 partition. I have 2 questions:
  1. A file called lost+found was created there: This has happened to me many times, I don't know if this is some big deal but I can't delete this file unless I'm root.
  1. Don't delete it. It is there for a reason.
    Quote:
    Originally Posted by baldurpet View Post
  2. I can't write to the disk: This is the real reason why I posting here, and this as well is not the first time I've run into this little annoyance. No sooner had I partitioned the 1TB hard drive than I couldn't create new files on it or move files to it (without being root) so I guess that means the HDD is read-only? Why would that happen?! This is really annoying.
What are the ownership and permissions of the root directory of that partition?
 
Old 09-30-2009, 11:11 PM   #3
baldurpet
Member
 
Registered: Dec 2008
Location: Iceland
Distribution: Ubuntu, freeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TuPari View Post
Don't delete it. It is there for a reason.
What reason does it serve? Should I never delete it? It really looks ugly having it there.
Quote:
Originally Posted by TuPari View Post
What are the ownership and permissions of the root directory of that partition?
...ooh. Damn do I feel silly- I tried remounting the thing again and again using the -o rw. I feel silly thank you very much
 
Old 10-01-2009, 01:57 AM   #4
TuPari
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by baldurpet View Post
What reason does it serve? Should I never delete it? It really looks ugly having it there.
That's where fsck puts file fragments it finds.
 
Old 10-01-2009, 02:50 AM   #5
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by baldurpet View Post
What reason does it serve? Should I never delete it? It really looks ugly having it there.
...ooh. Damn do I feel silly- I tried remounting the thing again and again using the -o rw. I feel silly thank you very much
Quote:
It really looks ugly having it there.
Not as ugly as not having it there. It is how the filesystem recovers lost files and fragments in the event of a partial drive failure. It's like a fire extinguisher -- which is an annoying waste of space until your house is on fire.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No read/write perms for HDD duryodhan Slackware 3 10-19-2006 05:15 PM
help with fstab can't write to second hdd albertBeach Linux - Newbie 7 07-20-2006 09:34 AM
annoying sound in 100GB TOSHIBA MK1031GAS HDD towsonu2003 Linux - Hardware 7 05-15-2006 12:26 AM
HDD write protection pingvina Linux - Software 17 02-11-2006 07:59 PM
cannot write on external HDD trutnev Red Hat 2 03-20-2004 04:02 PM


All times are GMT -5. The time now is 03:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration