LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Partitions on a Ubuntu based file Server (https://www.linuxquestions.org/questions/linux-server-73/partitions-on-a-ubuntu-based-file-server-824640/)

brantkings 08-06-2010 02:19 PM

Partitions on a Ubuntu based file Server
 
Hello!

First of all, sorry for my poor English.

Here is the problem: here in the company we got a Ubuntu (8.04) file server that we use for important storages. The thing is, some partitions are being used to full while others are even not being accessed! What I need to do is redistribute the partitions, deleting others, changing spaces and create new user login/passwords. Is there a possible way without having to backup and reinstalling Ubuntu?

Thanks in advance.

PS: I don't know if the partition is the right word, in here we call partitions a part of the hard drive like the C: in Windows.

salasi 08-06-2010 02:42 PM

This is not a complete answer, but

Quote:

Originally Posted by brantkings (Post 4058193)
PS: I don't know if the partition is the right word, in here we call partitions a part of the hard drive like the C: in Windows.

Yes, partitions is the right word, unless you mean 'real, genuine, separate disks' Provided that you mean 'virtual disks, inside one hard disk casing' I'm sure that we are talking about the same thing.

Quote:

Originally Posted by brantkings (Post 4058193)
Here is the problem: here in the company we got a Ubuntu (8.04) file server

8.04 is a bit old now; there is a more recent LTS; at the same time, shouldn't you be thinking of going to a more recent version?

Quote:

Originally Posted by brantkings (Post 4058193)
that we use for important storages.

Nothing like RAID or LVM involved? Some people would like RAID for any important storage, and if RAID or LVM is involved, the detail of the answer might change.

Quote:

Originally Posted by brantkings (Post 4058193)
The thing is, some partitions are being used to full while others are even not being accessed!

The thing is that you can tell how much is being used in your application, and we can't. Well, unless you tell us.

If you post the output from the command df we'll have a better idea of where we are starting from.

brantkings 08-09-2010 01:54 PM

Well, first yeah, I know of the latest version 10.04, but the 8.04 is the only one that made the programs darkice and icecast work together properly. Maybe in the next version we implement it, we will see.

Well, exactly what I want to do is redivide the hard drive into parts that some people have access, while other people don't. And make the space in these parts not uniformly divided, some parts have bigger access to the HD than others. It is already like that, but the division is all wrong.

The another thing is that is a file server, we need to remotely be able to access it via an URL (which we have and works) to share data.

Here goes the output of the df command on the Ubuntu that is running on the file server. The thing is, it got nothing to do with the directories that are being used right now. I started working on this recently and I don't know how they made it before. Maybe they didn't used partitions for this and made it uniformly distributed.
Code:

File Syst.          1K-blocks      Used Dispon.  Use% Mounted in
/dev/sda1            187785776  45039500 133282388  26% /
varrun                1033776      652  1033124  1% /var/run
varlock                1033776        0  1033776  0% /var/lock
udev                  1033776        64  1033712  1% /dev
devshm                1033776        12  1033764  1% /dev/shm
lrm                    1033776    40000    993776  4% /lib/modules/2.6.24-27-generic/volatile


Thanks for your attention! Sorry for my bad English.

salasi 08-09-2010 02:35 PM

Quote:

Originally Posted by salasi (Post 4058209)
Yes, partitions is the right word, unless you mean 'real, genuine, separate disks' Provided that you mean 'virtual disks, inside one hard disk casing' I'm sure that we are talking about the same thing.

...but maybe I was wrong...
Code:

File Syst.          1K-blocks      Used Dispon.  Use% Mounted in
/dev/sda1            187785776  45039500 133282388  26% /
varrun                1033776      652  1033124  1% /var/run
varlock                1033776        0  1033776  0% /var/lock
udev                  1033776        64  1033712  1% /dev
devshm                1033776        12  1033764  1% /dev/shm
lrm                    1033776    40000    993776  4% /lib/modules/2.6.24-27-generic/volatile

The only hard disk partition there is / and you are only using 26% of it.

Are you maybe sharing files via something like nfs or samba and that is setting your usage limitations?

brantkings 08-09-2010 03:49 PM

Ah, I think it is samba, because the url for the file server begins with smb:/. That's my only evidence. Well, if it is samba, do you know how to redistribute it?

Thanks again!


All times are GMT -5. The time now is 12:17 AM.