FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-11-2008, 10:39 PM
steve
 
Default expand /var, decrease /home space

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

attempted to do this before, but never found a way, google is no use.

is there no fairly straightforward way to expand /var and decrease
/home? for some reason when I installed etch quite a while ago in my
fairly successful attempt at running a webserver it made /var only 2.8
gig and made /home 280 something gig.

now I want /var to be say 200 gig, and /home alot smaller..... for
obvious reasons. OR, if theres an easier way to accomplish, maybe mount
/home inside /var? I dont know, reaching for answers lol.

Thanks for any tips or links you can provide.






- --
Steve Reilly

http://reillyblog.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJQaSZ8ltKtLpsP3URAm9IAJ9QDy2dUhwITkZzZHi448 DhKPjJGgCcDfdK
n/EypDSPVjWpDOhcXbwUIxc=
=S2+O
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-11-2008, 10:48 PM
Michael Iatrou
 
Default expand /var, decrease /home space

When the date was Friday 12 December 2008, steve wrote:

> is there no fairly straightforward way to expand /var and decrease
> /home? for some reason when I installed etch quite a while ago in my
> fairly successful attempt at running a webserver it made /var only 2.8
> gig and made /home 280 something gig.
>
> now I want /var to be say 200 gig, and /home alot smaller..... for
> obvious reasons. OR, if theres an easier way to accomplish, maybe mount
> /home inside /var? I dont know, reaching for answers lol.
>
> Thanks for any tips or links you can provide.

You could create a symbolic link from /var/web/server/files to /home/htdocs/

Resizing your partitions is error prone and depends on file system, it's a
process you really want to avoid.

--
Michael Iatrou (gxkx)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-11-2008, 11:18 PM
steve
 
Default expand /var, decrease /home space

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Iatrou wrote:
> When the date was Friday 12 December 2008, steve wrote:
>
>> is there no fairly straightforward way to expand /var and decrease
>> /home? for some reason when I installed etch quite a while ago in my
>> fairly successful attempt at running a webserver it made /var only 2.8
>> gig and made /home 280 something gig.
>>
>> now I want /var to be say 200 gig, and /home alot smaller..... for
>> obvious reasons. OR, if theres an easier way to accomplish, maybe mount
>> /home inside /var? I dont know, reaching for answers lol.
>>
>> Thanks for any tips or links you can provide.
>
> You could create a symbolic link from /var/web/server/files to /home/htdocs/
>
> Resizing your partitions is error prone and depends on file system, it's a
> process you really want to avoid.
>

ok, well I wanted to avoid that if all possible anyway, tried this ln -s
/var/www/download /home/steve/public_html but when I try to copy a file
into /var/www/download I get no space left on device. thats creating a
symbolic link from download directory (which has no space left) to a
directory that has 280 gig free in it. did I do something incorrectly?





- --
Steve Reilly

http://reillyblog.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJQa3z8ltKtLpsP3URAp6WAJ0cgbDI1ArUDf9ehFBNMn QK24zHIwCgmonI
gByn+tTSBaTTtuvzjr36x+E=
=IiHO
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org