Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Newbie ? About Partition Size Discrepancies?, taken + left over =/= drive size!
skralljt
post Mar 22 2004, 02:34 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 22-March 04
Member No.: 2,628



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!
Go to the top of the page
 
+Quote Post
Jim
post Mar 22 2004, 01:30 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



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.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
hughesjr
post Mar 22 2004, 09:37 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The command:

df -h

should give you good information about mounted drives ...

also the command:

mount

will tell us what drives are mounted where...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 05:28 PM