Operating System - Linux
1755319 Members
4334 Online
108831 Solutions
New Discussion юеВ

i wish to add more space in this dir /raid/scratch..howtodo..

 
srinivassin
Occasional Contributor

i wish to add more space in this dir /raid/scratch..howtodo..

Hi, i wish to add some more space in /rain/scratch. can you please advice me how to that?...

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb2 26920824 6096824 19456468 24% /
/dev/sdb1 101089 35839 60031 38% /boot
none 15956780 0 15956780 0% /dev/shm
/dev/sda1 843523328 640405980 160268784 80% /raid


drwxr-xr-x 3 root root 4096 Oct 28 09:43 filerBackup
drwxr-xr-x 3 root root 4096 Oct 7 12:33 filerMount
drwx------ 2 root root 16384 Jun 21 2004 lost+found
drwxr-xr-x 8 root root 4096 Dec 23 10:19 scratch
drwxr-xr-x 3 root root 4096 Nov 5 17:30 ultraBackup
drwxr-xr-x 3 root root 4096 Nov 3 11:22 ultraMount
2 REPLIES 2
xyko_1
Esteemed Contributor

Re: i wish to add more space in this dir /raid/scratch..howtodo..

Hi srinivassin,

what distro (linux) are you using ?

If your distro has lvm support, that's the best way.

If your distro doesn't have lvm support

you may try md (multiple devices) and make a stripe device or,

you may repartion your entire disk dedicating more space to /raid/scratch or,

you may make one (the largest one) of your directories a mounting point, create a new partion on a new disk (or repartion an old one transforming it into 2 partitions) and mounting the new partion on that mount point.

Don't forget to make a backup copy of your data before any way you decide to go.

Hope it helps.
Xyko
NiCK_76
Respected Contributor

Re: i wish to add more space in this dir /raid/scratch..howtodo..

hi srinivassin
That is good suggestion for you by xyko.
And I will provide same solution for you.
just for fun