Help - Search - Members - Calendar
Full Version: Newbie ? About Partition Size Discrepancies?
Linuxhelp > Support > Technical Support
skralljt
Hello, I could find nothing about this with google's help, maybe you computer whizzes can help me? After recently putting in a 120-gig drive to back up all of my pron and whatever other junk i've stockpiled since high school, I popped it into my newly linuxxed spare computer. It asked me if I wanted to make the new hard drive mount as /usr, I stupidly said yes. So now even when logged in as root, I cannot get write priveleges for folders in the /usr directory, so I can't back up my windows files there, and I can't unmount the partition so I can resize it! Or can I? I would really like to move this stupid partition onto the drive it was originally on, and mount the new 120 gig drive as /junk, or something that I can have write priveleges to, as well as make it so I can pull the drive out and not break my linux installation! What do I do?

Also, interestingly when I right-click on folders in the /usr partition to see how much size is left on the drive, linux reports that there is 4 gigabytes left. When I look at the properties of all files and folders in the /usr directory, it only takes up one gigabyte! This means that there are 115 gigabytes unaccounted for somewhere! Also, diskdrake reports that the partition is 99% of the drive, with no other partitions on the drive...curiouser and curiouser. I think that my original idea, to implement an rsync server through samba, is going to be many years down the road at this rate!
Jim
What format is the 120GB drive? If its NTFS you aren't going to be able to write anything on it (that includes deleting stuff from it). Newer linux kernels can read NTFS drives but they are unable to write in any stable manner yet.

As for your other problems, the way that linux works with a single base file structure you wont be able to just click on the folder and see how much space is left on a mounted disk. That folder links you to the data on that disk, but it doesn't actually link you to that disk's properties. So donít worry about the 150 some gigs of phantom files.

If you are going to want to read and write to the disk and use it as a removable file storage disk you are going to first format it as FAT32 so both linux and windows can read it, than second remove the auto-mount information from the fastab file so that is doesnít try and mount it every time you boot up it doesnít look for the drive.

Before we go on and answer how to do this, confirm my assumptions that this is an ntfs drive because if its not, that there might be something else wrong to figure out.
hughesjr
The command:

df -h

should give you good information about mounted drives ...

also the command:

mount

will tell us what drives are mounted where...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.